Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00592/0.00592, allocations: 100.1 kB / 15.73 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.001493/0.001493, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.211/1.211, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.796/0.796, allocations: 143 MB / 433.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 64.39 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1412, allocations: 82.04 MB / 0.6756 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002233/0.1435, allocations: 1.467 MB / 0.677 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006827/0.1442, allocations: 462.8 kB / 0.6775 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.1443, allocations: 4 kB / 0.6775 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.234e-05/0.1444, allocations: 7.875 kB / 0.6775 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.1444, allocations: 19.8 kB / 0.6775 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.1446, allocations: 35.94 kB / 0.6775 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1448, allocations: 103.8 kB / 0.6776 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.1449, allocations: 16.17 kB / 0.6776 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.145, allocations: 43.89 kB / 0.6777 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.1451, allocations: 39.83 kB / 0.6777 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.1451, allocations: 12 kB / 0.6777 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.1451, allocations: 8 kB / 0.6777 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.1452, allocations: 19.86 kB / 0.6778 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.1453, allocations: 35.86 kB / 0.6778 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1454, allocations: 83.69 kB / 0.6779 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1454, allocations: 0 / 0.6779 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1454, allocations: 0 / 0.6779 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.1454, allocations: 0 / 0.6779 GB, free: 8.039 MB / 0.5137 GB 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.0006328/0.1461, allocations: 454.6 kB / 0.6783 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1461, allocations: 8.031 kB / 0.6783 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.1462, allocations: 12.84 kB / 0.6783 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1463, allocations: 188.2 kB / 0.6785 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1463, allocations: 8.375 kB / 0.6785 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1464, allocations: 4.375 kB / 0.6785 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.1467, allocations: 133.6 kB / 0.6786 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1467, allocations: 0 / 0.6786 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1467, allocations: 0 / 0.6786 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1467, allocations: 4 kB / 0.6787 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.147, allocations: 91.91 kB / 0.6787 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.1475, allocations: 332.7 kB / 0.6791 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.1478, allocations: 110.5 kB / 0.6792 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.148, allocations: 72.88 kB / 0.6792 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.148, allocations: 7.938 kB / 0.6792 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.1483, allocations: 119.3 kB / 0.6794 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1483, allocations: 0 / 0.6794 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006673/0.149, allocations: 275.2 kB / 0.6796 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1491, allocations: 93.03 kB / 0.6797 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.694e-05/0.1492, allocations: 127.9 kB / 0.6798 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1492, allocations: 33.7 kB / 0.6799 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.1493, allocations: 95.98 kB / 0.68 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.1493, allocations: 23.8 kB / 0.68 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.1493, allocations: 25.72 kB / 0.68 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.1495, allocations: 326.8 kB / 0.6803 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.1496, allocations: 59.95 kB / 0.6804 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.1498, allocations: 67.95 kB / 0.6804 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.1502, allocations: 181.9 kB / 0.6806 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1502, allocations: 0 / 0.6806 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004683/0.1506, allocations: 268.9 kB / 0.6809 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.1507, allocations: 65.27 kB / 0.6809 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1507, allocations: 0 / 0.6809 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1507, allocations: 3.938 kB / 0.6809 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1508, allocations: 15.98 kB / 0.6809 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1509, allocations: 4 kB / 0.6809 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.151, allocations: 23.97 kB / 0.681 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.151, allocations: 4 kB / 0.681 GB, free: 4.574 MB / 0.5137 GB 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.0001137/0.1512, allocations: 164.1 kB / 0.6811 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.1512, allocations: 11.84 kB / 0.6811 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.1512, allocations: 12.36 kB / 0.6812 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1512, allocations: 4 kB / 0.6812 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1512, allocations: 4 kB / 0.6812 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1512, allocations: 0 / 0.6812 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1514, allocations: 193.5 kB / 0.6813 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1514, allocations: 0 / 0.6813 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/0.1515, allocations: 11.98 kB / 0.6814 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1515, allocations: 0 / 0.6814 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1515, allocations: 8 kB / 0.6814 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1515, allocations: 0 / 0.6814 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1515, allocations: 0 / 0.6814 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.152, allocations: 250.6 kB / 0.6816 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.152, allocations: 84.95 kB / 0.6817 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.152, allocations: 8.297 kB / 0.6817 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1522, allocations: 15.98 kB / 0.6817 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.1523, allocations: 39.89 kB / 0.6817 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1523, allocations: 8 kB / 0.6818 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.1524, allocations: 103.3 kB / 0.6819 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1524, allocations: 0 / 0.6819 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002008/0.1526, allocations: 27.94 kB / 0.6819 GB, free: 3.535 MB / 0.5137 GB 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.158e-05/0.1527, allocations: 103.2 kB / 0.682 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004751/0.1532, allocations: 262.7 kB / 0.6822 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1532, allocations: 0 / 0.6822 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.1534, allocations: 143.3 kB / 0.6824 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.1536, allocations: 15.98 kB / 0.6824 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.1541, allocations: 215.2 kB / 0.6826 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.1543, allocations: 0.6885 MB / 0.6833 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.965e-05/0.1544, allocations: 19.97 kB / 0.6833 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.1544, allocations: 15.44 kB / 0.6833 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1544, allocations: 3.938 kB / 0.6833 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of Templates: time 0.003794/0.1582, allocations: 1.866 MB / 0.6851 GB, free: 140 kB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)