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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004592/0.004592, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.000997/0.0009971, allocations: 196.6 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.8144/0.8144, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.59 kB / 0.595 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1342, allocations: 82.04 MB / 0.6751 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002598/0.1369, allocations: 1.477 MB / 0.6766 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.1377, allocations: 458.9 kB / 0.677 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.1378, allocations: 3.938 kB / 0.677 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.1379, allocations: 7.875 kB / 0.677 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.138, allocations: 11.86 kB / 0.677 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1382, allocations: 43.94 kB / 0.6771 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1384, allocations: 99.77 kB / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.1385, allocations: 12.17 kB / 0.6772 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1386, allocations: 47.84 kB / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.1387, allocations: 43.81 kB / 0.6773 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.1387, allocations: 8 kB / 0.6773 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.803e-05/0.1388, allocations: 12 kB / 0.6773 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.1388, allocations: 15.92 kB / 0.6773 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.1389, allocations: 35.86 kB / 0.6773 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.139, allocations: 83.97 kB / 0.6774 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.139, allocations: 0 / 0.6774 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1391, allocations: 4 kB / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.1391, allocations: 0 / 0.6774 GB, free: 8.516 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.0006643/0.1397, allocations: 454.5 kB / 0.6779 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1398, allocations: 12.03 kB / 0.6779 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.1398, allocations: 38.75 kB / 0.6779 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.1399, allocations: 12.89 kB / 0.6779 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1401, allocations: 192.2 kB / 0.6781 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1401, allocations: 4.375 kB / 0.6781 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1401, allocations: 4.375 kB / 0.6781 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.1404, allocations: 113.6 kB / 0.6782 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1404, allocations: 4 kB / 0.6782 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1405, allocations: 3.938 kB / 0.6782 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1405, allocations: 7.984 kB / 0.6782 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.1408, allocations: 87.92 kB / 0.6783 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.1413, allocations: 340.6 kB / 0.6786 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.1416, allocations: 110.5 kB / 0.6787 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.1418, allocations: 68.94 kB / 0.6788 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.1418, allocations: 0 / 0.6788 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.1422, allocations: 119.3 kB / 0.6789 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1422, allocations: 4 kB / 0.6789 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006923/0.1429, allocations: 279.1 kB / 0.6792 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1429, allocations: 85.11 kB / 0.6793 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.143, allocations: 129.3 kB / 0.6794 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1431, allocations: 33.7 kB / 0.6794 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.1431, allocations: 96.03 kB / 0.6795 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.1432, allocations: 19.89 kB / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.1432, allocations: 29.72 kB / 0.6796 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.1433, allocations: 326.8 kB / 0.6799 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1435, allocations: 59.95 kB / 0.6799 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1437, allocations: 71.94 kB / 0.68 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.1441, allocations: 182.1 kB / 0.6802 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1441, allocations: 0 / 0.6802 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004906/0.1446, allocations: 265 kB / 0.6804 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.1446, allocations: 69.11 kB / 0.6805 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1446, allocations: 4.031 kB / 0.6805 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1447, allocations: 3.938 kB / 0.6805 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1448, allocations: 15.92 kB / 0.6805 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1448, allocations: 8 kB / 0.6805 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.145, allocations: 19.97 kB / 0.6806 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.145, allocations: 7.938 kB / 0.6806 GB, free: 5.004 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.000115/0.1451, allocations: 152.2 kB / 0.6807 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.1451, allocations: 11.95 kB / 0.6807 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.1452, allocations: 8.375 kB / 0.6807 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1452, allocations: 4 kB / 0.6807 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1452, allocations: 4 kB / 0.6807 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1452, allocations: 0 / 0.6807 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1453, allocations: 197.5 kB / 0.6809 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1453, allocations: 4 kB / 0.6809 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.1454, allocations: 15.98 kB / 0.6809 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1454, allocations: 0 / 0.6809 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1455, allocations: 0 / 0.6809 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1455, allocations: 7.984 kB / 0.6809 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1455, allocations: 0 / 0.6809 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.146, allocations: 250.6 kB / 0.6812 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.146, allocations: 85.06 kB / 0.6813 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.146, allocations: 4 kB / 0.6813 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.1462, allocations: 23.97 kB / 0.6813 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1463, allocations: 27.97 kB / 0.6813 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1463, allocations: 4 kB / 0.6813 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.278e-05/0.1464, allocations: 107.2 kB / 0.6814 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1464, allocations: 0 / 0.6814 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002088/0.1466, allocations: 31.98 kB / 0.6815 GB, free: 3.973 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.0007419/0.1474, allocations: 0.786 MB / 0.6822 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.1479, allocations: 262.7 kB / 0.6825 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1479, allocations: 0 / 0.6825 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.1481, allocations: 143.3 kB / 0.6826 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1484, allocations: 12 kB / 0.6826 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.1507, allocations: 1.758 MB / 0.6843 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1509, allocations: 0.6885 MB / 0.685 GB, free: 144 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.863e-05/0.151, allocations: 19.92 kB / 0.685 GB, free: 124 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.1511, allocations: 27.38 kB / 0.6851 GB, free: 96 kB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1511, allocations: 0 / 0.6851 GB, free: 96 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.1701, allocations: 3.012 MB / 0.688 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.111, allocations: 7.875 kB / 0.688 GB, free: 13.2 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)