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.001335/0.001335, allocations: 105 kB / 16.41 MB, free: 6.465 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.001339/0.001339, allocations: 187 kB / 17.34 MB, free: 5.719 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.09 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.8539/0.8539, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.95 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.136, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002559/0.1386, allocations: 1.481 MB / 0.6777 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007819/0.1394, allocations: 454.9 kB / 0.6782 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.1394, allocations: 3.938 kB / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.426e-05/0.1395, allocations: 11.88 kB / 0.6782 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.08e-05/0.1396, allocations: 15.86 kB / 0.6782 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.1398, allocations: 35.94 kB / 0.6782 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.14, allocations: 95.77 kB / 0.6783 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1401, allocations: 20.17 kB / 0.6783 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1403, allocations: 43.91 kB / 0.6784 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.1404, allocations: 47.75 kB / 0.6784 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.1404, allocations: 8 kB / 0.6784 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.928e-05/0.1404, allocations: 8 kB / 0.6784 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.1405, allocations: 19.92 kB / 0.6785 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.1405, allocations: 35.86 kB / 0.6785 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1407, allocations: 79.69 kB / 0.6786 GB, free: 8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1407, allocations: 4 kB / 0.6786 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.434e-06/0.1407, allocations: 0 / 0.6786 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.1407, allocations: 7.938 kB / 0.6786 GB, free: 7.988 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.0008049/0.1415, allocations: 446.7 kB / 0.679 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1416, allocations: 8.031 kB / 0.679 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.1416, allocations: 12.84 kB / 0.679 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1418, allocations: 184.2 kB / 0.6792 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1419, allocations: 8.375 kB / 0.6792 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1419, allocations: 12.36 kB / 0.6792 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.1422, allocations: 117.7 kB / 0.6793 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1422, allocations: 0 / 0.6793 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1423, allocations: 8 kB / 0.6793 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1423, allocations: 0 / 0.6793 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.1426, allocations: 87.92 kB / 0.6794 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.1431, allocations: 336.6 kB / 0.6797 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.1435, allocations: 110.4 kB / 0.6798 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.1437, allocations: 68.94 kB / 0.6799 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1437, allocations: 0 / 0.6799 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.1441, allocations: 123.3 kB / 0.68 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1441, allocations: 0 / 0.68 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0007057/0.1448, allocations: 275.1 kB / 0.6803 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.1448, allocations: 89.09 kB / 0.6804 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.1449, allocations: 133.8 kB / 0.6805 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.145, allocations: 29.7 kB / 0.6805 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.145, allocations: 95.98 kB / 0.6806 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.1451, allocations: 23.73 kB / 0.6806 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.1451, allocations: 25.72 kB / 0.6807 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1452, allocations: 326.8 kB / 0.681 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.1455, allocations: 63.95 kB / 0.681 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.1456, allocations: 67.95 kB / 0.6811 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.146, allocations: 181.9 kB / 0.6813 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.146, allocations: 0 / 0.6813 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000495/0.1465, allocations: 260.8 kB / 0.6815 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.1466, allocations: 67.39 kB / 0.6816 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1466, allocations: 7.938 kB / 0.6816 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1466, allocations: 0 / 0.6816 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1467, allocations: 11.98 kB / 0.6816 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1467, allocations: 0 / 0.6816 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.1469, allocations: 23.97 kB / 0.6816 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.147, allocations: 8 kB / 0.6816 GB, free: 4.547 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.0001131/0.1471, allocations: 151.4 kB / 0.6818 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.1471, allocations: 15.91 kB / 0.6818 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.1471, allocations: 12.36 kB / 0.6818 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1471, allocations: 0 / 0.6818 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1472, allocations: 4 kB / 0.6818 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1472, allocations: 3.984 kB / 0.6818 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1473, allocations: 197.6 kB / 0.682 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1473, allocations: 4.25 kB / 0.682 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.537e-05/0.1474, allocations: 15.98 kB / 0.682 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1474, allocations: 96 / 0.682 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1475, allocations: 3.938 kB / 0.682 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1475, allocations: 4 kB / 0.682 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1475, allocations: 4 kB / 0.682 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.148, allocations: 242.6 kB / 0.6823 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.148, allocations: 96.88 kB / 0.6824 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.148, allocations: 4 kB / 0.6824 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.1482, allocations: 23.98 kB / 0.6824 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.1483, allocations: 31.95 kB / 0.6824 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1483, allocations: 8 kB / 0.6824 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.1484, allocations: 95.27 kB / 0.6825 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1484, allocations: 0 / 0.6825 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002256/0.1487, allocations: 31.94 kB / 0.6826 GB, free: 3.504 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.0001023/0.1488, allocations: 99.23 kB / 0.6826 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005115/0.1493, allocations: 270.7 kB / 0.6829 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1493, allocations: 0 / 0.6829 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.1495, allocations: 135.3 kB / 0.683 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.1498, allocations: 15.98 kB / 0.6831 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.1503, allocations: 248.9 kB / 0.6833 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1505, allocations: 0.6885 MB / 0.684 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.1506, allocations: 19.42 kB / 0.684 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1506, allocations: 3.938 kB / 0.684 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of Templates: time 0.003082/0.1537, allocations: 1.435 MB / 0.6854 GB, free: 0.5078 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)