Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.005035/0.005035, allocations: 100.9 kB / 15.73 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.001257/0.001257, allocations: 195.4 kB / 16.67 MB, free: 5.973 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9501/0.9501, allocations: 143.3 MB / 433.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.2 kB / 0.5953 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1452, allocations: 82.04 MB / 0.6754 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002941/0.1482, allocations: 1.825 MB / 0.6772 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003009/0.1485, allocations: 119.6 kB / 0.6773 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.1486, allocations: 0 / 0.6773 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.826e-05/0.1487, allocations: 11.86 kB / 0.6773 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.1488, allocations: 63.48 kB / 0.6773 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.1489, allocations: 31.95 kB / 0.6774 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.1491, allocations: 163.2 kB / 0.6775 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1492, allocations: 33.09 kB / 0.6776 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.1493, allocations: 51.73 kB / 0.6776 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1495, allocations: 71.75 kB / 0.6777 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.1495, allocations: 8 kB / 0.6777 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.029e-05/0.1495, allocations: 12 kB / 0.6777 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.1496, allocations: 27.84 kB / 0.6777 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.794e-05/0.1497, allocations: 59.73 kB / 0.6778 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1499, allocations: 131.7 kB / 0.6779 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1499, allocations: 0 / 0.6779 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1499, allocations: 3.938 kB / 0.6779 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.1499, allocations: 3.984 kB / 0.6779 GB, free: 8.055 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008358/0.1507, allocations: 457.3 kB / 0.6784 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1508, allocations: 8.031 kB / 0.6784 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.1508, allocations: 38.75 kB / 0.6784 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1509, allocations: 16.84 kB / 0.6784 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1512, allocations: 222.6 kB / 0.6786 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1512, allocations: 16.31 kB / 0.6786 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1512, allocations: 4.375 kB / 0.6786 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.1515, allocations: 115.8 kB / 0.6788 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1515, allocations: 3.938 kB / 0.6788 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1515, allocations: 4 kB / 0.6788 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1516, allocations: 4 kB / 0.6788 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.1519, allocations: 99.86 kB / 0.6789 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.1527, allocations: 472.7 kB / 0.6793 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.1531, allocations: 129.2 kB / 0.6794 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1532, allocations: 61.81 kB / 0.6795 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1533, allocations: 0 / 0.6795 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1533, allocations: 38.56 kB / 0.6795 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1533, allocations: 0 / 0.6795 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006128/0.1539, allocations: 177.5 kB / 0.6797 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.154, allocations: 85.09 kB / 0.6798 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1542, allocations: 171.1 kB / 0.6799 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1542, allocations: 25.7 kB / 0.68 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.1543, allocations: 116 kB / 0.6801 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1544, allocations: 31.73 kB / 0.6801 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.1544, allocations: 21.72 kB / 0.6801 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1546, allocations: 322.8 kB / 0.6804 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1548, allocations: 43.97 kB / 0.6805 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1549, allocations: 61.62 kB / 0.6805 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.1553, allocations: 105.7 kB / 0.6806 GB, free: 5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1553, allocations: 0 / 0.6806 GB, free: 5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004036/0.1557, allocations: 149.7 kB / 0.6808 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1557, allocations: 4 kB / 0.6808 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1557, allocations: 4 kB / 0.6808 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1557, allocations: 4.188 kB / 0.6808 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1559, allocations: 19.98 kB / 0.6808 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1559, allocations: 3.938 kB / 0.6808 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.156, allocations: 15.92 kB / 0.6808 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.156, allocations: 8 kB / 0.6808 GB, free: 4.789 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 9.856e-05/0.1562, allocations: 113.8 kB / 0.681 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.1562, allocations: 23.83 kB / 0.681 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.1567, allocations: 150.6 kB / 0.6811 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1567, allocations: 7.938 kB / 0.6811 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1567, allocations: 0 / 0.6811 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1567, allocations: 7.875 kB / 0.6811 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.1571, allocations: 229.5 kB / 0.6814 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1571, allocations: 0 / 0.6814 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.1572, allocations: 28.2 kB / 0.6814 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1572, allocations: 0 / 0.6814 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1572, allocations: 0 / 0.6814 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1573, allocations: 4 kB / 0.6814 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1573, allocations: 0 / 0.6814 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.1577, allocations: 314.6 kB / 0.6817 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.1578, allocations: 97 kB / 0.6818 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1578, allocations: 4 kB / 0.6818 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.158, allocations: 7.984 kB / 0.6818 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.1581, allocations: 11.94 kB / 0.6818 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1581, allocations: 192 / 0.6818 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001129/0.1582, allocations: 131.2 kB / 0.6819 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1582, allocations: 0 / 0.6819 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003089/0.1585, allocations: 28 kB / 0.6819 GB, free: 3.551 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000803/0.1593, allocations: 0.8366 MB / 0.6828 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.1597, allocations: 116 kB / 0.6829 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1597, allocations: 0 / 0.6829 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.1599, allocations: 59.84 kB / 0.6829 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.1604, allocations: 43.91 kB / 0.683 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.1629, allocations: 1.83 MB / 0.6848 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.1632, allocations: 0.7045 MB / 0.6855 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.462e-05/0.1633, allocations: 12.64 kB / 0.6855 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.1634, allocations: 35.42 kB / 0.6855 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1634, allocations: 0 / 0.6855 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.1887, allocations: 3.644 MB / 0.6891 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.06, allocations: 20.67 kB / 0.6891 GB, free: 12.3 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_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_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)