Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.001385/0.001385, allocations: 112.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.001513/0.001513, allocations: 189.4 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.361/1.361, allocations: 225.6 MB / 251 MB, free: 13.02 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.002385/0.002385, allocations: 281.1 kB / 306.5 MB, free: 8.344 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.15/1.15, allocations: 180.9 MB / 0.53 GB, free: 14.54 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized")
translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 104.7 kB / 0.7308 GB, free: 38.82 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1574, allocations: 94.19 MB / 0.8228 GB, free: 1.926 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002458/0.1599, allocations: 1.455 MB / 0.8243 GB, free: 468 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0001969/0.1601, allocations: 100.5 kB / 0.8243 GB, free: 364 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.1601, allocations: 0 / 0.8243 GB, free: 364 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.1601, allocations: 7.875 kB / 0.8244 GB, free: 356 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 2.455e-05/0.1602, allocations: 4 kB / 0.8244 GB, free: 352 kB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1603, allocations: 23.91 kB / 0.8244 GB, free: 328 kB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.1604, allocations: 23.92 kB / 0.8244 GB, free: 304 kB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.1605, allocations: 8 kB / 0.8244 GB, free: 296 kB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.1605, allocations: 15.92 kB / 0.8244 GB, free: 280 kB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.1605, allocations: 4 kB / 0.8244 GB, free: 276 kB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1605, allocations: 0 / 0.8244 GB, free: 276 kB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.1606, allocations: 19.98 kB / 0.8244 GB, free: 256 kB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.1606, allocations: 7.938 kB / 0.8245 GB, free: 248 kB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.1606, allocations: 11.92 kB / 0.8245 GB, free: 236 kB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1607, allocations: 39.83 kB / 0.8245 GB, free: 196 kB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1607, allocations: 0 / 0.8245 GB, free: 196 kB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.363e-06/0.1607, allocations: 4 kB / 0.8245 GB, free: 192 kB / 0.5606 GB
Notification: Performance of Transformations before backend: time 4.909e-06/0.1607, allocations: 0 / 0.8245 GB, free: 192 kB / 0.5606 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.0004246/0.1612, allocations: 266.3 kB / 0.8248 GB, free: 15.89 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1612, allocations: 8.031 kB / 0.8248 GB, free: 15.89 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1614, allocations: 20.86 kB / 0.8248 GB, free: 15.87 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.977e-05/0.1614, allocations: 106.5 kB / 0.8249 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1615, allocations: 384 / 0.8249 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-06/0.1615, allocations: 384 / 0.8249 GB, free: 15.74 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1616, allocations: 66.17 kB / 0.825 GB, free: 15.67 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.1616, allocations: 4.172 kB / 0.825 GB, free: 15.66 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1617, allocations: 3.938 kB / 0.825 GB, free: 15.66 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1617, allocations: 3.984 kB / 0.825 GB, free: 15.66 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.1619, allocations: 43.95 kB / 0.825 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.1622, allocations: 236 kB / 0.8252 GB, free: 15.34 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1624, allocations: 54.47 kB / 0.8253 GB, free: 15.28 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1625, allocations: 32.84 kB / 0.8253 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.1626, allocations: 0 / 0.8253 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1626, allocations: 30.56 kB / 0.8253 GB, free: 15.2 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.1626, allocations: 4 kB / 0.8254 GB, free: 15.2 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2): time 0.0004152/0.163, allocations: 101.6 kB / 0.8254 GB, free: 15.09 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.163, allocations: 55.39 kB / 0.8255 GB, free: 15.03 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.1631, allocations: 101.9 kB / 0.8256 GB, free: 14.92 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1631, allocations: 25.7 kB / 0.8256 GB, free: 14.89 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.1632, allocations: 92.25 kB / 0.8257 GB, free: 14.79 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1632, allocations: 11.89 kB / 0.8257 GB, free: 14.78 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.1632, allocations: 9.719 kB / 0.8257 GB, free: 14.77 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.000131/0.1634, allocations: 318.8 kB / 0.826 GB, free: 14.45 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1635, allocations: 27.91 kB / 0.8261 GB, free: 14.42 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.1636, allocations: 19.98 kB / 0.8261 GB, free: 14.4 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.1638, allocations: 60.8 kB / 0.8261 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1638, allocations: 0 / 0.8261 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002458/0.164, allocations: 77.59 kB / 0.8262 GB, free: 14.25 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.164, allocations: 11.94 kB / 0.8262 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.164, allocations: 32 / 0.8262 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1641, allocations: 4 kB / 0.8262 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1642, allocations: 11.98 kB / 0.8262 GB, free: 14.23 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.1642, allocations: 0 / 0.8262 GB, free: 14.23 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.1642, allocations: 11.92 kB / 0.8263 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1642, allocations: 0 / 0.8263 GB, free: 14.21 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.74e-05/0.1643, allocations: 118.4 kB / 0.8264 GB, free: 14.09 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1643, allocations: 3.953 kB / 0.8264 GB, free: 14.09 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.1644, allocations: 11.61 kB / 0.8264 GB, free: 14.07 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1644, allocations: 4 kB / 0.8264 GB, free: 14.07 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1644, allocations: 0 / 0.8264 GB, free: 14.07 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.1644, allocations: 0 / 0.8264 GB, free: 14.07 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.1645, allocations: 140.9 kB / 0.8265 GB, free: 13.89 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1645, allocations: 8 kB / 0.8265 GB, free: 13.88 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.1646, allocations: 7.984 kB / 0.8265 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1646, allocations: 4 kB / 0.8265 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1646, allocations: 0 / 0.8265 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1646, allocations: 0 / 0.8265 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1646, allocations: 0 / 0.8265 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1649, allocations: 179.4 kB / 0.8267 GB, free: 13.68 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.1649, allocations: 3.953 kB / 0.8267 GB, free: 13.67 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1649, allocations: 3.938 kB / 0.8267 GB, free: 13.67 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.165, allocations: 15.98 kB / 0.8267 GB, free: 13.65 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.1651, allocations: 4.031 kB / 0.8267 GB, free: 13.65 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1651, allocations: 0 / 0.8267 GB, free: 13.65 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.335e-05/0.1651, allocations: 83.27 kB / 0.8268 GB, free: 13.57 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1651, allocations: 0 / 0.8268 GB, free: 13.57 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002068/0.1653, allocations: 12 kB / 0.8268 GB, free: 13.55 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 9.37e-05/0.1654, allocations: 91.25 kB / 0.8269 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002577/0.1657, allocations: 51.95 kB / 0.827 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1657, allocations: 0 / 0.827 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1658, allocations: 27.97 kB / 0.827 GB, free: 13.38 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.166, allocations: 13.91 kB / 0.827 GB, free: 13.37 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.1663, allocations: 117.6 kB / 0.8271 GB, free: 13.23 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1666, allocations: 0.6808 MB / 0.8278 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 2.598e-05/0.1667, allocations: 3.938 kB / 0.8278 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.1667, allocations: 15.38 kB / 0.8278 GB, free: 12.5 MB / 0.5762 GB
Notification: Performance of SimCode: time 4.21e-07/0.1667, allocations: 0 / 0.8278 GB, free: 12.5 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002632/0.1693, allocations: 0.5919 MB / 0.8284 GB, free: 11.91 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.637545042671263]
Failed to read output from testmodel.py, exit status != 0:
0.1761364322155714 0.19064873200000002 0.026935811
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2767f417b0>