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.00101/0.00101, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001065/0.001065, allocations: 169 kB / 24.05 MB, free: 456 kB / 18.57 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 0.988/0.988, allocations: 177.1 MB / 204.5 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 179] 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.001526/0.001526, allocations: 242.4 kB / 261.3 MB, free: 12.5 MB / 250.7 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 0.7111/0.7111, allocations: 138.4 MB / 456.3 MB, free: 1.438 MB / 362.7 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: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5564 GB, free: 264 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.819e-06/1.123e-05, allocations: 2.312 kB / 0.5564 GB, free: 260 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.001628/0.00164, allocations: 1.521 MB / 0.5579 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006986/0.002338, allocations: 0.6007 MB / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.002388, allocations: 0 / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.002412, allocations: 3.938 kB / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.002454, allocations: 3.938 kB / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.002682, allocations: 67.73 kB / 0.5585 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.002767, allocations: 31.86 kB / 0.5585 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.88e-05/0.002836, allocations: 3.984 kB / 0.5585 GB, free: 14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.00293, allocations: 27.86 kB / 0.5586 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.002967, allocations: 8 kB / 0.5586 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.002981, allocations: 11.98 kB / 0.5586 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.659e-05/0.003067, allocations: 51.89 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.003079, allocations: 7.984 kB / 0.5586 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.003093, allocations: 7.938 kB / 0.5587 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.003201, allocations: 67.84 kB / 0.5587 GB, free: 13.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003203, allocations: 0 / 0.5587 GB, free: 13.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003203, allocations: 0 / 0.5587 GB, free: 13.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.003207, allocations: 0 / 0.5587 GB, free: 13.82 MB / 490.7 MB 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.0002892/0.003496, allocations: 380.4 kB / 0.5591 GB, free: 13.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.003527, allocations: 12.69 kB / 0.5591 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.243e-05/0.003619, allocations: 12.94 kB / 0.5591 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.003736, allocations: 136.4 kB / 0.5592 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-06/0.003743, allocations: 384 / 0.5592 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-06/0.003748, allocations: 384 / 0.5592 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.505e-05/0.003823, allocations: 54.94 kB / 0.5593 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.00383, allocations: 192 / 0.5593 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.003835, allocations: 384 / 0.5593 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.00384, allocations: 3.938 kB / 0.5593 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.003859, allocations: 7.984 kB / 0.5593 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.004042, allocations: 232.4 kB / 0.5595 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.106e-05/0.004083, allocations: 39.08 kB / 0.5596 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.248e-05/0.004096, allocations: 7.688 kB / 0.5596 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.00435, allocations: 79.97 kB / 0.5596 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.004369, allocations: 37.39 kB / 0.5597 GB, free: 12.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.00437, allocations: 0 / 0.5597 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001129/0.004483, allocations: 53.52 kB / 0.5597 GB, free: 12.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.004511, allocations: 55.41 kB / 0.5598 GB, free: 12.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.004576, allocations: 165.9 kB / 0.5599 GB, free: 12.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.004585, allocations: 25.7 kB / 0.56 GB, free: 12.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.004625, allocations: 134.9 kB / 0.5601 GB, free: 12.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.004639, allocations: 7.953 kB / 0.5601 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.004667, allocations: 19.36 kB / 0.5601 GB, free: 12.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.004777, allocations: 496.1 kB / 0.5606 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.004787, allocations: 3.984 kB / 0.5606 GB, free: 11.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.004794, allocations: 4 kB / 0.5606 GB, free: 11.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/0.00482, allocations: 19.88 kB / 0.5606 GB, free: 11.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004822, allocations: 0 / 0.5606 GB, free: 11.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.658e-05/0.004868, allocations: 37.64 kB / 0.5607 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.004879, allocations: 6.969 kB / 0.5607 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.004885, allocations: 11.92 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.004892, allocations: 0 / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.00493, allocations: 4 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.004932, allocations: 0 / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.004944, allocations: 0 / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.004947, allocations: 0 / 0.5607 GB, free: 11.62 MB / 490.7 MB 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 5.359e-05/0.005001, allocations: 164.5 kB / 0.5608 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.005017, allocations: 7.953 kB / 0.5608 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.74e-05/0.005084, allocations: 53.17 kB / 0.5609 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005086, allocations: 4 kB / 0.5609 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.005088, allocations: 0 / 0.5609 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.00509, allocations: 0 / 0.5609 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.372e-05/0.005174, allocations: 101.2 kB / 0.561 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.005175, allocations: 0 / 0.561 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.005191, allocations: 7.984 kB / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005193, allocations: 0 / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.005196, allocations: 4.031 kB / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005197, allocations: 4 kB / 0.561 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.005199, allocations: 3.938 kB / 0.561 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.653e-05/0.005275, allocations: 183.9 kB / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-06/0.005282, allocations: 7.938 kB / 0.5612 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-06/0.005289, allocations: 0 / 0.5612 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.621e-05/0.005315, allocations: 0 / 0.5612 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.005337, allocations: 15.88 kB / 0.5612 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.00534, allocations: 3.984 kB / 0.5612 GB, free: 11.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.056e-05/0.005371, allocations: 123.2 kB / 0.5613 GB, free: 10.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005371, allocations: 4.031 kB / 0.5613 GB, free: 10.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.005523, allocations: 15.98 kB / 0.5614 GB, free: 10.87 MB / 490.7 MB 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.0001064/0.005629, allocations: 111.2 kB / 0.5615 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.808e-05/0.005687, allocations: 19.67 kB / 0.5615 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.005688, allocations: 0 / 0.5615 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.005703, allocations: 11.69 kB / 0.5615 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.005838, allocations: 4 kB / 0.5615 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.006141, allocations: 149.3 kB / 0.5616 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.912e-05/0.00617, allocations: 59.36 kB / 0.5617 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.498e-05/0.006185, allocations: 3.984 kB / 0.5617 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.006217, allocations: 74.14 kB / 0.5618 GB, free: 10.38 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006218, allocations: 0 / 0.5618 GB, free: 10.38 MB / 490.7 MB Notification: Performance of Templates: time 0.001984/0.008202, allocations: 0.7943 MB / 0.5625 GB, free: 9.59 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5214962232857943]