Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.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.001405/0.001405, allocations: 110 kB / 18.93 MB, free: 2.945 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.001529/0.001529, allocations: 192 kB / 22.23 MB, free: 5.16 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.348/1.348, 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.002456/0.002456, allocations: 273.4 kB / 306.5 MB, free: 8.297 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.178/1.178, allocations: 180.9 MB / 0.53 GB, free: 14.45 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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic")
translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 106.4 kB / 0.7308 GB, free: 39.05 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1602, allocations: 94.2 MB / 0.8228 GB, free: 1.758 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002542/0.1628, allocations: 1.514 MB / 0.8243 GB, free: 240 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0002319/0.163, allocations: 100.6 kB / 0.8244 GB, free: 136 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.1631, allocations: 0 / 0.8244 GB, free: 136 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 5.026e-05/0.1631, allocations: 7.922 kB / 0.8244 GB, free: 128 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.1632, allocations: 11.92 kB / 0.8244 GB, free: 116 kB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.1634, allocations: 23.91 kB / 0.8244 GB, free: 92 kB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.1634, allocations: 39.92 kB / 0.8245 GB, free: 52 kB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.1635, allocations: 11.98 kB / 0.8245 GB, free: 40 kB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.1636, allocations: 19.92 kB / 0.8245 GB, free: 20 kB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.1636, allocations: 19.92 kB / 0.8245 GB, free: 0 / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.1637, allocations: 4.047 kB / 0.8245 GB, free: 15.99 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.1637, allocations: 19.94 kB / 0.8246 GB, free: 15.98 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.1638, allocations: 15.92 kB / 0.8246 GB, free: 15.96 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.1638, allocations: 23.86 kB / 0.8246 GB, free: 15.94 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1639, allocations: 59.69 kB / 0.8247 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1639, allocations: 0 / 0.8247 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.333e-06/0.1639, allocations: 0 / 0.8247 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.308e-06/0.1639, allocations: 4 kB / 0.8247 GB, free: 15.88 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.0005058/0.1644, allocations: 306 kB / 0.825 GB, free: 15.54 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1645, allocations: 12.03 kB / 0.825 GB, free: 15.53 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1645, allocations: 8.891 kB / 0.825 GB, free: 15.52 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1646, allocations: 126.4 kB / 0.8251 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.1646, allocations: 384 / 0.8251 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1646, allocations: 384 / 0.8251 GB, free: 15.38 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1649, allocations: 78.22 kB / 0.8252 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1649, allocations: 192 / 0.8252 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1649, allocations: 3.938 kB / 0.8252 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1649, allocations: 0 / 0.8252 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.1652, allocations: 79.86 kB / 0.8252 GB, free: 15.21 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.1656, allocations: 252 kB / 0.8255 GB, free: 14.92 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.1658, allocations: 66.47 kB / 0.8256 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.1659, allocations: 44.92 kB / 0.8256 GB, free: 14.8 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.1661, allocations: 31.97 kB / 0.8256 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1661, allocations: 38.5 kB / 0.8257 GB, free: 14.72 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1661, allocations: 0 / 0.8257 GB, free: 14.72 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.0005637/0.1667, allocations: 153.5 kB / 0.8258 GB, free: 14.57 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1667, allocations: 51.41 kB / 0.8259 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1668, allocations: 125.8 kB / 0.826 GB, free: 14.37 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1668, allocations: 25.7 kB / 0.826 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.1669, allocations: 96.12 kB / 0.8261 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1669, allocations: 7.906 kB / 0.8261 GB, free: 14.23 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.167, allocations: 17.72 kB / 0.8261 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001289/0.1671, allocations: 318.8 kB / 0.8264 GB, free: 13.89 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1672, allocations: 39.97 kB / 0.8265 GB, free: 13.85 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.1674, allocations: 35.95 kB / 0.8265 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1677, allocations: 84.72 kB / 0.8266 GB, free: 13.73 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1677, allocations: 3.938 kB / 0.8266 GB, free: 13.73 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003413/0.168, allocations: 113.6 kB / 0.8267 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.168, allocations: 4 kB / 0.8267 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.168, allocations: 0 / 0.8267 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.168, allocations: 0 / 0.8267 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1682, allocations: 15.98 kB / 0.8267 GB, free: 13.59 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1682, allocations: 4 kB / 0.8267 GB, free: 13.59 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.1682, allocations: 15.92 kB / 0.8267 GB, free: 13.57 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1682, allocations: 0 / 0.8267 GB, free: 13.57 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 8.987e-05/0.1683, allocations: 126.4 kB / 0.8268 GB, free: 13.44 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1684, allocations: 4.328 kB / 0.8268 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.1688, allocations: 121.6 kB / 0.827 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1688, allocations: 0 / 0.827 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1688, allocations: 0 / 0.827 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1688, allocations: 3.938 kB / 0.827 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1689, allocations: 160.6 kB / 0.8271 GB, free: 13.1 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1689, allocations: 0 / 0.8271 GB, free: 13.1 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.169, allocations: 23.97 kB / 0.8271 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.169, allocations: 0 / 0.8271 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1691, allocations: 0 / 0.8271 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1691, allocations: 0 / 0.8271 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1691, allocations: 4 kB / 0.8271 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.1694, allocations: 211.3 kB / 0.8273 GB, free: 12.85 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.1695, allocations: 3.953 kB / 0.8274 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1695, allocations: 0 / 0.8274 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1696, allocations: 19.92 kB / 0.8274 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1696, allocations: 7.984 kB / 0.8274 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.1696, allocations: 4 kB / 0.8274 GB, free: 12.81 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 6.486e-05/0.1697, allocations: 98.02 kB / 0.8275 GB, free: 12.72 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.1697, allocations: 0 / 0.8275 GB, free: 12.72 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002121/0.1699, allocations: 8 kB / 0.8275 GB, free: 12.71 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.0001122/0.17, allocations: 99.25 kB / 0.8276 GB, free: 12.61 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003762/0.1704, allocations: 87.84 kB / 0.8277 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1704, allocations: 0 / 0.8277 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1705, allocations: 35.97 kB / 0.8277 GB, free: 12.48 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1708, allocations: 17.86 kB / 0.8277 GB, free: 12.47 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.1711, allocations: 145.6 kB / 0.8279 GB, free: 12.3 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1714, allocations: 0.6885 MB / 0.8285 GB, free: 11.59 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.624e-05/0.1714, allocations: 4 kB / 0.8285 GB, free: 11.58 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.1714, allocations: 11.44 kB / 0.8285 GB, free: 11.57 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.8e-07/0.1714, allocations: 0 / 0.8285 GB, free: 11.57 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003148/0.1746, allocations: 0.8191 MB / 0.8293 GB, free: 10.76 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.716863490641117]
Failed to read output from testmodel.py, exit status != 0:
0.18131656851619482 0.195374724 0.028665284000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8ccb1357b0>