Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001187/0.001187, allocations: 112.7 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.00135/0.00135, allocations: 188.3 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.327/1.327, allocations: 225.6 MB / 251 MB, free: 13.03 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.002441/0.002441, allocations: 297 kB / 306.6 MB, free: 8.348 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.172/1.172, allocations: 180.9 MB / 0.53 GB, free: 14.56 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 100.8 kB / 0.7309 GB, free: 39.02 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1538, allocations: 94.2 MB / 0.8229 GB, free: 1.84 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001828/0.1556, allocations: 0.5881 MB / 0.8234 GB, free: 1.25 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0002368/0.1559, allocations: 39.88 kB / 0.8235 GB, free: 1.211 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.1559, allocations: 4 kB / 0.8235 GB, free: 1.207 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.1559, allocations: 0 / 0.8235 GB, free: 1.207 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 3.061e-05/0.1559, allocations: 0 / 0.8235 GB, free: 1.207 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.1561, allocations: 19.92 kB / 0.8235 GB, free: 1.188 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.1562, allocations: 4 kB / 0.8235 GB, free: 1.184 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.1562, allocations: 7.969 kB / 0.8235 GB, free: 1.176 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.1563, allocations: 7.938 kB / 0.8235 GB, free: 1.168 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.1563, allocations: 0 / 0.8235 GB, free: 1.168 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1563, allocations: 0 / 0.8235 GB, free: 1.168 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.504e-05/0.1564, allocations: 19.98 kB / 0.8235 GB, free: 1.148 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.1564, allocations: 4 kB / 0.8235 GB, free: 1.145 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.1564, allocations: 7.938 kB / 0.8236 GB, free: 1.137 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 9.58e-05/0.1565, allocations: 31.83 kB / 0.8236 GB, free: 1.105 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1565, allocations: 4 kB / 0.8236 GB, free: 1.102 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.182e-06/0.1565, allocations: 0 / 0.8236 GB, free: 1.102 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 7.875e-06/0.1566, allocations: 0 / 0.8236 GB, free: 1.102 MB / 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.0003325/0.1569, allocations: 276.5 kB / 0.8239 GB, free: 0.793 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1569, allocations: 8.625 kB / 0.8239 GB, free: 0.7852 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.157, allocations: 8.938 kB / 0.8239 GB, free: 0.7773 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.789e-05/0.157, allocations: 106.5 kB / 0.824 GB, free: 0.6484 MB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1571, allocations: 384 / 0.824 GB, free: 0.6484 MB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1571, allocations: 8.359 kB / 0.824 GB, free: 0.6406 MB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1572, allocations: 62.25 kB / 0.824 GB, free: 0.5742 MB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1572, allocations: 192 / 0.824 GB, free: 0.5742 MB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1572, allocations: 3.938 kB / 0.824 GB, free: 0.5703 MB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.1572, allocations: 7.984 kB / 0.8241 GB, free: 0.5625 MB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.1573, allocations: 23.98 kB / 0.8241 GB, free: 0.5391 MB / 0.5606 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.1576, allocations: 243.8 kB / 0.8243 GB, free: 264 kB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.89e-05/0.1577, allocations: 14.58 kB / 0.8243 GB, free: 240 kB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.1577, allocations: 16.92 kB / 0.8243 GB, free: 220 kB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.693e-06/0.1577, allocations: 0 / 0.8243 GB, free: 220 kB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1577, allocations: 34.55 kB / 0.8244 GB, free: 176 kB / 0.5606 GB
Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1577, allocations: 0 / 0.8244 GB, free: 176 kB / 0.5606 GB
Notification: Performance of matching and sorting (n=1): time 0.0001666/0.1579, allocations: 67.34 kB / 0.8244 GB, free: 96 kB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.158, allocations: 77.11 kB / 0.8245 GB, free: 0 / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1581, allocations: 121.8 kB / 0.8246 GB, free: 15.87 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1581, allocations: 29.64 kB / 0.8247 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.1582, allocations: 108.1 kB / 0.8248 GB, free: 15.73 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.1582, allocations: 4 kB / 0.8248 GB, free: 15.72 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.1582, allocations: 29.66 kB / 0.8248 GB, free: 15.69 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001412/0.1584, allocations: 318.8 kB / 0.8251 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.1584, allocations: 15.92 kB / 0.8251 GB, free: 15.35 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.1585, allocations: 58.88 kB / 0.8252 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1586, allocations: 126.1 kB / 0.8253 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1586, allocations: 4 kB / 0.8253 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.000165/0.1587, allocations: 123.2 kB / 0.8254 GB, free: 14.97 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.1588, allocations: 29.7 kB / 0.8254 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1588, allocations: 4 kB / 0.8254 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1588, allocations: 4.25 kB / 0.8254 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.1589, allocations: 12 kB / 0.8255 GB, free: 14.92 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1589, allocations: 4 kB / 0.8255 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.1589, allocations: 7.953 kB / 0.8255 GB, free: 14.91 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1589, allocations: 7.984 kB / 0.8255 GB, free: 14.9 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * 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 (8):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.000111/0.159, allocations: 156 kB / 0.8256 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.1591, allocations: 0 / 0.8256 GB, free: 14.73 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.269e-05/0.1591, allocations: 3.469 kB / 0.8256 GB, free: 14.72 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1591, allocations: 4 kB / 0.8256 GB, free: 14.72 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1591, allocations: 4 kB / 0.8256 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1591, allocations: 3.984 kB / 0.8256 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.1592, allocations: 124.7 kB / 0.8258 GB, free: 14.55 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1592, allocations: 0 / 0.8258 GB, free: 14.55 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1592, allocations: 0 / 0.8258 GB, free: 14.55 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1593, allocations: 3.984 kB / 0.8258 GB, free: 14.54 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1593, allocations: 4 kB / 0.8258 GB, free: 14.54 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1593, allocations: 0 / 0.8258 GB, free: 14.54 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1593, allocations: 4 kB / 0.8258 GB, free: 14.54 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1594, allocations: 169.1 kB / 0.8259 GB, free: 14.35 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.1594, allocations: 7.938 kB / 0.8259 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.1594, allocations: 0 / 0.8259 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.1595, allocations: 4 kB / 0.8259 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.1595, allocations: 0 / 0.8259 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1595, allocations: 4 kB / 0.8259 GB, free: 14.33 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.734e-05/0.1596, allocations: 91.72 kB / 0.826 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1596, allocations: 0 / 0.826 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002441/0.1598, allocations: 15.94 kB / 0.826 GB, free: 14.23 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 (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001375/0.16, allocations: 103.3 kB / 0.8261 GB, free: 14.12 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001501/0.1601, allocations: 87.27 kB / 0.8262 GB, free: 14.02 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1601, allocations: 0 / 0.8262 GB, free: 14.02 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 4.139e-05/0.1602, allocations: 67.33 kB / 0.8263 GB, free: 13.94 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.1603, allocations: 0 / 0.8263 GB, free: 13.94 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.1606, allocations: 113.5 kB / 0.8264 GB, free: 13.8 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.1609, allocations: 0.6784 MB / 0.8271 GB, free: 13.1 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 6.712e-05/0.161, allocations: 15.73 kB / 0.8271 GB, free: 13.09 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.161, allocations: 11.44 kB / 0.8271 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.8e-07/0.161, allocations: 0 / 0.8271 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002907/0.1639, allocations: 0.5627 MB / 0.8276 GB, free: 12.52 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.586401824839413]
Failed to read output from testmodel.py, exit status != 0:
0.17079857643693686 0.18630105900000002 0.026851082000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb215c297b0>