Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.001247/0.001247, allocations: 110 kB / 18.94 MB, free: 2.793 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.001271/0.001271, allocations: 190.6 kB / 22.23 MB, free: 5.234 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.346/1.346, allocations: 225.6 MB / 251 MB, free: 13 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.002429/0.002429, allocations: 288 kB / 306.5 MB, free: 8.32 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.156/1.156, allocations: 180.9 MB / 0.53 GB, free: 14.48 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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear")
translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002627, allocations: 100.1 kB / 0.7308 GB, free: 38.67 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1584, allocations: 94.2 MB / 0.8228 GB, free: 1.75 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002615/0.161, allocations: 1.51 MB / 0.8243 GB, free: 236 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0003098/0.1613, allocations: 120.5 kB / 0.8244 GB, free: 112 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.1613, allocations: 0 / 0.8244 GB, free: 112 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 4.168e-05/0.1614, allocations: 3.938 kB / 0.8244 GB, free: 108 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.1614, allocations: 3.938 kB / 0.8244 GB, free: 104 kB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.1616, allocations: 31.95 kB / 0.8245 GB, free: 72 kB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.1617, allocations: 39.86 kB / 0.8245 GB, free: 32 kB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.1618, allocations: 11.98 kB / 0.8245 GB, free: 20 kB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.1618, allocations: 19.92 kB / 0.8245 GB, free: 0 / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.1619, allocations: 20.05 kB / 0.8245 GB, free: 15.98 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1619, allocations: 4 kB / 0.8245 GB, free: 15.97 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.04e-05/0.1619, allocations: 19.98 kB / 0.8246 GB, free: 15.95 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.162, allocations: 15.92 kB / 0.8246 GB, free: 15.94 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.162, allocations: 19.86 kB / 0.8246 GB, free: 15.92 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 9.716e-05/0.1621, allocations: 59.73 kB / 0.8247 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1621, allocations: 0 / 0.8247 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 7.81e-07/0.1621, allocations: 4 kB / 0.8247 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 3.817e-06/0.1621, allocations: 0 / 0.8247 GB, free: 15.86 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0004315/0.1625, allocations: 302 kB / 0.825 GB, free: 15.53 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1625, allocations: 12.03 kB / 0.825 GB, free: 15.52 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.1626, allocations: 8.891 kB / 0.825 GB, free: 15.51 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1627, allocations: 126.4 kB / 0.8251 GB, free: 15.36 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1627, allocations: 4.375 kB / 0.8251 GB, free: 15.36 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1627, allocations: 4.375 kB / 0.8251 GB, free: 15.35 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.163, allocations: 74.22 kB / 0.8252 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.163, allocations: 192 / 0.8252 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.163, allocations: 3.938 kB / 0.8252 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-06/0.163, allocations: 0 / 0.8252 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.1633, allocations: 75.91 kB / 0.8252 GB, free: 15.2 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.1636, allocations: 260 kB / 0.8255 GB, free: 14.9 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1638, allocations: 66.47 kB / 0.8256 GB, free: 14.82 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.164, allocations: 44.91 kB / 0.8256 GB, free: 14.78 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.1641, allocations: 31.97 kB / 0.8256 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1641, allocations: 34.56 kB / 0.8257 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1641, allocations: 3.938 kB / 0.8257 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.0005426/0.1647, allocations: 157.5 kB / 0.8258 GB, free: 14.54 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1647, allocations: 55.34 kB / 0.8259 GB, free: 14.47 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1648, allocations: 129.2 kB / 0.826 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1648, allocations: 25.7 kB / 0.826 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.1649, allocations: 92.14 kB / 0.8261 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.1649, allocations: 11.84 kB / 0.8261 GB, free: 14.2 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.1649, allocations: 21.7 kB / 0.8261 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001349/0.1651, allocations: 318.8 kB / 0.8264 GB, free: 13.86 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1652, allocations: 39.95 kB / 0.8265 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1654, allocations: 31.97 kB / 0.8265 GB, free: 13.79 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.1657, allocations: 84.77 kB / 0.8266 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1657, allocations: 3.938 kB / 0.8266 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003415/0.166, allocations: 109.6 kB / 0.8267 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.166, allocations: 4 kB / 0.8267 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.166, allocations: 0 / 0.8267 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 7.074e-06/0.166, allocations: 0 / 0.8267 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1661, allocations: 23.97 kB / 0.8267 GB, free: 13.55 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.1661, allocations: 0 / 0.8267 GB, free: 13.55 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.13e-05/0.1662, allocations: 15.94 kB / 0.8267 GB, free: 13.54 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.1662, allocations: 0 / 0.8267 GB, free: 13.54 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 7.766e-05/0.1663, allocations: 118.4 kB / 0.8269 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1663, allocations: 4 kB / 0.8269 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.1667, allocations: 125.5 kB / 0.827 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1667, allocations: 0 / 0.827 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1667, allocations: 0 / 0.827 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-06/0.1667, allocations: 0 / 0.827 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1669, allocations: 156.6 kB / 0.8271 GB, free: 13.08 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1669, allocations: 0 / 0.8271 GB, free: 13.08 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.167, allocations: 15.98 kB / 0.8271 GB, free: 13.06 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.167, allocations: 0 / 0.8271 GB, free: 13.06 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.167, allocations: 8 kB / 0.8272 GB, free: 13.05 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.167, allocations: 4 kB / 0.8272 GB, free: 13.05 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.167, allocations: 0 / 0.8272 GB, free: 13.05 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.1674, allocations: 199.4 kB / 0.8273 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.1674, allocations: 11.95 kB / 0.8274 GB, free: 12.83 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1674, allocations: 3.938 kB / 0.8274 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1675, allocations: 19.97 kB / 0.8274 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.1675, allocations: 3.938 kB / 0.8274 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1675, allocations: 4 kB / 0.8274 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 6.724e-05/0.1676, allocations: 99.27 kB / 0.8275 GB, free: 12.7 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.1676, allocations: 0 / 0.8275 GB, free: 12.7 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002107/0.1678, allocations: 15.92 kB / 0.8275 GB, free: 12.68 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.0001156/0.1679, allocations: 95.25 kB / 0.8276 GB, free: 12.58 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003481/0.1683, allocations: 80.34 kB / 0.8277 GB, free: 12.5 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.1683, allocations: 0 / 0.8277 GB, free: 12.5 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.1684, allocations: 47.89 kB / 0.8277 GB, free: 12.46 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1686, allocations: 14.19 kB / 0.8277 GB, free: 12.45 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.1689, allocations: 149.6 kB / 0.8279 GB, free: 12.28 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1692, allocations: 0.6885 MB / 0.8285 GB, free: 11.56 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.63e-05/0.1692, allocations: 7.984 kB / 0.8285 GB, free: 11.55 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.1692, allocations: 7.438 kB / 0.8286 GB, free: 11.55 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.91e-07/0.1692, allocations: 0 / 0.8286 GB, free: 11.55 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002827/0.1721, allocations: 0.8202 MB / 0.8294 GB, free: 10.73 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.66244219429791]
Failed to read output from testmodel.py, exit status != 0:
0.17888751719146967 0.19319676000000002 0.028261828000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f07d23797b0>