Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_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.005517/0.005517, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001256/0.001256, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7139/0.7139, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 65.48 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1298, allocations: 80.21 MB / 0.6592 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002538/0.1323, allocations: 1.814 MB / 0.6609 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.1326, allocations: 123.6 kB / 0.661 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.1327, allocations: 0 / 0.661 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1328, allocations: 15.8 kB / 0.6611 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.429e-05/0.1329, allocations: 51.56 kB / 0.6611 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.1331, allocations: 35.94 kB / 0.6611 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.1332, allocations: 171.1 kB / 0.6613 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1334, allocations: 25.09 kB / 0.6613 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.1334, allocations: 59.84 kB / 0.6614 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1335, allocations: 67.69 kB / 0.6614 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1336, allocations: 8 kB / 0.6615 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.1336, allocations: 12 kB / 0.6615 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.1336, allocations: 19.92 kB / 0.6615 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.1337, allocations: 67.66 kB / 0.6616 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1339, allocations: 131.6 kB / 0.6617 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1339, allocations: 3.938 kB / 0.6617 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.615e-06/0.1339, allocations: 4 kB / 0.6617 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1339, allocations: 0 / 0.6617 GB, free: 8.293 MB / 0.4981 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.0006966/0.1346, allocations: 454.8 kB / 0.6621 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1347, allocations: 12.03 kB / 0.6621 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.1347, allocations: 38.73 kB / 0.6622 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.1347, allocations: 16.84 kB / 0.6622 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.135, allocations: 208.1 kB / 0.6624 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.135, allocations: 12.38 kB / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.135, allocations: 8.312 kB / 0.6624 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.1353, allocations: 119.9 kB / 0.6625 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1353, allocations: 3.938 kB / 0.6625 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1353, allocations: 4 kB / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1353, allocations: 0 / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.1356, allocations: 103.9 kB / 0.6626 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.1362, allocations: 468.7 kB / 0.6631 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.1366, allocations: 133.2 kB / 0.6632 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.1367, allocations: 65.77 kB / 0.6633 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1368, allocations: 0 / 0.6633 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1368, allocations: 34.56 kB / 0.6633 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.1368, allocations: 4 kB / 0.6633 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005365/0.1374, allocations: 177.5 kB / 0.6635 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1374, allocations: 85.05 kB / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.1376, allocations: 174.9 kB / 0.6637 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1376, allocations: 25.7 kB / 0.6637 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.1376, allocations: 116 kB / 0.6638 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1377, allocations: 31.69 kB / 0.6639 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.1377, allocations: 25.7 kB / 0.6639 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.1378, allocations: 330.8 kB / 0.6642 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.138, allocations: 35.97 kB / 0.6643 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1381, allocations: 57.69 kB / 0.6643 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.1384, allocations: 109.9 kB / 0.6644 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1384, allocations: 0 / 0.6644 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003244/0.1387, allocations: 145.5 kB / 0.6646 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1387, allocations: 9.719 kB / 0.6646 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1387, allocations: 192 / 0.6646 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1388, allocations: 4 kB / 0.6646 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1389, allocations: 27.86 kB / 0.6646 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1389, allocations: 4 kB / 0.6646 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1391, allocations: 15.92 kB / 0.6646 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1391, allocations: 4 kB / 0.6646 GB, free: 5.02 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 7.797e-05/0.1392, allocations: 113.8 kB / 0.6647 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.1392, allocations: 19.91 kB / 0.6647 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.1396, allocations: 158.5 kB / 0.6649 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1396, allocations: 4 kB / 0.6649 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1396, allocations: 0 / 0.6649 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1396, allocations: 3.938 kB / 0.6649 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.1399, allocations: 221.6 kB / 0.6651 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1399, allocations: 0 / 0.6651 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.14, allocations: 23.98 kB / 0.6651 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.14, allocations: 4 kB / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1401, allocations: 7.984 kB / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1401, allocations: 3.938 kB / 0.6651 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1401, allocations: 0 / 0.6651 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.1405, allocations: 314.8 kB / 0.6654 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.1405, allocations: 93.19 kB / 0.6655 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1405, allocations: 11.98 kB / 0.6656 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.1407, allocations: 8 kB / 0.6656 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1408, allocations: 11.92 kB / 0.6656 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.1408, allocations: 4 kB / 0.6656 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.366e-05/0.1409, allocations: 124.2 kB / 0.6657 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.313e-06/0.1409, allocations: 0 / 0.6657 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002687/0.1411, allocations: 27.94 kB / 0.6657 GB, free: 3.789 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.0006246/0.1418, allocations: 0.8444 MB / 0.6665 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.1421, allocations: 108.1 kB / 0.6666 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1421, allocations: 3.938 kB / 0.6666 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.1423, allocations: 59.89 kB / 0.6667 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1427, allocations: 38.86 kB / 0.6667 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1446, allocations: 1.817 MB / 0.6685 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.1449, allocations: 0.7045 MB / 0.6692 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.04e-05/0.145, allocations: 20.42 kB / 0.6692 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.145, allocations: 31.44 kB / 0.6693 GB, free: 20 kB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.145, allocations: 4 kB / 0.6693 GB, free: 16 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.1643, allocations: 3.622 MB / 0.6728 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.484, allocations: 7.469 kB / 0.6728 GB, free: 12.57 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)