Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_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.001269/0.001273, allocations: 106.6 kB / 16.41 MB, free: 6.496 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.001211/0.001211, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8169/0.8169, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.25 kB / 0.5735 GB, free: 27.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1421, allocations: 78.86 MB / 0.6505 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003002/0.1451, allocations: 1.811 MB / 0.6523 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002678/0.1454, allocations: 123.6 kB / 0.6524 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.1455, allocations: 0 / 0.6524 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.1456, allocations: 19.8 kB / 0.6524 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.88e-05/0.1457, allocations: 47.55 kB / 0.6525 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.1459, allocations: 31.95 kB / 0.6525 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1461, allocations: 171.1 kB / 0.6527 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1462, allocations: 25.11 kB / 0.6527 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.1463, allocations: 51.86 kB / 0.6527 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1464, allocations: 67.69 kB / 0.6528 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.1464, allocations: 8 kB / 0.6528 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.819e-05/0.1465, allocations: 12 kB / 0.6528 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.1465, allocations: 31.89 kB / 0.6528 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.1466, allocations: 67.67 kB / 0.6529 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1468, allocations: 127.7 kB / 0.653 GB, free: 1.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1468, allocations: 0 / 0.653 GB, free: 1.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1468, allocations: 4 kB / 0.653 GB, free: 1.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1468, allocations: 0 / 0.653 GB, free: 1.016 MB / 494.1 MB 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.0007634/0.1476, allocations: 454.8 kB / 0.6535 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1476, allocations: 16.62 kB / 0.6535 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.1477, allocations: 42.62 kB / 0.6535 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1477, allocations: 16.84 kB / 0.6535 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.148, allocations: 200.1 kB / 0.6537 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.148, allocations: 8.375 kB / 0.6537 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.148, allocations: 4.375 kB / 0.6537 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.1483, allocations: 134.4 kB / 0.6539 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1483, allocations: 7.938 kB / 0.6539 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1483, allocations: 4 kB / 0.6539 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1484, allocations: 0 / 0.6539 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.1487, allocations: 95.92 kB / 0.654 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007022/0.1494, allocations: 468.7 kB / 0.6544 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.1498, allocations: 133.2 kB / 0.6546 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.15, allocations: 57.78 kB / 0.6546 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.15, allocations: 4 kB / 0.6546 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.15, allocations: 42.56 kB / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.15, allocations: 0 / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000588/0.1506, allocations: 177.5 kB / 0.6548 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1507, allocations: 85.11 kB / 0.6549 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1509, allocations: 170.4 kB / 0.6551 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1509, allocations: 25.7 kB / 0.6551 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.151, allocations: 112 kB / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.151, allocations: 31.81 kB / 0.6552 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.1511, allocations: 25.7 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1512, allocations: 334.7 kB / 0.6556 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.1514, allocations: 39.97 kB / 0.6556 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.1516, allocations: 61.62 kB / 0.6557 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.1519, allocations: 101.7 kB / 0.6558 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1519, allocations: 0 / 0.6558 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003702/0.1522, allocations: 149.5 kB / 0.6559 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1523, allocations: 8 kB / 0.6559 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1523, allocations: 0 / 0.6559 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1523, allocations: 0 / 0.6559 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1524, allocations: 19.98 kB / 0.6559 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1525, allocations: 4 kB / 0.6559 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.1526, allocations: 15.92 kB / 0.656 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1526, allocations: 4.562 kB / 0.656 GB, free: 13.75 MB / 0.4981 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.736e-05/0.1527, allocations: 121.8 kB / 0.6561 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.1528, allocations: 19.84 kB / 0.6561 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.1532, allocations: 162.5 kB / 0.6562 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1532, allocations: 4 kB / 0.6562 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1532, allocations: 0 / 0.6562 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1532, allocations: 7.938 kB / 0.6563 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1535, allocations: 217.5 kB / 0.6565 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1535, allocations: 0 / 0.6565 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.1537, allocations: 23.97 kB / 0.6565 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1537, allocations: 0 / 0.6565 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.1537, allocations: 8 kB / 0.6565 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1537, allocations: 0 / 0.6565 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1537, allocations: 0 / 0.6565 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.1542, allocations: 318.8 kB / 0.6568 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.1542, allocations: 92.98 kB / 0.6569 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1543, allocations: 4 kB / 0.6569 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1545, allocations: 4 kB / 0.6569 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.1545, allocations: 15.92 kB / 0.6569 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.1545, allocations: 4 kB / 0.6569 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.968e-05/0.1546, allocations: 124.2 kB / 0.657 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1546, allocations: 0 / 0.657 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002905/0.1549, allocations: 28 kB / 0.6571 GB, free: 12.53 MB / 0.4981 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.0007453/0.1557, allocations: 0.8444 MB / 0.6579 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.1561, allocations: 111.8 kB / 0.658 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1561, allocations: 0 / 0.658 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.1563, allocations: 51.97 kB / 0.658 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.1567, allocations: 44.48 kB / 0.6581 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.1591, allocations: 1.825 MB / 0.6599 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1594, allocations: 0.7006 MB / 0.6605 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.971e-05/0.1595, allocations: 16.64 kB / 0.6606 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.1596, allocations: 35.42 kB / 0.6606 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1596, allocations: 3.938 kB / 0.6606 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1848, allocations: 3.641 MB / 0.6642 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.284, allocations: 3.938 kB / 0.6642 GB, free: 5.266 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)