Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001602/0.001602, 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.00189/0.00189, allocations: 216.9 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.493/1.493, allocations: 230.6 MB / 257.6 MB, free: 7.734 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.9928/0.9928, allocations: 150 MB / 464 MB, free: 10.64 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [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.002163/0.002163, allocations: 70.02 kB / 0.6425 GB, free: 9.484 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1694, allocations: 89.18 MB / 0.7296 GB, free: 380 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001933/0.1713, allocations: 0.6542 MB / 0.7302 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1728, allocations: 1.096 MB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.1728, allocations: 4 kB / 0.7313 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.1729, allocations: 7.938 kB / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.1729, allocations: 7.922 kB / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.1732, allocations: 51.83 kB / 0.7314 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1733, allocations: 71.83 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.1734, allocations: 4 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.1735, allocations: 27.92 kB / 0.7315 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.1736, allocations: 35.83 kB / 0.7315 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1736, allocations: 4 kB / 0.7315 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.1736, allocations: 19.98 kB / 0.7315 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.1737, allocations: 15.98 kB / 0.7315 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.1737, allocations: 31.84 kB / 0.7316 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1739, allocations: 75.75 kB / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1739, allocations: 0 / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1739, allocations: 0 / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.1739, allocations: 4 kB / 0.7316 GB, free: 14.25 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006741/0.1746, allocations: 314 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1746, allocations: 8.031 kB / 0.7319 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.1747, allocations: 8.922 kB / 0.732 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1748, allocations: 118.4 kB / 0.7321 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1748, allocations: 4.375 kB / 0.7321 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1748, allocations: 8.375 kB / 0.7321 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.175, allocations: 78.2 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1751, allocations: 192 / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1751, allocations: 3.938 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1751, allocations: 7.984 kB / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.1753, allocations: 51.95 kB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.1758, allocations: 256.3 kB / 0.7325 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.176, allocations: 70.55 kB / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.1761, allocations: 40.77 kB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1761, allocations: 4 kB / 0.7326 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.1764, allocations: 91.48 kB / 0.7327 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.1764, allocations: 112 / 0.7327 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005193/0.1769, allocations: 177.5 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.1769, allocations: 59.39 kB / 0.7329 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.177, allocations: 114 kB / 0.733 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1771, allocations: 25.7 kB / 0.733 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.1771, allocations: 88.38 kB / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.1772, allocations: 27.78 kB / 0.7331 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.1772, allocations: 33.7 kB / 0.7332 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1774, allocations: 314.8 kB / 0.7335 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1775, allocations: 43.97 kB / 0.7335 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1776, allocations: 66.59 kB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1779, allocations: 97 kB / 0.7337 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1779, allocations: 0 / 0.7337 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003788/0.1783, allocations: 153.4 kB / 0.7338 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1783, allocations: 4 kB / 0.7338 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1783, allocations: 7.984 kB / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1783, allocations: 0 / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1784, allocations: 19.98 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1785, allocations: 3.938 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.1785, allocations: 11.95 kB / 0.7338 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1785, allocations: 11.97 kB / 0.7339 GB, free: 11.78 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001064/0.1787, allocations: 126.3 kB / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.1787, allocations: 7.938 kB / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.179, allocations: 149.8 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.179, allocations: 0 / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.179, allocations: 0 / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.1791, allocations: 11.95 kB / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1791, allocations: 0 / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.1792, allocations: 11.98 kB / 0.7342 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1792, allocations: 3.984 kB / 0.7342 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004087/0.1796, allocations: 228.8 kB / 0.7344 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004284/0.18, allocations: 314.7 kB / 0.7347 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001322/0.1802, allocations: 39.97 kB / 0.7347 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.1802, allocations: 87.27 kB / 0.7348 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of Backend: time 4.71e-07/0.1802, allocations: 0 / 0.7348 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005482/0.1808, allocations: 144.7 kB / 0.7349 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0006137/0.1814, allocations: 0.5967 MB / 0.7355 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of Templates: time 0.004395/0.1858, allocations: 1.329 MB / 0.7368 GB, free: 8.684 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.675225359853357] Failed to read output from testmodel.py, exit status != 0: 0.1942260640207678 0.20937600999999995 0.03224474699999994 Calling exit ...