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.001186/0.001186, allocations: 103.5 kB / 16.4 MB, free: 6.023 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.001173/0.001173, allocations: 190.7 kB / 17.34 MB, free: 5.633 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.21 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.8253/0.8253, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001128, allocations: 58.61 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1473, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002544/0.1498, allocations: 1.479 MB / 0.6777 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.1507, allocations: 462.8 kB / 0.6781 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.1507, allocations: 4 kB / 0.6782 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.688e-05/0.1508, allocations: 3.938 kB / 0.6782 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/0.1509, allocations: 11.86 kB / 0.6782 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.1511, allocations: 35.89 kB / 0.6782 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1513, allocations: 99.77 kB / 0.6783 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1514, allocations: 24.16 kB / 0.6783 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1515, allocations: 43.84 kB / 0.6784 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.1516, allocations: 47.83 kB / 0.6784 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1517, allocations: 8 kB / 0.6784 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.939e-05/0.1517, allocations: 8 kB / 0.6784 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.1517, allocations: 19.91 kB / 0.6784 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.1518, allocations: 35.86 kB / 0.6785 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1519, allocations: 83.69 kB / 0.6786 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1519, allocations: 0 / 0.6786 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.152, allocations: 0 / 0.6786 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.152, allocations: 0 / 0.6786 GB, free: 8.031 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.0006697/0.1526, allocations: 454.6 kB / 0.679 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1527, allocations: 8.031 kB / 0.679 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.1527, allocations: 12.84 kB / 0.679 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1529, allocations: 192.2 kB / 0.6792 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1529, allocations: 16.3 kB / 0.6792 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.153, allocations: 8.375 kB / 0.6792 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1533, allocations: 109.8 kB / 0.6793 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1533, allocations: 4 kB / 0.6793 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1533, allocations: 4 kB / 0.6793 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1533, allocations: 4 kB / 0.6793 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.1536, allocations: 87.92 kB / 0.6794 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.1542, allocations: 332.6 kB / 0.6797 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.1545, allocations: 110.5 kB / 0.6798 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1547, allocations: 68.94 kB / 0.6799 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1547, allocations: 80 / 0.6799 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.155, allocations: 127.2 kB / 0.68 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.155, allocations: 8 kB / 0.68 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006898/0.1557, allocations: 271.2 kB / 0.6803 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.1558, allocations: 85.11 kB / 0.6804 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1559, allocations: 131.5 kB / 0.6805 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1559, allocations: 29.7 kB / 0.6805 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.156, allocations: 95.98 kB / 0.6806 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.156, allocations: 23.8 kB / 0.6806 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.1561, allocations: 25.72 kB / 0.6807 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1562, allocations: 326.8 kB / 0.681 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.1564, allocations: 63.95 kB / 0.681 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.1566, allocations: 63.95 kB / 0.6811 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.1569, allocations: 189.8 kB / 0.6813 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1569, allocations: 0 / 0.6813 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004847/0.1574, allocations: 264.9 kB / 0.6815 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/0.1575, allocations: 69.42 kB / 0.6816 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1575, allocations: 0 / 0.6816 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1575, allocations: 0 / 0.6816 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1576, allocations: 15.98 kB / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1577, allocations: 4 kB / 0.6816 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1578, allocations: 23.91 kB / 0.6816 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1578, allocations: 8 kB / 0.6816 GB, free: 4.57 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.0001167/0.158, allocations: 152.1 kB / 0.6818 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.158, allocations: 15.89 kB / 0.6818 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.158, allocations: 8.375 kB / 0.6818 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.158, allocations: 7.984 kB / 0.6818 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.158, allocations: 4 kB / 0.6818 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1581, allocations: 0 / 0.6818 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.1582, allocations: 193.5 kB / 0.682 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1582, allocations: 4.25 kB / 0.682 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.1583, allocations: 11.98 kB / 0.682 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1583, allocations: 4 kB / 0.682 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1583, allocations: 0 / 0.682 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1583, allocations: 4 kB / 0.682 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1584, allocations: 3.938 kB / 0.682 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.1588, allocations: 246.6 kB / 0.6823 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.1589, allocations: 92.94 kB / 0.6824 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.1589, allocations: 4 kB / 0.6824 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1591, allocations: 19.98 kB / 0.6824 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.1592, allocations: 31.95 kB / 0.6824 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1592, allocations: 12 kB / 0.6824 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.1593, allocations: 95.27 kB / 0.6825 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1593, allocations: 0 / 0.6825 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002123/0.1595, allocations: 31.94 kB / 0.6826 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 0.0001184/0.1596, allocations: 99.23 kB / 0.6826 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.1602, allocations: 274.6 kB / 0.6829 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1602, allocations: 4 kB / 0.6829 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.1604, allocations: 131.4 kB / 0.683 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.0002077/0.1606, allocations: 18.22 kB / 0.6831 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.1612, allocations: 248.8 kB / 0.6833 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1614, allocations: 0.6885 MB / 0.684 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.1615, allocations: 19.42 kB / 0.684 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of SimCode: time 4.3e-07/0.1615, allocations: 3.938 kB / 0.684 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of Templates: time 0.002958/0.1644, allocations: 1.44 MB / 0.6854 GB, free: 0.5312 MB / 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)