Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001353/0.001353, allocations: 104 kB / 20.33 MB, free: 1.574 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.001495/0.001495, allocations: 187.1 kB / 23.59 MB, free: 4.965 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.582/1.582, allocations: 225.6 MB / 252.3 MB, free: 13.03 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.9719/0.9719, allocations: 149.5 MB / 457.1 MB, free: 1.316 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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 68.3 kB / 0.6331 GB, free: 9.188 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1669, allocations: 87.88 MB / 0.719 GB, free: 1.223 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002165/0.1691, allocations: 0.7181 MB / 0.7197 GB, free: 0.5078 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001897/0.171, allocations: 1.271 MB / 0.7209 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.171, allocations: 0 / 0.7209 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.1711, allocations: 7.875 kB / 0.7209 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 9.406e-05/0.1712, allocations: 15.86 kB / 0.7209 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.172, allocations: 253.7 kB / 0.7212 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0003572/0.1724, allocations: 255.5 kB / 0.7214 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.1724, allocations: 16.22 kB / 0.7214 GB, free: 14.69 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.1726, allocations: 103.8 kB / 0.7215 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1728, allocations: 95.69 kB / 0.7216 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.1729, allocations: 24 kB / 0.7216 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.754e-05/0.173, allocations: 39.98 kB / 0.7217 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.173, allocations: 27.97 kB / 0.7217 GB, free: 14.4 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1732, allocations: 87.75 kB / 0.7218 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1735, allocations: 231.3 kB / 0.722 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1735, allocations: 0 / 0.722 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.513e-06/0.1735, allocations: 0 / 0.722 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.942e-06/0.1735, allocations: 0 / 0.722 GB, free: 14.09 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: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.0008316/0.1743, allocations: 429.2 kB / 0.7224 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1744, allocations: 12.62 kB / 0.7224 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.1744, allocations: 16.89 kB / 0.7225 GB, free: 13.6 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.1751, allocations: 190.5 kB / 0.7226 GB, free: 13.39 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.1751, allocations: 12.38 kB / 0.7226 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.1752, allocations: 24.36 kB / 0.7227 GB, free: 13.35 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.1754, allocations: 127.9 kB / 0.7228 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1754, allocations: 7.938 kB / 0.7228 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1755, allocations: 4 kB / 0.7228 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1755, allocations: 7.938 kB / 0.7228 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1756, allocations: 59.89 kB / 0.7229 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008873/0.1765, allocations: 499.8 kB / 0.7233 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.1768, allocations: 137.2 kB / 0.7235 GB, free: 12.45 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1769, allocations: 49.69 kB / 0.7235 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1769, allocations: 0 / 0.7235 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.1773, allocations: 207.3 kB / 0.7237 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.1773, allocations: 0 / 0.7237 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of matching and sorting (n=22): time 0.0006355/0.178, allocations: 317.4 kB / 0.724 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.178, allocations: 93.03 kB / 0.7241 GB, free: 11.75 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1782, allocations: 137 kB / 0.7242 GB, free: 11.61 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 6.237e-05/0.1782, allocations: 41.7 kB / 0.7243 GB, free: 11.56 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.1783, allocations: 92.78 kB / 0.7244 GB, free: 11.47 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.1784, allocations: 55.59 kB / 0.7244 GB, free: 11.41 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.1785, allocations: 77.67 kB / 0.7245 GB, free: 11.33 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001508/0.1787, allocations: 318.8 kB / 0.7248 GB, free: 11.01 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.1789, allocations: 96.22 kB / 0.7249 GB, free: 10.91 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.1791, allocations: 152.2 kB / 0.725 GB, free: 10.74 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.1794, allocations: 255.2 kB / 0.7253 GB, free: 10.45 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1794, allocations: 0 / 0.7253 GB, free: 10.45 MB / 0.545 GB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006255/0.1801, allocations: 352.8 kB / 0.7256 GB, free: 10.09 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.1801, allocations: 63.39 kB / 0.7257 GB, free: 10.01 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1801, allocations: 8.219 kB / 0.7257 GB, free: 10 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1802, allocations: 4 kB / 0.7257 GB, free: 10 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1803, allocations: 27.91 kB / 0.7257 GB, free: 9.973 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1803, allocations: 7.938 kB / 0.7257 GB, free: 9.965 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.1807, allocations: 63.84 kB / 0.7258 GB, free: 9.902 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.1807, allocations: 15.98 kB / 0.7258 GB, free: 9.887 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (30):
 * Single equations (assignments): 28
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0001495/0.1808, allocations: 155.6 kB / 0.7259 GB, free: 9.727 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.1809, allocations: 11.95 kB / 0.726 GB, free: 9.715 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.1809, allocations: 16.44 kB / 0.726 GB, free: 9.699 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1809, allocations: 0 / 0.726 GB, free: 9.699 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1809, allocations: 7.922 kB / 0.726 GB, free: 9.691 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1809, allocations: 4 kB / 0.726 GB, free: 9.688 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.1817, allocations: 0.5891 MB / 0.7266 GB, free: 9.051 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1817, allocations: 4 kB / 0.7266 GB, free: 9.047 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.1817, allocations: 11.98 kB / 0.7266 GB, free: 9.035 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1817, allocations: 3.938 kB / 0.7266 GB, free: 9.031 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.1817, allocations: 8 kB / 0.7266 GB, free: 9.023 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1817, allocations: 3.984 kB / 0.7266 GB, free: 9.02 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1817, allocations: 3.938 kB / 0.7266 GB, free: 9.016 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.1822, allocations: 418.7 kB / 0.727 GB, free: 8.59 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.1823, allocations: 23.78 kB / 0.727 GB, free: 8.566 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.1823, allocations: 15.92 kB / 0.727 GB, free: 8.551 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1825, allocations: 11.98 kB / 0.727 GB, free: 8.539 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.1825, allocations: 23.95 kB / 0.7271 GB, free: 8.516 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.1825, allocations: 15.98 kB / 0.7271 GB, free: 8.5 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.611e-05/0.1826, allocations: 99.27 kB / 0.7272 GB, free: 8.402 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.1826, allocations: 0 / 0.7272 GB, free: 8.402 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0003873/0.183, allocations: 52 kB / 0.7272 GB, free: 8.352 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y)
 * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 14
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 8
 * 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.0001803/0.1832, allocations: 123.2 kB / 0.7273 GB, free: 8.223 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0005396/0.1837, allocations: 311.9 kB / 0.7276 GB, free: 7.895 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1837, allocations: 0 / 0.7276 GB, free: 7.895 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.000169/0.1839, allocations: 87.88 kB / 0.7277 GB, free: 7.809 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.1843, allocations: 36.28 kB / 0.7278 GB, free: 7.773 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.185, allocations: 275.1 kB / 0.728 GB, free: 7.473 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.1854, allocations: 0.7047 MB / 0.7287 GB, free: 6.742 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 7.265e-05/0.1855, allocations: 21.48 kB / 0.7287 GB, free: 6.723 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.1855, allocations: 19.42 kB / 0.7288 GB, free: 6.703 MB / 0.545 GB
Notification: Performance of SimCode: time 5.11e-07/0.1855, allocations: 0 / 0.7288 GB, free: 6.703 MB / 0.545 GB
Notification: Performance of Templates: time 0.007352/0.1929, allocations: 2.786 MB / 0.7315 GB, free: 3.938 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer  -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.888726214994676]
Failed to read output from testmodel.py, exit status != 0:
0.20201661599276122 0.21781048500000003 0.040876960000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f98ef0bd840>