Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 120.5 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 189.9 kB / 18.02 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7307/0.7307, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 65.92 kB / 0.5583 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.159, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003453/0.1625, allocations: 1.47 MB / 0.6341 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1635, allocations: 462.9 kB / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.1637, allocations: 0 / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.1638, allocations: 3.938 kB / 0.6346 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.1639, allocations: 11.88 kB / 0.6346 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1642, allocations: 43.88 kB / 0.6346 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1644, allocations: 95.81 kB / 0.6347 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1645, allocations: 8.188 kB / 0.6347 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.1647, allocations: 59.75 kB / 0.6348 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1648, allocations: 39.89 kB / 0.6348 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.1649, allocations: 11.94 kB / 0.6348 GB, free: 2.211 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.346e-05/0.1649, allocations: 8 kB / 0.6348 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.165, allocations: 12 kB / 0.6349 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.1651, allocations: 43.78 kB / 0.6349 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1653, allocations: 83.69 kB / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1653, allocations: 0 / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1653, allocations: 0 / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1653, allocations: 0 / 0.635 GB, free: 2.066 MB / 478.1 MB 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.0008203/0.1661, allocations: 462.5 kB / 0.6354 GB, free: 1.555 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1662, allocations: 8.031 kB / 0.6354 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.1662, allocations: 4.938 kB / 0.6354 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1664, allocations: 192.1 kB / 0.6356 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1665, allocations: 4.375 kB / 0.6356 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1665, allocations: 12.38 kB / 0.6356 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.1668, allocations: 113.7 kB / 0.6357 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1668, allocations: 0 / 0.6357 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1669, allocations: 8 kB / 0.6357 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1669, allocations: 0 / 0.6357 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.1672, allocations: 91.86 kB / 0.6358 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.1678, allocations: 324.8 kB / 0.6361 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.1681, allocations: 110.5 kB / 0.6362 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.1683, allocations: 72.94 kB / 0.6363 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.1684, allocations: 0 / 0.6363 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/0.1687, allocations: 127.2 kB / 0.6364 GB, free: 400 kB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1687, allocations: 4 kB / 0.6364 GB, free: 396 kB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007518/0.1695, allocations: 279.3 kB / 0.6367 GB, free: 104 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.1696, allocations: 85.11 kB / 0.6368 GB, free: 0 / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1697, allocations: 132.6 kB / 0.6369 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1697, allocations: 29.7 kB / 0.6369 GB, free: 15.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.1698, allocations: 104 kB / 0.637 GB, free: 15.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.1698, allocations: 19.73 kB / 0.6371 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.641e-05/0.1699, allocations: 29.72 kB / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1701, allocations: 322.8 kB / 0.6374 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1703, allocations: 63.95 kB / 0.6375 GB, free: 15.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.1705, allocations: 71.88 kB / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.1708, allocations: 181.9 kB / 0.6377 GB, free: 15.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1708, allocations: 0 / 0.6377 GB, free: 15.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005018/0.1713, allocations: 264.9 kB / 0.638 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.1714, allocations: 68.95 kB / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1714, allocations: 0 / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1715, allocations: 4 kB / 0.638 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1716, allocations: 15.98 kB / 0.638 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1716, allocations: 0 / 0.638 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.1718, allocations: 19.97 kB / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1718, allocations: 8 kB / 0.6381 GB, free: 14.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001504/0.172, allocations: 155.5 kB / 0.6382 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.172, allocations: 8 kB / 0.6382 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.172, allocations: 16.31 kB / 0.6382 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.172, allocations: 7.984 kB / 0.6382 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.172, allocations: 0 / 0.6382 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1721, allocations: 0 / 0.6382 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.1722, allocations: 197.5 kB / 0.6384 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1722, allocations: 0 / 0.6384 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.1723, allocations: 11.98 kB / 0.6384 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1723, allocations: 3.938 kB / 0.6384 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1724, allocations: 4 kB / 0.6384 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1724, allocations: 3.984 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1724, allocations: 0 / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.1729, allocations: 250.6 kB / 0.6387 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.173, allocations: 84.95 kB / 0.6388 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.173, allocations: 4 kB / 0.6388 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1732, allocations: 23.97 kB / 0.6388 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.1733, allocations: 32.09 kB / 0.6388 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.1733, allocations: 12 kB / 0.6388 GB, free: 13.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.76e-05/0.1734, allocations: 99.27 kB / 0.6389 GB, free: 13.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.655e-06/0.1734, allocations: 0 / 0.6389 GB, free: 13.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1736, allocations: 35.86 kB / 0.639 GB, free: 13.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001134/0.1738, allocations: 103.2 kB / 0.6391 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.1743, allocations: 262.7 kB / 0.6393 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1743, allocations: 4 kB / 0.6393 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.1746, allocations: 139.3 kB / 0.6395 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1748, allocations: 12 kB / 0.6395 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.1754, allocations: 237 kB / 0.6397 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1757, allocations: 0.6924 MB / 0.6404 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.1758, allocations: 15.44 kB / 0.6404 GB, free: 12.01 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1758, allocations: 4 kB / 0.6404 GB, free: 12 MB / 494.1 MB Notification: Performance of Templates: time 0.003276/0.1791, allocations: 1.441 MB / 0.6418 GB, free: 10.58 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)