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.001269/0.001269, allocations: 103.8 kB / 20.49 MB, free: 1.316 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.001382/0.001382, allocations: 218 kB / 23.79 MB, free: 4.449 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.384/1.384, allocations: 230.6 MB / 257.6 MB, free: 7.773 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.9654/0.9654, allocations: 150 MB / 464 MB, free: 10.21 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.00199/0.00199, allocations: 64.3 kB / 0.6425 GB, free: 9.348 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1658, allocations: 89.18 MB / 0.7296 GB, free: 248 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001863/0.1677, allocations: 0.662 MB / 0.7302 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1691, allocations: 1.093 MB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.1691, allocations: 4 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.1692, allocations: 7.922 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.1693, allocations: 11.92 kB / 0.7313 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.1696, allocations: 47.84 kB / 0.7313 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1697, allocations: 75.81 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1698, allocations: 4 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.328e-05/0.1699, allocations: 27.92 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.1699, allocations: 35.83 kB / 0.7315 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.17, allocations: 4 kB / 0.7315 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.693e-05/0.17, allocations: 23.98 kB / 0.7315 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.1701, allocations: 15.98 kB / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.1701, allocations: 19.86 kB / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1703, allocations: 79.69 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1703, allocations: 4 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1703, allocations: 3.938 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.1703, allocations: 4 kB / 0.7316 GB, free: 14.11 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.0006776/0.171, allocations: 314.1 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.171, allocations: 8.031 kB / 0.7319 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.797e-05/0.1711, allocations: 8.891 kB / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1712, allocations: 110.5 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1712, allocations: 12.31 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1712, allocations: 8.375 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.1715, allocations: 79.95 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1715, allocations: 192 / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1715, allocations: 7.938 kB / 0.7322 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1715, allocations: 0 / 0.7322 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1717, allocations: 55.89 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.1722, allocations: 252.4 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1724, allocations: 74.55 kB / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1725, allocations: 44.77 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.1725, allocations: 4.125 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.1728, allocations: 87.36 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1728, allocations: 0 / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005113/0.1733, allocations: 173.5 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1733, allocations: 59.41 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/0.1734, allocations: 109.8 kB / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1734, allocations: 33.7 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.1735, allocations: 80.38 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1735, allocations: 31.77 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.1736, allocations: 37.7 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1737, allocations: 314.8 kB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1738, allocations: 35.97 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.174, allocations: 74.47 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.1742, allocations: 90.55 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1742, allocations: 0 / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003229/0.1746, allocations: 147.2 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1746, allocations: 12.44 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1746, allocations: 0 / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1746, allocations: 3.984 kB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1747, allocations: 23.92 kB / 0.7338 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1747, allocations: 3.938 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.1748, allocations: 15.95 kB / 0.7338 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1748, allocations: 4 kB / 0.7338 GB, free: 11.64 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.0001021/0.1749, allocations: 125.8 kB / 0.734 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.175, allocations: 11.98 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.1753, allocations: 149.9 kB / 0.7341 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1753, allocations: 4 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1753, allocations: 0 / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1753, allocations: 0 / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.1758, allocations: 354 kB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1758, allocations: 0 / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.067e-05/0.1759, allocations: 11.98 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1759, allocations: 4 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1759, allocations: 0 / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1759, allocations: 0 / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1759, allocations: 256 / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.1763, allocations: 247.3 kB / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.1763, allocations: 0 / 0.7347 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1763, allocations: 12 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1764, allocations: 7.984 kB / 0.7347 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1765, allocations: 7.984 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1765, allocations: 4 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.111e-05/0.1765, allocations: 95.48 kB / 0.7348 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1765, allocations: 0 / 0.7348 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002422/0.1768, allocations: 16 kB / 0.7348 GB, free: 10.55 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000155/0.1769, allocations: 110 kB / 0.735 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.1772, allocations: 103.8 kB / 0.7351 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1772, allocations: 0 / 0.7351 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.1774, allocations: 48.08 kB / 0.7351 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.1776, allocations: 14.8 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.178, allocations: 166.7 kB / 0.7353 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.1781, allocations: 71.33 kB / 0.7353 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.1781, allocations: 4.438 kB / 0.7353 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.1782, allocations: 11.44 kB / 0.7354 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1782, allocations: 4 kB / 0.7354 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of Templates: time 0.003861/0.182, allocations: 1.089 MB / 0.7364 GB, free: 8.91 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.408041805028915] Failed to read output from testmodel.py, exit status != 0: 0.1903376050759107 0.20405723599999995 0.030896819000000002 Calling exit ...