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.005158/0.005158, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001219/0.001219, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.8001/0.8001, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 60.19 kB / 0.5955 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.14, 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.002323/0.1424, allocations: 1.479 MB / 0.677 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006825/0.1431, allocations: 466.9 kB / 0.6775 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.1431, allocations: 0 / 0.6775 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.379e-05/0.1432, allocations: 7.875 kB / 0.6775 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.1433, allocations: 11.86 kB / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1435, allocations: 35.94 kB / 0.6775 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.1437, allocations: 107.7 kB / 0.6776 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1438, allocations: 16.17 kB / 0.6777 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.144, allocations: 51.83 kB / 0.6777 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.1441, allocations: 35.83 kB / 0.6777 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.1441, allocations: 8 kB / 0.6777 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.1441, allocations: 12 kB / 0.6778 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.1442, allocations: 15.92 kB / 0.6778 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.1442, allocations: 35.86 kB / 0.6778 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1444, allocations: 83.69 kB / 0.6779 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1444, allocations: 0 / 0.6779 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.795e-06/0.1444, allocations: 4 kB / 0.6779 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.1444, allocations: 0 / 0.6779 GB, free: 8.02 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.0007692/0.1452, allocations: 444.5 kB / 0.6783 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1452, allocations: 20.02 kB / 0.6783 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.1453, allocations: 8.844 kB / 0.6783 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1455, allocations: 192.2 kB / 0.6785 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1455, allocations: 4.375 kB / 0.6785 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1455, allocations: 4.375 kB / 0.6785 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1458, allocations: 133.6 kB / 0.6787 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1458, allocations: 0 / 0.6787 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1458, allocations: 0 / 0.6787 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1458, allocations: 4 kB / 0.6787 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.1461, allocations: 91.91 kB / 0.6787 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.1466, allocations: 332.7 kB / 0.6791 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.147, allocations: 110.5 kB / 0.6792 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.1471, allocations: 72.88 kB / 0.6792 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.1472, allocations: 4 kB / 0.6792 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.1475, allocations: 123.3 kB / 0.6794 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1475, allocations: 0 / 0.6794 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006715/0.1482, allocations: 275.1 kB / 0.6796 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.1482, allocations: 89.09 kB / 0.6797 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.1483, allocations: 121.8 kB / 0.6798 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1483, allocations: 37.69 kB / 0.6799 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.1484, allocations: 95.98 kB / 0.68 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.1484, allocations: 15.81 kB / 0.68 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.1485, allocations: 37.7 kB / 0.68 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.1486, allocations: 322.8 kB / 0.6803 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.1488, allocations: 63.95 kB / 0.6804 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.149, allocations: 63.95 kB / 0.6804 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.1493, allocations: 181.9 kB / 0.6806 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1493, allocations: 4 kB / 0.6806 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004675/0.1498, allocations: 260.9 kB / 0.6809 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.1498, allocations: 63.39 kB / 0.6809 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1498, allocations: 0 / 0.6809 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1499, allocations: 0 / 0.6809 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.15, allocations: 20.23 kB / 0.6809 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.15, allocations: 0 / 0.6809 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.1502, allocations: 27.92 kB / 0.681 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1502, allocations: 8.078 kB / 0.681 GB, free: 4.562 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.0001096/0.1503, allocations: 167.3 kB / 0.6811 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.1503, allocations: 7.906 kB / 0.6811 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.1504, allocations: 16.36 kB / 0.6812 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1504, allocations: 0 / 0.6812 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1504, allocations: 0 / 0.6812 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1504, allocations: 4 kB / 0.6812 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.1505, allocations: 193.5 kB / 0.6813 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1505, allocations: 0 / 0.6813 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.471e-05/0.1506, allocations: 11.98 kB / 0.6814 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1506, allocations: 0 / 0.6814 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1506, allocations: 8 kB / 0.6814 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1506, allocations: 0 / 0.6814 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1507, allocations: 0 / 0.6814 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.1511, allocations: 254.5 kB / 0.6816 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.1512, allocations: 84.95 kB / 0.6817 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1512, allocations: 7.984 kB / 0.6817 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1513, allocations: 15.98 kB / 0.6817 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.1515, allocations: 39.95 kB / 0.6817 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1515, allocations: 0 / 0.6817 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.1516, allocations: 100.8 kB / 0.6818 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1516, allocations: 4 kB / 0.6818 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002012/0.1518, allocations: 27.94 kB / 0.6819 GB, free: 3.527 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 8.962e-05/0.1519, allocations: 103.2 kB / 0.682 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.1523, allocations: 266.6 kB / 0.6822 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1523, allocations: 0 / 0.6822 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.1526, allocations: 143.4 kB / 0.6824 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1528, allocations: 15.98 kB / 0.6824 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.1533, allocations: 211.2 kB / 0.6826 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1535, allocations: 0.6885 MB / 0.6833 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.93e-05/0.1535, allocations: 15.97 kB / 0.6833 GB, free: 2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.1536, allocations: 19.44 kB / 0.6833 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1536, allocations: 0 / 0.6833 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.003922/0.1575, allocations: 1.859 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)