Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 210.2 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002496/0.002496, allocations: 277.5 kB / 313.5 MB, free: 2.625 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.215/1.215, allocations: 180.6 MB / 0.5377 GB, free: 14.44 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003438/0.003438, allocations: 96.58 kB / 0.7403 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1968, allocations: 95.38 MB / 0.8334 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.003243/0.2001, allocations: 1.491 MB / 0.8349 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2013, allocations: 0.5752 MB / 0.8354 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.2013, allocations: 3.938 kB / 0.8354 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.2014, allocations: 3.938 kB / 0.8354 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.2014, allocations: 3.938 kB / 0.8354 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.2018, allocations: 59.81 kB / 0.8355 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2019, allocations: 31.86 kB / 0.8355 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.202, allocations: 4 kB / 0.8355 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.2021, allocations: 27.91 kB / 0.8356 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.2022, allocations: 15.92 kB / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.2022, allocations: 0 / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.2023, allocations: 63.95 kB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.2023, allocations: 3.938 kB / 0.8356 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.2024, allocations: 15.92 kB / 0.8356 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.2025, allocations: 68.02 kB / 0.8357 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2026, allocations: 0 / 0.8357 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2026, allocations: 0 / 0.8357 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.2026, allocations: 0 / 0.8357 GB, free: 5.953 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004578/0.203, allocations: 286 kB / 0.836 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2031, allocations: 9.344 kB / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.327e-05/0.2031, allocations: 4.188 kB / 0.836 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.2031, allocations: 34.75 kB / 0.836 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.2033, allocations: 16.88 kB / 0.836 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.2035, allocations: 118.4 kB / 0.8362 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2035, allocations: 384 / 0.8362 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.2035, allocations: 4.375 kB / 0.8362 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.2037, allocations: 45.62 kB / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2037, allocations: 4 kB / 0.8362 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2037, allocations: 0 / 0.8362 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2037, allocations: 0 / 0.8362 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.771e-05/0.2038, allocations: 23.92 kB / 0.8362 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.2042, allocations: 228 kB / 0.8365 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.2043, allocations: 30.56 kB / 0.8365 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.2043, allocations: 12.91 kB / 0.8365 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/0.205, allocations: 99.81 kB / 0.8366 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.205, allocations: 30.56 kB / 0.8366 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.205, allocations: 0 / 0.8366 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002609/0.2053, allocations: 69.61 kB / 0.8367 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.2053, allocations: 51.41 kB / 0.8367 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2054, allocations: 113.8 kB / 0.8368 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2054, allocations: 29.83 kB / 0.8369 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.2055, allocations: 84.14 kB / 0.837 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2055, allocations: 11.94 kB / 0.837 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.2055, allocations: 13.72 kB / 0.837 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2057, allocations: 318.8 kB / 0.8373 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/0.2058, allocations: 11.98 kB / 0.8373 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.2058, allocations: 8 kB / 0.8373 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.2059, allocations: 28.78 kB / 0.8373 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2059, allocations: 4.062 kB / 0.8373 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.206, allocations: 53.64 kB / 0.8374 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.206, allocations: 7.984 kB / 0.8374 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.206, allocations: 4 kB / 0.8374 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.206, allocations: 0 / 0.8374 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.2061, allocations: 12 kB / 0.8374 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2061, allocations: 0 / 0.8374 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.2061, allocations: 0 / 0.8374 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.2061, allocations: 4 kB / 0.8374 GB, free: 4.023 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.2062, allocations: 118.5 kB / 0.8375 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.2063, allocations: 4 kB / 0.8375 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.2064, allocations: 65.23 kB / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2064, allocations: 0 / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2065, allocations: 0 / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2065, allocations: 0 / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.2066, allocations: 136.6 kB / 0.8377 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2066, allocations: 0 / 0.8377 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.2067, allocations: 4 kB / 0.8377 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2067, allocations: 0 / 0.8377 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2067, allocations: 4.031 kB / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.2067, allocations: 7.984 kB / 0.8377 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2067, allocations: 3.938 kB / 0.8377 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.2069, allocations: 151.4 kB / 0.8379 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.2069, allocations: 4 kB / 0.8379 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2069, allocations: 384 / 0.8379 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.207, allocations: 3.984 kB / 0.8379 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.207, allocations: 4 kB / 0.8379 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.207, allocations: 0 / 0.8379 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.2071, allocations: 99.23 kB / 0.838 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2071, allocations: 0 / 0.838 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000245/0.2073, allocations: 19.89 kB / 0.838 GB, free: 3.332 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005843/0.2079, allocations: 0.7006 MB / 0.8387 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.208, allocations: 23.98 kB / 0.8387 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.208, allocations: 0 / 0.8387 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.913e-05/0.2081, allocations: 16.08 kB / 0.8387 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2083, allocations: 4.594 kB / 0.8387 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2096, allocations: 1.258 MB / 0.84 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.197e-05/0.2097, allocations: 67.28 kB / 0.84 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.2097, allocations: 160 / 0.84 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.2098, allocations: 19.52 kB / 0.84 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2098, allocations: 4 kB / 0.84 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.2318, allocations: 1.822 MB / 0.8418 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.42, allocations: 11.55 kB / 0.8418 GB, free: 15.43 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.56455182400532] Failed to read output from testmodel.py, exit status != 0: 11.578424024046399 11.605830504 11.398397169 Calling exit ...