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.001551/0.001551, allocations: 113.1 kB / 17.09 MB, free: 5.949 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.001788/0.001788, allocations: 198.8 kB / 18.03 MB, free: 5.031 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.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6771/0.6771, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 65.98 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1354, allocations: 76.18 MB / 0.6327 GB, free: 4.469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.00304/0.1385, allocations: 1.473 MB / 0.6341 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.1394, allocations: 459 kB / 0.6346 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.1395, allocations: 4 kB / 0.6346 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.753e-05/0.1396, allocations: 7.875 kB / 0.6346 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.1397, allocations: 11.86 kB / 0.6346 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1399, allocations: 39.94 kB / 0.6346 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1401, allocations: 95.77 kB / 0.6347 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1402, allocations: 16.17 kB / 0.6347 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1404, allocations: 47.78 kB / 0.6348 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.1405, allocations: 43.88 kB / 0.6348 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.1405, allocations: 8 kB / 0.6348 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.1406, allocations: 11.94 kB / 0.6349 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.1406, allocations: 11.98 kB / 0.6349 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.1407, allocations: 39.8 kB / 0.6349 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1408, allocations: 87.69 kB / 0.635 GB, free: 2.113 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1408, allocations: 4 kB / 0.635 GB, free: 2.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1409, allocations: 0 / 0.635 GB, free: 2.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1409, allocations: 4 kB / 0.635 GB, free: 2.105 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.0008269/0.1417, allocations: 442.6 kB / 0.6354 GB, free: 1.613 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1418, allocations: 8.031 kB / 0.6354 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.1418, allocations: 8.938 kB / 0.6354 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.142, allocations: 192.1 kB / 0.6356 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.142, allocations: 8.375 kB / 0.6356 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.1421, allocations: 16.3 kB / 0.6356 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.1424, allocations: 113.7 kB / 0.6357 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1424, allocations: 4 kB / 0.6358 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1424, allocations: 7.938 kB / 0.6358 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1424, allocations: 0 / 0.6358 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.1427, allocations: 91.91 kB / 0.6358 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.1432, allocations: 328.8 kB / 0.6362 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1435, allocations: 106.5 kB / 0.6363 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1437, allocations: 68.94 kB / 0.6363 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1438, allocations: 4 kB / 0.6363 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.1441, allocations: 119.3 kB / 0.6364 GB, free: 452 kB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.1441, allocations: 4 kB / 0.6364 GB, free: 448 kB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006676/0.1448, allocations: 279.3 kB / 0.6367 GB, free: 156 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1448, allocations: 85.11 kB / 0.6368 GB, free: 52 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.145, allocations: 133.8 kB / 0.6369 GB, free: 15.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.145, allocations: 29.7 kB / 0.637 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.1451, allocations: 99.97 kB / 0.637 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1451, allocations: 15.81 kB / 0.6371 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.1452, allocations: 33.64 kB / 0.6371 GB, free: 15.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1453, allocations: 322.8 kB / 0.6374 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.1455, allocations: 76 kB / 0.6375 GB, free: 15.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1457, allocations: 63.95 kB / 0.6375 GB, free: 15.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.146, allocations: 181.9 kB / 0.6377 GB, free: 15.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.146, allocations: 0 / 0.6377 GB, free: 15.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004871/0.1465, allocations: 264.8 kB / 0.638 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.1466, allocations: 63.41 kB / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1466, allocations: 96 / 0.638 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1466, allocations: 3.938 kB / 0.638 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1467, allocations: 11.98 kB / 0.638 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1468, allocations: 7.984 kB / 0.638 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1469, allocations: 19.98 kB / 0.6381 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1469, allocations: 7.938 kB / 0.6381 GB, free: 14.66 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.000121/0.1471, allocations: 159.5 kB / 0.6382 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.1471, allocations: 11.91 kB / 0.6382 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.1471, allocations: 8.375 kB / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1471, allocations: 0 / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1472, allocations: 3.984 kB / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.1472, allocations: 85.02 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1472, allocations: 7.938 kB / 0.6383 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1474, allocations: 19.97 kB / 0.6384 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.1475, allocations: 39.95 kB / 0.6384 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005847/0.1481, allocations: 354 kB / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005297/0.1486, allocations: 396.3 kB / 0.6391 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001925/0.1488, allocations: 75.95 kB / 0.6392 GB, free: 13.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.531e-05/0.1489, allocations: 107.1 kB / 0.6393 GB, free: 13.33 MB / 494.1 MB Notification: Performance of Backend: time 4.11e-07/0.1489, allocations: 0 / 0.6393 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005958/0.1495, allocations: 286.5 kB / 0.6396 GB, free: 13.02 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006055/0.1502, allocations: 0.6592 MB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of Templates: time 0.004909/0.1551, allocations: 2.062 MB / 0.6422 GB, free: 10.25 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)