Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.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.001427/0.001427, 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.001198/0.001198, allocations: 190.6 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.292/1.292, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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.8818/0.8818, allocations: 149.6 MB / 456.6 MB, free: 1.145 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.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 62.92 kB / 0.6329 GB, free: 8.93 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1609, allocations: 87.87 MB / 0.7187 GB, free: 0.9766 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003906/0.1648, allocations: 2.47 MB / 0.7211 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.002787/0.1676, allocations: 1.617 MB / 0.7227 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.1678, allocations: 15.81 kB / 0.7227 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.1685, allocations: 314.9 kB / 0.723 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006658/0.1692, allocations: 346.6 kB / 0.7233 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1702, allocations: 448.4 kB / 0.7238 GB, free: 11.77 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0008554/0.171, allocations: 0.7245 MB / 0.7245 GB, free: 11.05 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1712, allocations: 41.95 kB / 0.7245 GB, free: 11 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.1717, allocations: 366.6 kB / 0.7249 GB, free: 10.64 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.1721, allocations: 354.6 kB / 0.7252 GB, free: 10.3 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.1721, allocations: 28 kB / 0.7252 GB, free: 10.27 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.1723, allocations: 87.95 kB / 0.7253 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.1725, allocations: 195.3 kB / 0.7255 GB, free: 9.992 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.1728, allocations: 274.1 kB / 0.7258 GB, free: 9.723 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008008/0.1736, allocations: 0.7428 MB / 0.7265 GB, free: 8.977 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1736, allocations: 0 / 0.7265 GB, free: 8.977 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.1736, allocations: 4 kB / 0.7265 GB, free: 8.973 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 7.995e-06/0.1736, allocations: 0 / 0.7265 GB, free: 8.973 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: 25
 * Number of variables: 25
