Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 103.7 kB / 20.5 MB, free: 1.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 213 kB / 23.8 MB, free: 4.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 257.6 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9694/0.9694, allocations: 150 MB / 464 MB, free: 10.16 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 70.98 kB / 0.6425 GB, free: 9.277 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1714, allocations: 89.17 MB / 0.7296 GB, free: 176 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002005/0.1734, allocations: 0.6368 MB / 0.7302 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1749, allocations: 1.093 MB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.175, allocations: 0 / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.175, allocations: 3.938 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.409e-05/0.1751, allocations: 3.938 kB / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1754, allocations: 43.83 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1755, allocations: 55.78 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.1756, allocations: 19.97 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.961e-05/0.1757, allocations: 15.94 kB / 0.7314 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.1757, allocations: 23.91 kB / 0.7314 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1757, allocations: 7.938 kB / 0.7314 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.1758, allocations: 19.98 kB / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.1758, allocations: 11.98 kB / 0.7315 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.1759, allocations: 19.86 kB / 0.7315 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.176, allocations: 63.78 kB / 0.7315 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.176, allocations: 0 / 0.7315 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.176, allocations: 3.938 kB / 0.7315 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.176, allocations: 0 / 0.7315 GB, free: 14.14 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.000606/0.1766, allocations: 294.2 kB / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1767, allocations: 12.03 kB / 0.7318 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/0.1768, allocations: 8.891 kB / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1769, allocations: 110.5 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1769, allocations: 4.375 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.1769, allocations: 4.359 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.1771, allocations: 66.22 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1771, allocations: 192 / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1771, allocations: 7.938 kB / 0.732 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.1771, allocations: 7.938 kB / 0.732 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.1773, allocations: 47.89 kB / 0.7321 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.1778, allocations: 216.5 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1779, allocations: 54.55 kB / 0.7323 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.178, allocations: 40.89 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1781, allocations: 4 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.1783, allocations: 83.3 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1783, allocations: 0 / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004346/0.1787, allocations: 121.6 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1787, allocations: 51.41 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.1788, allocations: 101.9 kB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1789, allocations: 33.69 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.1789, allocations: 88.14 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.179, allocations: 27.86 kB / 0.7329 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.179, allocations: 21.7 kB / 0.7329 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1792, allocations: 318.8 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1793, allocations: 27.97 kB / 0.7332 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1794, allocations: 60.2 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.1796, allocations: 96.19 kB / 0.7334 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1796, allocations: 192 / 0.7334 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002927/0.1799, allocations: 117.5 kB / 0.7335 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1799, allocations: 11.94 kB / 0.7335 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1799, allocations: 0 / 0.7335 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.18, allocations: 8.125 kB / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1801, allocations: 15.98 kB / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1801, allocations: 0 / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.1802, allocations: 7.953 kB / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1802, allocations: 7.984 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.592e-05/0.1803, allocations: 124 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.1803, allocations: 3.938 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.1806, allocations: 106 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1806, allocations: 8 kB / 0.7338 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1806, allocations: 0 / 0.7338 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-06/0.1806, allocations: 3.953 kB / 0.7338 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1806, allocations: 3.984 kB / 0.7338 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.1807, allocations: 8 kB / 0.7338 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.1807, allocations: 7.922 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003352/0.1811, allocations: 188.8 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003554/0.1814, allocations: 278.8 kB / 0.7342 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.1815, allocations: 31.97 kB / 0.7343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.1816, allocations: 79.53 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of Backend: time 2.81e-07/0.1816, allocations: 0 / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.1821, allocations: 127.1 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0005539/0.1826, allocations: 0.5963 MB / 0.735 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.003843/0.1865, allocations: 1.084 MB / 0.7361 GB, free: 9.203 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.691382457967848] Failed to read output from testmodel.py, exit status != 0: 0.1952848332002759 0.20965675700000003 0.030470039 Calling exit ...