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.001626/0.001626, allocations: 104.2 kB / 16.4 MB, free: 6.449 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.001918/0.001918, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7569/0.7569, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.73 kB / 0.5679 GB, free: 29.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1327, allocations: 77.93 MB / 0.644 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002689/0.1354, allocations: 1.807 MB / 0.6458 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.1357, allocations: 123.5 kB / 0.6459 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.1358, allocations: 4 kB / 0.6459 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.1359, allocations: 19.73 kB / 0.6459 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.11e-05/0.136, allocations: 43.56 kB / 0.646 GB, free: 7.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.1361, allocations: 39.95 kB / 0.646 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1363, allocations: 167.2 kB / 0.6462 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1364, allocations: 33.03 kB / 0.6462 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.1364, allocations: 43.86 kB / 0.6462 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1366, allocations: 71.69 kB / 0.6463 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1366, allocations: 12 kB / 0.6463 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.1366, allocations: 12 kB / 0.6463 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.1367, allocations: 23.92 kB / 0.6464 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.1367, allocations: 71.66 kB / 0.6464 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1369, allocations: 123.7 kB / 0.6465 GB, free: 7.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1369, allocations: 4 kB / 0.6465 GB, free: 7.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1369, allocations: 0 / 0.6465 GB, free: 7.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1369, allocations: 0 / 0.6465 GB, free: 7.09 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.0007322/0.1377, allocations: 454.8 kB / 0.647 GB, free: 6.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1377, allocations: 12.62 kB / 0.647 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.1377, allocations: 38.73 kB / 0.647 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.1378, allocations: 16.84 kB / 0.647 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.138, allocations: 213 kB / 0.6472 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.138, allocations: 384 / 0.6472 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1381, allocations: 8.375 kB / 0.6473 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.1383, allocations: 119.9 kB / 0.6474 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1384, allocations: 7.875 kB / 0.6474 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1384, allocations: 4 kB / 0.6474 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1384, allocations: 4 kB / 0.6474 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.1387, allocations: 87.92 kB / 0.6475 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.1393, allocations: 476.7 kB / 0.6479 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.1397, allocations: 129.2 kB / 0.648 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.1399, allocations: 69.77 kB / 0.6481 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1399, allocations: 4 kB / 0.6481 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.14, allocations: 34.56 kB / 0.6481 GB, free: 5.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.14, allocations: 0 / 0.6481 GB, free: 5.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005612/0.1405, allocations: 185.5 kB / 0.6483 GB, free: 5.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1406, allocations: 77.11 kB / 0.6484 GB, free: 4.969 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1407, allocations: 170.4 kB / 0.6486 GB, free: 4.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1407, allocations: 29.7 kB / 0.6486 GB, free: 4.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.1408, allocations: 112 kB / 0.6487 GB, free: 4.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1408, allocations: 27.75 kB / 0.6487 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.1409, allocations: 25.7 kB / 0.6487 GB, free: 4.586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.141, allocations: 330.8 kB / 0.6491 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.1412, allocations: 43.97 kB / 0.6491 GB, free: 4.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1413, allocations: 57.62 kB / 0.6492 GB, free: 4.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.1416, allocations: 109.7 kB / 0.6493 GB, free: 4.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1416, allocations: 3.938 kB / 0.6493 GB, free: 4.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003386/0.142, allocations: 145.5 kB / 0.6494 GB, free: 3.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.142, allocations: 4 kB / 0.6494 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.142, allocations: 192 / 0.6494 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.142, allocations: 0 / 0.6494 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1422, allocations: 23.98 kB / 0.6494 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1422, allocations: 0 / 0.6494 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.1423, allocations: 23.91 kB / 0.6495 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1423, allocations: 384 / 0.6495 GB, free: 3.832 MB / 494.1 MB 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 8.201e-05/0.1424, allocations: 121.8 kB / 0.6496 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.1425, allocations: 15.91 kB / 0.6496 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.1429, allocations: 166.5 kB / 0.6497 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1429, allocations: 0 / 0.6497 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1429, allocations: 0 / 0.6497 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1429, allocations: 3.938 kB / 0.6498 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.1432, allocations: 229.5 kB / 0.65 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1432, allocations: 0 / 0.65 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1434, allocations: 19.98 kB / 0.65 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1434, allocations: 7.984 kB / 0.65 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1434, allocations: 0 / 0.65 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1434, allocations: 192 / 0.65 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1434, allocations: 4 kB / 0.65 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.1438, allocations: 315.7 kB / 0.6503 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.1439, allocations: 89.02 kB / 0.6504 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1439, allocations: 7.984 kB / 0.6504 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1441, allocations: 8 kB / 0.6504 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.1441, allocations: 11.92 kB / 0.6504 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.1442, allocations: 4 kB / 0.6504 GB, free: 2.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.497e-05/0.1443, allocations: 132.2 kB / 0.6505 GB, free: 2.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1443, allocations: 0 / 0.6505 GB, free: 2.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1446, allocations: 28 kB / 0.6506 GB, free: 2.59 MB / 494.1 MB 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.0006517/0.1452, allocations: 0.8444 MB / 0.6514 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.1456, allocations: 99.92 kB / 0.6515 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1456, allocations: 0 / 0.6515 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1457, allocations: 59.91 kB / 0.6515 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.1462, allocations: 49.67 kB / 0.6516 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1482, allocations: 1.817 MB / 0.6534 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.1485, allocations: 0.7084 MB / 0.6541 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.287e-05/0.1485, allocations: 12.77 kB / 0.6541 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.1486, allocations: 35.44 kB / 0.6541 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1486, allocations: 4 kB / 0.6541 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.1677, allocations: 3.64 MB / 0.6577 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/7.689, allocations: 8.047 kB / 0.6577 GB, free: 11.33 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)