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.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.001442/0.001442, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001592/0.001592, allocations: 186.2 kB / 22.22 MB, free: 5.105 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.329/1.329, allocations: 225.6 MB / 251 MB, free: 13.04 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.002454/0.002454, allocations: 288 kB / 306.5 MB, free: 8.352 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.18/1.18, allocations: 180.9 MB / 0.53 GB, free: 14.49 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.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 0.002721/0.002721, allocations: 104.4 kB / 0.7309 GB, free: 38.63 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1571, allocations: 94.2 MB / 0.8228 GB, free: 2.043 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002636/0.1597, allocations: 1.479 MB / 0.8243 GB, free: 0.5508 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0009593/0.1607, allocations: 0.5751 MB / 0.8248 GB, free: 15.97 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.1607, allocations: 0 / 0.8248 GB, free: 15.97 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.1607, allocations: 0 / 0.8248 GB, free: 15.97 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.1608, allocations: 15.92 kB / 0.8249 GB, free: 15.95 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.161, allocations: 43.83 kB / 0.8249 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 6.589e-05/0.1611, allocations: 27.86 kB / 0.8249 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.1612, allocations: 8 kB / 0.8249 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.709e-05/0.1613, allocations: 11.92 kB / 0.8249 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.1613, allocations: 15.92 kB / 0.825 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1613, allocations: 4 kB / 0.825 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1614, allocations: 55.95 kB / 0.825 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.1615, allocations: 4 kB / 0.825 GB, free: 15.79 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.1615, allocations: 23.86 kB / 0.825 GB, free: 15.76 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1616, allocations: 63.73 kB / 0.8251 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1616, allocations: 0 / 0.8251 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.342e-06/0.1616, allocations: 0 / 0.8251 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 8.697e-06/0.1617, allocations: 0 / 0.8251 GB, free: 15.7 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.0004068/0.1621, allocations: 274.1 kB / 0.8254 GB, free: 15.4 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1621, allocations: 8.031 kB / 0.8254 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1621, allocations: 8.922 kB / 0.8254 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1622, allocations: 118.4 kB / 0.8255 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1622, allocations: 384 / 0.8255 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1623, allocations: 4.375 kB / 0.8255 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1624, allocations: 46 kB / 0.8255 GB, free: 15.19 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1624, allocations: 0 / 0.8255 GB, free: 15.19 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1624, allocations: 0 / 0.8255 GB, free: 15.19 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.1624, allocations: 0 / 0.8255 GB, free: 15.19 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.1625, allocations: 23.92 kB / 0.8256 GB, free: 15.17 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.1628, allocations: 228 kB / 0.8258 GB, free: 14.9 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.259e-05/0.1629, allocations: 38.5 kB / 0.8258 GB, free: 14.86 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.163, allocations: 16.92 kB / 0.8258 GB, free: 14.84 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/0.1636, allocations: 91.86 kB / 0.8259 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1636, allocations: 34.56 kB / 0.826 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1636, allocations: 0 / 0.826 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2): time 0.0002431/0.1639, allocations: 69.62 kB / 0.826 GB, free: 14.63 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1639, allocations: 55.34 kB / 0.8261 GB, free: 14.56 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.164, allocations: 109.8 kB / 0.8262 GB, free: 14.45 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.164, allocations: 29.7 kB / 0.8262 GB, free: 14.41 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.164, allocations: 92.2 kB / 0.8263 GB, free: 14.32 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.1641, allocations: 3.953 kB / 0.8263 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.1641, allocations: 17.72 kB / 0.8263 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001272/0.1642, allocations: 314.8 kB / 0.8266 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/0.1643, allocations: 12 kB / 0.8266 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.1643, allocations: 7.984 kB / 0.8266 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.189e-05/0.1644, allocations: 32.84 kB / 0.8267 GB, free: 13.92 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1644, allocations: 0 / 0.8267 GB, free: 13.92 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.1645, allocations: 53.62 kB / 0.8267 GB, free: 13.86 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1645, allocations: 8 kB / 0.8267 GB, free: 13.85 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1645, allocations: 0 / 0.8267 GB, free: 13.85 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1645, allocations: 0 / 0.8267 GB, free: 13.85 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.1646, allocations: 7.984 kB / 0.8267 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1646, allocations: 320 / 0.8267 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.1646, allocations: 8 kB / 0.8267 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1646, allocations: 0 / 0.8267 GB, free: 13.84 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 7.93e-05/0.1647, allocations: 118.4 kB / 0.8269 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1647, allocations: 7.953 kB / 0.8269 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.1649, allocations: 65.28 kB / 0.8269 GB, free: 13.63 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1649, allocations: 0 / 0.8269 GB, free: 13.63 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1649, allocations: 0 / 0.8269 GB, free: 13.63 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1649, allocations: 0 / 0.8269 GB, free: 13.63 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1651, allocations: 140.6 kB / 0.8271 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1651, allocations: 4 kB / 0.8271 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.1651, allocations: 8.031 kB / 0.8271 GB, free: 13.44 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1651, allocations: 0 / 0.8271 GB, free: 13.44 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1651, allocations: 3.984 kB / 0.8271 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1651, allocations: 4 kB / 0.8271 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1651, allocations: 3.984 kB / 0.8271 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.1653, allocations: 147.5 kB / 0.8272 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.1653, allocations: 7.984 kB / 0.8272 GB, free: 13.26 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1653, allocations: 7.938 kB / 0.8272 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.1654, allocations: 3.984 kB / 0.8272 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.1654, allocations: 0 / 0.8272 GB, free: 13.25 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1654, allocations: 4 kB / 0.8272 GB, free: 13.24 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.879e-05/0.1655, allocations: 87.27 kB / 0.8273 GB, free: 13.16 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1655, allocations: 3.938 kB / 0.8273 GB, free: 13.15 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002218/0.1657, allocations: 15.94 kB / 0.8274 GB, free: 13.14 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.0001592/0.1658, allocations: 123.2 kB / 0.8275 GB, free: 13.01 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001308/0.166, allocations: 19.98 kB / 0.8275 GB, free: 12.99 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.166, allocations: 0 / 0.8275 GB, free: 12.99 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.166, allocations: 8 kB / 0.8275 GB, free: 12.98 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.1662, allocations: 7.938 kB / 0.8275 GB, free: 12.97 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.1665, allocations: 130.9 kB / 0.8276 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1668, allocations: 0.6885 MB / 0.8283 GB, free: 12.11 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 1.928e-05/0.1668, allocations: 0 / 0.8283 GB, free: 12.11 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.1668, allocations: 7.438 kB / 0.8283 GB, free: 12.1 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.81e-07/0.1668, allocations: 0 / 0.8283 GB, free: 12.1 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003076/0.1699, allocations: 0.68 MB / 0.829 GB, free: 11.42 MB / 0.5762 GB
"
[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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.717135989107192]
Failed to read output from testmodel.py, exit status != 0:
0.17651470378041267 0.190459857 0.025955583
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4ce02197b0>