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.0009561/0.0009562, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.001061, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.669/1.669, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7946/0.7946, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 8 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 77.16 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001558/0.1445, allocations: 1.161 MB / 0.558 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006403/0.1451, allocations: 435.4 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.1452, allocations: 0 / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.607e-05/0.1453, allocations: 0 / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.1453, allocations: 19.91 kB / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.1455, allocations: 23.95 kB / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.1456, allocations: 51.88 kB / 0.5585 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1457, allocations: 16.17 kB / 0.5585 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1458, allocations: 47.83 kB / 0.5585 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.1459, allocations: 31.89 kB / 0.5586 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.146, allocations: 7.938 kB / 0.5586 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.146, allocations: 7.938 kB / 0.5586 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.146, allocations: 11.98 kB / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.1461, allocations: 41.64 kB / 0.5586 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.447e-05/0.1462, allocations: 51.89 kB / 0.5587 GB, free: 9.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1462, allocations: 0 / 0.5587 GB, free: 9.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1462, allocations: 0 / 0.5587 GB, free: 9.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1462, allocations: 0 / 0.5587 GB, free: 9.711 MB / 430.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.0006256/0.1468, allocations: 446.8 kB / 0.5591 GB, free: 9.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1469, allocations: 12.02 kB / 0.5591 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.1469, allocations: 7.906 kB / 0.5591 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1471, allocations: 187 kB / 0.5593 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1471, allocations: 0 / 0.5593 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1472, allocations: 8 kB / 0.5593 GB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.1475, allocations: 121.6 kB / 0.5594 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1475, allocations: 3.953 kB / 0.5594 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1475, allocations: 7.938 kB / 0.5594 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1475, allocations: 0 / 0.5594 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.1478, allocations: 103.9 kB / 0.5595 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.1484, allocations: 344.7 kB / 0.5599 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.1487, allocations: 118.5 kB / 0.56 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1487, allocations: 8 kB / 0.56 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003189/0.1491, allocations: 127.4 kB / 0.5601 GB, free: 8.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 3.496e-06/0.1491, allocations: 3.984 kB / 0.5601 GB, free: 8.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007011/0.1498, allocations: 299.2 kB / 0.5604 GB, free: 7.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1498, allocations: 89.11 kB / 0.5605 GB, free: 7.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.15, allocations: 127.4 kB / 0.5606 GB, free: 7.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.15, allocations: 33.64 kB / 0.5606 GB, free: 7.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.1501, allocations: 96.05 kB / 0.5607 GB, free: 7.387 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1501, allocations: 19.73 kB / 0.5607 GB, free: 7.367 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.1501, allocations: 11.94 kB / 0.5608 GB, free: 7.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1502, allocations: 314.8 kB / 0.5611 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.1504, allocations: 75.94 kB / 0.5611 GB, free: 6.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.1506, allocations: 75.95 kB / 0.5612 GB, free: 6.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.1508, allocations: 111.4 kB / 0.5613 GB, free: 6.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1508, allocations: 0 / 0.5613 GB, free: 6.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004911/0.1513, allocations: 276.8 kB / 0.5616 GB, free: 6.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.1514, allocations: 67.39 kB / 0.5616 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1514, allocations: 4 kB / 0.5616 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1514, allocations: 0 / 0.5616 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1515, allocations: 19.98 kB / 0.5617 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1515, allocations: 0 / 0.5617 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.1517, allocations: 31.97 kB / 0.5617 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1517, allocations: 8 kB / 0.5617 GB, free: 6.34 MB / 430.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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.1518, allocations: 151.5 kB / 0.5618 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.1519, allocations: 15.86 kB / 0.5619 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.1519, allocations: 8.375 kB / 0.5619 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1519, allocations: 0 / 0.5619 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1519, allocations: 0 / 0.5619 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1519, allocations: 4 kB / 0.5619 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1521, allocations: 189.7 kB / 0.5621 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1521, allocations: 0 / 0.5621 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.1522, allocations: 24.17 kB / 0.5621 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1522, allocations: 3.953 kB / 0.5621 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1522, allocations: 8 kB / 0.5621 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1522, allocations: 0 / 0.5621 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1522, allocations: 0 / 0.5621 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.1527, allocations: 258.6 kB / 0.5623 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.1527, allocations: 96.94 kB / 0.5624 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1528, allocations: 7.953 kB / 0.5624 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1529, allocations: 27.97 kB / 0.5625 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.153, allocations: 35.95 kB / 0.5625 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1531, allocations: 8 kB / 0.5625 GB, free: 5.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.221e-05/0.1531, allocations: 101 kB / 0.5626 GB, free: 5.312 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1531, allocations: 0 / 0.5626 GB, free: 5.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002025/0.1533, allocations: 24 kB / 0.5626 GB, free: 5.289 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001052/0.1535, allocations: 103.9 kB / 0.5627 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.1539, allocations: 278.7 kB / 0.563 GB, free: 4.883 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.154, allocations: 0 / 0.563 GB, free: 4.883 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.1542, allocations: 151.3 kB / 0.5631 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.1544, allocations: 11.94 kB / 0.5631 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.1549, allocations: 237.2 kB / 0.5634 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1552, allocations: 0.6965 MB / 0.564 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.795e-05/0.1553, allocations: 8.172 kB / 0.5641 GB, free: 3.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.1553, allocations: 11.44 kB / 0.5641 GB, free: 3.703 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1553, allocations: 0 / 0.5641 GB, free: 3.703 MB / 430.1 MB Notification: Performance of Templates: time 0.00366/0.159, allocations: 1.529 MB / 0.5656 GB, free: 2.199 MB / 430.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)