Notification: Performance of Generate backend data structure: time 0.001527/0.1751, allocations: 0.9504 MB / 0.7274 GB, free: 7.988 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1751, allocations: 8.625 kB / 0.7274 GB, free: 7.98 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1753, allocations: 80.42 kB / 0.7275 GB, free: 7.902 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009023/0.1762, allocations: 0.573 MB / 0.7281 GB, free: 7.301 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.1762, allocations: 12.36 kB / 0.7281 GB, free: 7.289 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.1762, allocations: 23.92 kB / 0.7281 GB, free: 7.266 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.1766, allocations: 197.1 kB / 0.7283 GB, free: 7.055 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1766, allocations: 3.938 kB / 0.7283 GB, free: 7.051 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1766, allocations: 12 kB / 0.7283 GB, free: 7.039 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1767, allocations: 4 kB / 0.7283 GB, free: 7.035 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.1769, allocations: 95.88 kB / 0.7284 GB, free: 6.941 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.1782, allocations: 1.023 MB / 0.7294 GB, free: 5.859 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.1788, allocations: 269 kB / 0.7296 GB, free: 5.551 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.179, allocations: 104.2 kB / 0.7297 GB, free: 5.434 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.179, allocations: 4 kB / 0.7298 GB, free: 5.43 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.1794, allocations: 223.4 kB / 0.73 GB, free: 5.184 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=25): time 1.492e-06/0.1794, allocations: 0 / 0.73 GB, free: 5.184 MB / 0.545 GB
Notification: Performance of matching and sorting (n=25): time 0.0009269/0.1804, allocations: 421.9 kB / 0.7304 GB, free: 4.766 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1805, allocations: 174.1 kB / 0.7305 GB, free: 4.559 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.1817, allocations: 1.032 MB / 0.7315 GB, free: 3.52 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1817, allocations: 41.64 kB / 0.7316 GB, free: 3.473 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.182, allocations: 292.9 kB / 0.7319 GB, free: 3.18 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.182, allocations: 79.47 kB / 0.7319 GB, free: 3.102 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.1822, allocations: 134.3 kB / 0.7321 GB, free: 2.965 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001399/0.1824, allocations: 334 kB / 0.7324 GB, free: 2.633 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.1827, allocations: 209.2 kB / 0.7326 GB, free: 2.43 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.1832, allocations: 307 kB / 0.7329 GB, free: 2.098 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.1838, allocations: 405.8 kB / 0.7333 GB, free: 1.676 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1838, allocations: 4 kB / 0.7333 GB, free: 1.672 MB / 0.545 GB
Notification: Performance of matching and sorting (n=75) (initialization): time 0.001105/0.1849, allocations: 0.6838 MB / 0.7339 GB, free: 0.9844 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.185, allocations: 4 kB / 0.7339 GB, free: 0.9805 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.185, allocations: 4 kB / 0.7339 GB, free: 0.9766 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.185, allocations: 4 kB / 0.7339 GB, free: 0.9727 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.1854, allocations: 115.8 kB / 0.7341 GB, free: 0.8594 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1854, allocations: 7.938 kB / 0.7341 GB, free: 0.8516 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.1857, allocations: 47.77 kB / 0.7341 GB, free: 0.8047 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.1857, allocations: 23.98 kB / 0.7341 GB, free: 0.7812 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (75):
 * Single equations (assignments): 75
 * 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 0.0002979/0.186, allocations: 277.8 kB / 0.7344 GB, free: 0.5 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1861, allocations: 75.52 kB / 0.7345 GB, free: 436 kB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007092/0.1868, allocations: 371.5 kB / 0.7348 GB, free: 56 kB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1868, allocations: 7.938 kB / 0.7348 GB, free: 48 kB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1868, allocations: 3.938 kB / 0.7348 GB, free: 44 kB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1868, allocations: 7.984 kB / 0.7348 GB, free: 36 kB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.1873, allocations: 436.3 kB / 0.7353 GB, free: 15.57 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1873, allocations: 4 kB / 0.7353 GB, free: 15.56 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.1874, allocations: 16 kB / 0.7353 GB, free: 15.55 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1874, allocations: 0 / 0.7353 GB, free: 15.55 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.1874, allocations: 19.92 kB / 0.7353 GB, free: 15.53 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1874, allocations: 0 / 0.7353 GB, free: 15.53 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1874, allocations: 3.938 kB / 0.7353 GB, free: 15.52 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006338/0.188, allocations: 391.9 kB / 0.7357 GB, free: 15.11 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1882, allocations: 91.41 kB / 0.7358 GB, free: 15.02 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.1882, allocations: 8 kB / 0.7358 GB, free: 15.01 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1884, allocations: 19.97 kB / 0.7358 GB, free: 14.99 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.1885, allocations: 27.91 kB / 0.7358 GB, free: 14.96 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.1885, allocations: 16.3 kB / 0.7358 GB, free: 14.95 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0007284/0.1892, allocations: 0.6083 MB / 0.7364 GB, free: 14.34 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 1e-07/0.1892, allocations: 3.938 kB / 0.7364 GB, free: 14.34 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.0003944/0.1896, allocations: 107.9 kB / 0.7365 GB, free: 14.23 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled)
 * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (25):
 * Single equations (assignments): 15
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 10
 * 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.001674/0.1913, allocations: 478.9 kB / 0.737 GB, free: 13.94 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0007471/0.192, allocations: 384.3 kB / 0.7374 GB, free: 13.57 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.192, allocations: 0 / 0.7374 GB, free: 13.57 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.1923, allocations: 100.2 kB / 0.7374 GB, free: 13.47 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/0.1931, allocations: 224.6 kB / 0.7377 GB, free: 13.28 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.1946, allocations: 1.099 MB / 0.7387 GB, free: 12.14 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.1952, allocations: 0.9285 MB / 0.7396 GB, free: 11.18 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0002339/0.1954, allocations: 104.9 kB / 0.7397 GB, free: 11.07 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1955, allocations: 63.41 kB / 0.7398 GB, free: 11.01 MB / 0.5606 GB
Notification: Performance of SimCode: time 5.41e-07/0.1955, allocations: 4 kB / 0.7398 GB, free: 11.01 MB / 0.5606 GB
Notification: Performance of Templates: time 0.01483/0.2104, allocations: 7.964 MB / 0.7476 GB, free: 3.121 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.495074313133955]
Failed to read output from testmodel.py, exit status != 0:
0.21799044497311115 0.48494847500000005 0.30880714800000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f16d6b9d7b0>