Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 110.1 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 188.4 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002542/0.002542, allocations: 287.8 kB / 307 MB, free: 8.391 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.217/1.217, allocations: 180.8 MB / 0.5304 GB, free: 14.65 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 102.5 kB / 0.7311 GB, free: 38.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1685, allocations: 94.2 MB / 0.8231 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002638/0.1711, allocations: 1.483 MB / 0.8245 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003963/0.1715, allocations: 152.2 kB / 0.8247 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.1716, allocations: 0 / 0.8247 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.784e-05/0.1716, allocations: 0 / 0.8247 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.1717, allocations: 11.94 kB / 0.8247 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1719, allocations: 31.91 kB / 0.8247 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.172, allocations: 39.91 kB / 0.8248 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1721, allocations: 15.97 kB / 0.8248 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.1722, allocations: 15.94 kB / 0.8248 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.1723, allocations: 23.92 kB / 0.8248 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1723, allocations: 3.938 kB / 0.8248 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1724, allocations: 39.91 kB / 0.8249 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.1724, allocations: 4 kB / 0.8249 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.1724, allocations: 23.86 kB / 0.8249 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1726, allocations: 59.8 kB / 0.8249 GB, free: 124 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1726, allocations: 8 kB / 0.825 GB, free: 116 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1726, allocations: 0 / 0.825 GB, free: 116 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.1726, allocations: 0 / 0.825 GB, free: 116 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005293/0.1731, allocations: 292 kB / 0.8252 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1732, allocations: 8.031 kB / 0.8252 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.1743, allocations: 212.6 kB / 0.8254 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1744, allocations: 118.5 kB / 0.8256 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1744, allocations: 4.312 kB / 0.8256 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1744, allocations: 12.36 kB / 0.8256 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.175, allocations: 190 kB / 0.8258 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.175, allocations: 4.188 kB / 0.8258 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.1751, allocations: 7.938 kB / 0.8258 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1751, allocations: 0 / 0.8258 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/0.176, allocations: 275.6 kB / 0.826 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.177, allocations: 412.1 kB / 0.8264 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.1782, allocations: 290.1 kB / 0.8267 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.1785, allocations: 100.8 kB / 0.8268 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1786, allocations: 0 / 0.8268 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.1786, allocations: 38.55 kB / 0.8268 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1786, allocations: 0 / 0.8268 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001242/0.1798, allocations: 313.3 kB / 0.8271 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1799, allocations: 55.34 kB / 0.8272 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.18, allocations: 121.8 kB / 0.8273 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.18, allocations: 25.7 kB / 0.8273 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.1801, allocations: 88.12 kB / 0.8274 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1801, allocations: 7.953 kB / 0.8274 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.1802, allocations: 17.72 kB / 0.8274 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1803, allocations: 322.8 kB / 0.8277 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.1807, allocations: 95.88 kB / 0.8278 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.1811, allocations: 91.88 kB / 0.8279 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/0.1818, allocations: 172.6 kB / 0.8281 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1818, allocations: 0 / 0.8281 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007829/0.1826, allocations: 221.3 kB / 0.8283 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1826, allocations: 8 kB / 0.8283 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1826, allocations: 0 / 0.8283 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1826, allocations: 3.984 kB / 0.8283 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.1829, allocations: 31.95 kB / 0.8283 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1829, allocations: 0 / 0.8283 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1831, allocations: 31.83 kB / 0.8284 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1831, allocations: 11.98 kB / 0.8284 GB, free: 12.41 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 (3): * Single equations (assignments): 3 * 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.0001013/0.1832, allocations: 118.4 kB / 0.8285 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.1832, allocations: 3.953 kB / 0.8285 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.1833, allocations: 8 kB / 0.8285 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1833, allocations: 0 / 0.8285 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1833, allocations: 0 / 0.8285 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1833, allocations: 4.312 kB / 0.8285 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.1835, allocations: 184.7 kB / 0.8287 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.1835, allocations: 11.98 kB / 0.8287 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.1837, allocations: 31.95 kB / 0.8287 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1837, allocations: 0 / 0.8287 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1838, allocations: 7.984 kB / 0.8287 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1838, allocations: 0 / 0.8287 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1838, allocations: 0 / 0.8287 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/0.1846, allocations: 323.1 kB / 0.829 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.1846, allocations: 0 / 0.829 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1847, allocations: 0 / 0.829 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.1849, allocations: 28.33 kB / 0.8291 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1849, allocations: 7.984 kB / 0.8291 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.185, allocations: 8 kB / 0.8291 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.417e-05/0.185, allocations: 95.2 kB / 0.8292 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.185, allocations: 0 / 0.8292 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002367/0.1853, allocations: 12 kB / 0.8292 GB, free: 11.51 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 (3): * Single equations (assignments): 3 * 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.0001285/0.1854, allocations: 103.2 kB / 0.8293 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008293/0.1862, allocations: 199.7 kB / 0.8295 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1862, allocations: 0 / 0.8295 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.1866, allocations: 99.88 kB / 0.8296 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1869, allocations: 0 / 0.8296 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1879, allocations: 261.4 kB / 0.8298 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1882, allocations: 0.6922 MB / 0.8305 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.036e-05/0.1883, allocations: 19.98 kB / 0.8305 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.1884, allocations: 15.42 kB / 0.8305 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.1884, allocations: 3.938 kB / 0.8305 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.003553/0.1919, allocations: 0.9572 MB / 0.8315 GB, free: 9.121 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.059852392994799] Failed to read output from testmodel.py, exit status != 0: 0.19968307891394943 0.21438943100000002 0.038818764000000006 Calling exit ...