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.001118/0.001123, allocations: 99.92 kB / 16.4 MB, free: 6.457 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.001117/0.001117, allocations: 196 kB / 17.34 MB, free: 5.715 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7474/0.7474, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 56.56 kB / 0.5685 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1257, allocations: 77.94 MB / 0.6446 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.00235/0.1281, allocations: 1.461 MB / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007024/0.1288, allocations: 466.9 kB / 0.6464 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.1289, allocations: 0 / 0.6464 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.163e-05/0.129, allocations: 7.922 kB / 0.6464 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.054e-05/0.129, allocations: 11.88 kB / 0.6465 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.1292, allocations: 39.89 kB / 0.6465 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1294, allocations: 103.7 kB / 0.6466 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.1295, allocations: 8.188 kB / 0.6466 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1296, allocations: 51.84 kB / 0.6467 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.1297, allocations: 43.83 kB / 0.6467 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.1297, allocations: 8 kB / 0.6467 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.1297, allocations: 8 kB / 0.6467 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.1298, allocations: 15.97 kB / 0.6467 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.1299, allocations: 43.78 kB / 0.6468 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.13, allocations: 79.7 kB / 0.6468 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.13, allocations: 0 / 0.6468 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.13, allocations: 0 / 0.6468 GB, free: 6.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.13, allocations: 7.938 kB / 0.6469 GB, free: 6.652 MB / 494.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.0006415/0.1307, allocations: 454.5 kB / 0.6473 GB, free: 6.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1307, allocations: 8.625 kB / 0.6473 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1308, allocations: 12.89 kB / 0.6473 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.1309, allocations: 188.2 kB / 0.6475 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1309, allocations: 4.375 kB / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.131, allocations: 12.36 kB / 0.6475 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.1313, allocations: 113.8 kB / 0.6476 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1313, allocations: 4 kB / 0.6476 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1313, allocations: 7.984 kB / 0.6476 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1313, allocations: 4 kB / 0.6476 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.1316, allocations: 83.92 kB / 0.6477 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.1321, allocations: 336.6 kB / 0.648 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.1325, allocations: 110.5 kB / 0.6481 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.1327, allocations: 70.06 kB / 0.6482 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1327, allocations: 4 kB / 0.6482 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.133, allocations: 123.3 kB / 0.6483 GB, free: 4.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 3.166e-06/0.133, allocations: 0 / 0.6483 GB, free: 4.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006844/0.1337, allocations: 271.2 kB / 0.6486 GB, free: 4.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.1338, allocations: 89.09 kB / 0.6487 GB, free: 4.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1339, allocations: 129.8 kB / 0.6488 GB, free: 4.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1339, allocations: 37.64 kB / 0.6488 GB, free: 4.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.134, allocations: 100 kB / 0.6489 GB, free: 4.309 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.134, allocations: 19.89 kB / 0.6489 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.1341, allocations: 21.72 kB / 0.649 GB, free: 4.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1342, allocations: 326.8 kB / 0.6493 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.1344, allocations: 63.95 kB / 0.6493 GB, free: 3.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.1346, allocations: 71.94 kB / 0.6494 GB, free: 3.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.1349, allocations: 185.9 kB / 0.6496 GB, free: 3.598 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1349, allocations: 3.938 kB / 0.6496 GB, free: 3.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004945/0.1354, allocations: 257 kB / 0.6498 GB, free: 3.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/0.1355, allocations: 67.39 kB / 0.6499 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1355, allocations: 4.188 kB / 0.6499 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1355, allocations: 4 kB / 0.6499 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1356, allocations: 19.98 kB / 0.6499 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1357, allocations: 0 / 0.6499 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.1358, allocations: 19.97 kB / 0.6499 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1358, allocations: 8 kB / 0.6499 GB, free: 3.191 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.0001161/0.136, allocations: 155.5 kB / 0.6501 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.136, allocations: 11.94 kB / 0.6501 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.136, allocations: 12.38 kB / 0.6501 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.136, allocations: 4 kB / 0.6501 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.136, allocations: 0 / 0.6501 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.136, allocations: 0 / 0.6501 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.1362, allocations: 201.5 kB / 0.6503 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1362, allocations: 0 / 0.6503 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.1363, allocations: 11.98 kB / 0.6503 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1363, allocations: 0 / 0.6503 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1363, allocations: 4 kB / 0.6503 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1363, allocations: 0 / 0.6503 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1363, allocations: 4 kB / 0.6503 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.1368, allocations: 250.6 kB / 0.6506 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1369, allocations: 85.05 kB / 0.6506 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1369, allocations: 8 kB / 0.6507 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1371, allocations: 15.98 kB / 0.6507 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.1372, allocations: 39.95 kB / 0.6507 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1372, allocations: 4 kB / 0.6507 GB, free: 2.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.1373, allocations: 102 kB / 0.6508 GB, free: 2.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1373, allocations: 0 / 0.6508 GB, free: 2.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1375, allocations: 31.94 kB / 0.6508 GB, free: 2.156 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 9.938e-05/0.1376, allocations: 99.23 kB / 0.6509 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.1381, allocations: 274.6 kB / 0.6512 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.1381, allocations: 0 / 0.6512 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.1384, allocations: 131.4 kB / 0.6513 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.1386, allocations: 21.33 kB / 0.6513 GB, free: 1.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.1391, allocations: 223.3 kB / 0.6516 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1393, allocations: 0.6924 MB / 0.6522 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.301e-05/0.1394, allocations: 7.984 kB / 0.6522 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.1394, allocations: 11.44 kB / 0.6523 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1394, allocations: 0 / 0.6523 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of Templates: time 0.004323/0.1438, allocations: 1.861 MB / 0.6541 GB, free: 14.77 MB / 0.4981 GB 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)