Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001384/0.001384, allocations: 114.8 kB / 19.69 MB, free: 2.199 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.001434/0.001434, allocations: 191.9 kB / 22.98 MB, free: 5.062 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.554/1.554, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9964/0.9964, allocations: 149.6 MB / 456.6 MB, free: 1.23 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear")
translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 64.5 kB / 0.6328 GB, free: 8.996 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2546, allocations: 87.88 MB / 0.7187 GB, free: 1.047 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.003184/0.2578, allocations: 1.489 MB / 0.7201 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.0003445/0.2581, allocations: 115.6 kB / 0.7202 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.2581, allocations: 8 kB / 0.7202 GB, free: 15.43 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.2582, allocations: 7.875 kB / 0.7202 GB, free: 15.42 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.2582, allocations: 7.875 kB / 0.7203 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.2585, allocations: 23.97 kB / 0.7203 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.2586, allocations: 43.84 kB / 0.7203 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.2586, allocations: 8 kB / 0.7203 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.2587, allocations: 15.92 kB / 0.7203 GB, free: 15.32 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.2587, allocations: 23.92 kB / 0.7204 GB, free: 15.3 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.2588, allocations: 7.984 kB / 0.7204 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.2588, allocations: 31.92 kB / 0.7204 GB, free: 15.26 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.2589, allocations: 15.92 kB / 0.7204 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.2589, allocations: 23.86 kB / 0.7204 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.259, allocations: 55.75 kB / 0.7205 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.259, allocations: 0 / 0.7205 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.853e-06/0.2591, allocations: 0 / 0.7205 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.028e-05/0.2591, allocations: 0 / 0.7205 GB, free: 15.17 MB / 0.545 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.0005828/0.2596, allocations: 298.1 kB / 0.7208 GB, free: 14.84 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2597, allocations: 12.62 kB / 0.7208 GB, free: 14.83 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.2597, allocations: 12.89 kB / 0.7208 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2598, allocations: 114.5 kB / 0.7209 GB, free: 14.68 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2598, allocations: 4.375 kB / 0.7209 GB, free: 14.68 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.2599, allocations: 384 / 0.7209 GB, free: 14.68 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.2602, allocations: 78.14 kB / 0.721 GB, free: 14.6 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2602, allocations: 4.188 kB / 0.721 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2602, allocations: 3.938 kB / 0.721 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2602, allocations: 4 kB / 0.721 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.2605, allocations: 75.92 kB / 0.7211 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.2609, allocations: 248 kB / 0.7213 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.2612, allocations: 74.41 kB / 0.7214 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.2613, allocations: 44.91 kB / 0.7214 GB, free: 14.1 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.2615, allocations: 31.97 kB / 0.7215 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.2616, allocations: 34.56 kB / 0.7215 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2616, allocations: 4 kB / 0.7215 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0006535/0.2622, allocations: 141.5 kB / 0.7216 GB, free: 13.88 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.2622, allocations: 51.41 kB / 0.7217 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2624, allocations: 133.8 kB / 0.7218 GB, free: 13.67 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.2625, allocations: 25.7 kB / 0.7218 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.2626, allocations: 96.08 kB / 0.7219 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.2626, allocations: 11.94 kB / 0.7219 GB, free: 13.53 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.2626, allocations: 13.72 kB / 0.7219 GB, free: 13.51 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0003056/0.2629, allocations: 314.8 kB / 0.7222 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.2632, allocations: 39.95 kB / 0.7223 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.2634, allocations: 39.95 kB / 0.7223 GB, free: 13.12 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.2637, allocations: 72.78 kB / 0.7224 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2637, allocations: 7.938 kB / 0.7224 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003695/0.264, allocations: 117.5 kB / 0.7225 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.264, allocations: 4 kB / 0.7225 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.264, allocations: 0 / 0.7225 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.2641, allocations: 7.922 kB / 0.7225 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.2642, allocations: 15.98 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.2642, allocations: 0 / 0.7225 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.2642, allocations: 20.25 kB / 0.7226 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.2643, allocations: 0 / 0.7226 GB, free: 12.87 MB / 0.545 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 9.227e-05/0.2643, allocations: 121.8 kB / 0.7227 GB, free: 12.74 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.2644, allocations: 11.94 kB / 0.7227 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.2648, allocations: 117.6 kB / 0.7228 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2648, allocations: 0 / 0.7228 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2648, allocations: 0 / 0.7228 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-06/0.2648, allocations: 0 / 0.7228 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.2651, allocations: 156.7 kB / 0.7229 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2651, allocations: 4 kB / 0.7229 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.906e-05/0.2652, allocations: 15.92 kB / 0.723 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2652, allocations: 4 kB / 0.723 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.2652, allocations: 3.984 kB / 0.723 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2652, allocations: 0 / 0.723 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2652, allocations: 0 / 0.723 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.2657, allocations: 207.4 kB / 0.7232 GB, free: 12.16 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.2657, allocations: 11.94 kB / 0.7232 GB, free: 12.14 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.2657, allocations: 0 / 0.7232 GB, free: 12.14 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.2658, allocations: 11.98 kB / 0.7232 GB, free: 12.13 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.2658, allocations: 0 / 0.7232 GB, free: 12.13 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2659, allocations: 7.984 kB / 0.7232 GB, free: 12.12 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.932e-05/0.2659, allocations: 101.9 kB / 0.7233 GB, free: 12.03 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2659, allocations: 4 kB / 0.7233 GB, free: 12.02 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002719/0.2662, allocations: 11.94 kB / 0.7233 GB, free: 12.01 MB / 0.545 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.0001246/0.2663, allocations: 99.19 kB / 0.7234 GB, free: 11.91 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003572/0.2667, allocations: 79.91 kB / 0.7235 GB, free: 11.83 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2667, allocations: 0 / 0.7235 GB, free: 11.83 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.2668, allocations: 39.97 kB / 0.7235 GB, free: 11.79 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.2671, allocations: 11.94 kB / 0.7235 GB, free: 11.78 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.2673, allocations: 157.5 kB / 0.7237 GB, free: 11.6 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.2678, allocations: 0.6884 MB / 0.7244 GB, free: 10.88 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.753e-05/0.2678, allocations: 7.984 kB / 0.7244 GB, free: 10.88 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.2678, allocations: 11.44 kB / 0.7244 GB, free: 10.86 MB / 0.545 GB
Notification: Performance of SimCode: time 2.9e-07/0.2678, allocations: 0 / 0.7244 GB, free: 10.86 MB / 0.545 GB
Notification: Performance of Templates: time 0.003363/0.2712, allocations: 0.8156 MB / 0.7252 GB, free: 10.05 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.1135156992822886]
Failed to read output from testmodel.py, exit status != 0:
0.2802707562223077 0.29737029000000004 0.034800339
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f16b622d7b0>