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.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.001622/0.001622, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001572/0.001572, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002554/0.002554, allocations: 296.9 kB / 313.5 MB, free: 2.617 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.172/1.172, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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: 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: 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.002844/0.002844, allocations: 113 kB / 0.7407 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1587, allocations: 95.39 MB / 0.8339 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002755/0.1615, allocations: 1.479 MB / 0.8353 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004064/0.1619, allocations: 132.4 kB / 0.8354 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.1619, allocations: 0 / 0.8354 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.1619, allocations: 3.938 kB / 0.8354 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.162, allocations: 11.92 kB / 0.8355 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.1622, allocations: 35.91 kB / 0.8355 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.1623, allocations: 39.91 kB / 0.8355 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1624, allocations: 12 kB / 0.8355 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.1625, allocations: 19.91 kB / 0.8356 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.1625, allocations: 23.86 kB / 0.8356 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1625, allocations: 7.938 kB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.1626, allocations: 31.97 kB / 0.8356 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.1626, allocations: 8 kB / 0.8356 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.1627, allocations: 19.92 kB / 0.8357 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1628, allocations: 67.73 kB / 0.8357 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1628, allocations: 0 / 0.8357 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1628, allocations: 0 / 0.8357 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1628, allocations: 0 / 0.8357 GB, free: 5.898 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004337/0.1633, allocations: 294.1 kB / 0.836 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1633, allocations: 9.344 kB / 0.836 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.1643, allocations: 212.5 kB / 0.8362 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1644, allocations: 114.5 kB / 0.8363 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1644, allocations: 4.375 kB / 0.8363 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1644, allocations: 384 / 0.8363 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.165, allocations: 194 kB / 0.8365 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.165, allocations: 192 / 0.8365 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.165, allocations: 3.938 kB / 0.8365 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.165, allocations: 4 kB / 0.8365 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.1658, allocations: 275.6 kB / 0.8368 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/0.1667, allocations: 384.7 kB / 0.8371 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1678, allocations: 278.2 kB / 0.8374 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.1681, allocations: 108.8 kB / 0.8375 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1682, allocations: 0 / 0.8375 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1682, allocations: 38.5 kB / 0.8375 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1682, allocations: 3.938 kB / 0.8376 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001134/0.1693, allocations: 309.3 kB / 0.8378 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1694, allocations: 51.41 kB / 0.8379 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.1694, allocations: 113.8 kB / 0.838 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1695, allocations: 29.7 kB / 0.838 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.1695, allocations: 84.12 kB / 0.8381 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1695, allocations: 15.91 kB / 0.8381 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.1696, allocations: 17.72 kB / 0.8381 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1697, allocations: 318.8 kB / 0.8385 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.1701, allocations: 91.88 kB / 0.8385 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.1704, allocations: 91.88 kB / 0.8386 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.1711, allocations: 180.5 kB / 0.8388 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1711, allocations: 0 / 0.8388 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007116/0.1718, allocations: 221.5 kB / 0.839 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1718, allocations: 4 kB / 0.839 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1718, allocations: 0 / 0.839 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1718, allocations: 3.984 kB / 0.839 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.172, allocations: 35.89 kB / 0.8391 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.172, allocations: 0 / 0.8391 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.1722, allocations: 35.89 kB / 0.8391 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1722, allocations: 3.984 kB / 0.8391 GB, free: 2.262 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 9.994e-05/0.1723, allocations: 118.4 kB / 0.8392 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1724, allocations: 3.953 kB / 0.8392 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.1724, allocations: 12 kB / 0.8392 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1724, allocations: 3.938 kB / 0.8392 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1724, allocations: 0 / 0.8392 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1724, allocations: 3.984 kB / 0.8392 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.1726, allocations: 141.2 kB / 0.8394 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1726, allocations: 4 kB / 0.8394 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.1728, allocations: 35.95 kB / 0.8394 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1728, allocations: 0 / 0.8394 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1728, allocations: 0 / 0.8394 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1728, allocations: 7.922 kB / 0.8394 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1728, allocations: 0 / 0.8394 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.1736, allocations: 316.9 kB / 0.8397 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-06/0.1736, allocations: 3.953 kB / 0.8397 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1737, allocations: 0 / 0.8397 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.1739, allocations: 27.95 kB / 0.8397 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1739, allocations: 4.359 kB / 0.8397 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1739, allocations: 0 / 0.8397 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.85e-05/0.174, allocations: 91.22 kB / 0.8398 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.174, allocations: 4 kB / 0.8398 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002234/0.1742, allocations: 12 kB / 0.8398 GB, free: 1.426 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.0001183/0.1743, allocations: 103.2 kB / 0.8399 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007353/0.175, allocations: 195.7 kB / 0.8401 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.175, allocations: 4 kB / 0.8401 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.1754, allocations: 99.86 kB / 0.8402 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.1756, allocations: 7.938 kB / 0.8402 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.1765, allocations: 283.1 kB / 0.8405 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.93e-05/0.1766, allocations: 75.33 kB / 0.8406 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.1766, allocations: 7.438 kB / 0.8406 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1766, allocations: 4 kB / 0.8406 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of Templates: time 0.002548/0.1792, allocations: 1.158 MB / 0.8417 GB, free: 15.45 MB / 0.5919 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.995178486220539] Failed to read output from testmodel.py, exit status != 0: 0.1860809256322682 0.20037519099999995 0.034765895000000005 Calling exit ...