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.001309/0.001309, allocations: 114.3 kB / 17.08 MB, free: 6.008 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.001263/0.001263, allocations: 197.8 kB / 18.02 MB, free: 5.086 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.368/1.368, 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.7226/0.7226, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 69.17 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1428, allocations: 76.17 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002831/0.1457, allocations: 1.473 MB / 0.6341 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000905/0.1466, allocations: 466.9 kB / 0.6346 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.1467, allocations: 4 kB / 0.6346 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.1468, allocations: 7.938 kB / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.1469, allocations: 11.86 kB / 0.6346 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.1472, allocations: 35.89 kB / 0.6346 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1473, allocations: 99.81 kB / 0.6347 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1474, allocations: 16.17 kB / 0.6347 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1476, allocations: 51.72 kB / 0.6348 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1477, allocations: 39.88 kB / 0.6348 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.1477, allocations: 8 kB / 0.6348 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.1478, allocations: 8 kB / 0.6348 GB, free: 2.215 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.1478, allocations: 19.92 kB / 0.6349 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.1479, allocations: 39.8 kB / 0.6349 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1481, allocations: 87.69 kB / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1481, allocations: 0 / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1481, allocations: 0 / 0.635 GB, free: 2.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1481, allocations: 0 / 0.635 GB, free: 2.07 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.0007394/0.1488, allocations: 446.6 kB / 0.6354 GB, free: 1.574 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1489, allocations: 8.031 kB / 0.6354 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.149, allocations: 12.94 kB / 0.6354 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1492, allocations: 196 kB / 0.6356 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1492, allocations: 8.375 kB / 0.6356 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1492, allocations: 4.375 kB / 0.6356 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.1495, allocations: 121.7 kB / 0.6357 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1496, allocations: 0 / 0.6357 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1496, allocations: 0 / 0.6357 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1496, allocations: 0 / 0.6357 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.1499, allocations: 95.91 kB / 0.6358 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.1505, allocations: 328.7 kB / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.1508, allocations: 106.5 kB / 0.6363 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.151, allocations: 72.94 kB / 0.6363 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.151, allocations: 4 kB / 0.6363 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.1513, allocations: 119.3 kB / 0.6364 GB, free: 412 kB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1514, allocations: 0 / 0.6364 GB, free: 412 kB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.000692/0.1521, allocations: 279.1 kB / 0.6367 GB, free: 120 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.1521, allocations: 85.11 kB / 0.6368 GB, free: 16 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1523, allocations: 129.8 kB / 0.6369 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1523, allocations: 33.7 kB / 0.6369 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.1524, allocations: 99.97 kB / 0.637 GB, free: 15.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1524, allocations: 15.81 kB / 0.6371 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.1525, allocations: 29.7 kB / 0.6371 GB, free: 15.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1526, allocations: 330.7 kB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.1528, allocations: 59.95 kB / 0.6375 GB, free: 15.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.153, allocations: 71.94 kB / 0.6375 GB, free: 15.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.1533, allocations: 185.9 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1533, allocations: 4 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004824/0.1538, allocations: 256.9 kB / 0.6379 GB, free: 14.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.1539, allocations: 63.39 kB / 0.638 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1539, allocations: 256 / 0.638 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1539, allocations: 0 / 0.638 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.154, allocations: 23.92 kB / 0.638 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.154, allocations: 0 / 0.638 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1542, allocations: 27.97 kB / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1542, allocations: 4 kB / 0.6381 GB, free: 14.62 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.0001354/0.1544, allocations: 159.5 kB / 0.6382 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.1544, allocations: 7.906 kB / 0.6382 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.1544, allocations: 12.36 kB / 0.6382 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1545, allocations: 4 kB / 0.6382 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1545, allocations: 0 / 0.6382 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1545, allocations: 0 / 0.6382 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1546, allocations: 197.5 kB / 0.6384 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1546, allocations: 4 kB / 0.6384 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.462e-05/0.1547, allocations: 11.98 kB / 0.6384 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1547, allocations: 0 / 0.6384 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1548, allocations: 11.98 kB / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1548, allocations: 0 / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1548, allocations: 0 / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.1553, allocations: 250.5 kB / 0.6387 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.1553, allocations: 88.95 kB / 0.6388 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1554, allocations: 4 kB / 0.6388 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1555, allocations: 19.97 kB / 0.6388 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.1556, allocations: 31.97 kB / 0.6388 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1556, allocations: 7.984 kB / 0.6388 GB, free: 13.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.242e-05/0.1557, allocations: 105.7 kB / 0.6389 GB, free: 13.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1557, allocations: 0 / 0.6389 GB, free: 13.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.1559, allocations: 31.94 kB / 0.639 GB, free: 13.58 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.0001014/0.156, allocations: 99.25 kB / 0.6391 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000495/0.1565, allocations: 270.6 kB / 0.6393 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1566, allocations: 0 / 0.6393 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.1568, allocations: 135.3 kB / 0.6394 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.157, allocations: 18.19 kB / 0.6395 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.1576, allocations: 245.2 kB / 0.6397 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1579, allocations: 0.6885 MB / 0.6404 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.1579, allocations: 11.44 kB / 0.6404 GB, free: 12.02 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1579, allocations: 0 / 0.6404 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Templates: time 0.003181/0.1611, allocations: 1.45 MB / 0.6418 GB, free: 10.59 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)