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.005361/0.005361, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001342/0.001343, allocations: 194.8 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7755/0.7755, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.88 kB / 0.5808 GB, free: 8.105 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4333, allocations: 80.21 MB / 0.6592 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002756/0.4361, allocations: 1.811 MB / 0.6609 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003255/0.4364, allocations: 124 kB / 0.6611 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.86e-05/0.4365, allocations: 1.281 kB / 0.6611 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.4366, allocations: 15.98 kB / 0.6611 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.78e-05/0.4367, allocations: 53.28 kB / 0.6611 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.4369, allocations: 36.27 kB / 0.6612 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.4371, allocations: 172.8 kB / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.4372, allocations: 23.67 kB / 0.6613 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.4373, allocations: 57.11 kB / 0.6614 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.4374, allocations: 66.88 kB / 0.6615 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.4375, allocations: 10.97 kB / 0.6615 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.4375, allocations: 9.188 kB / 0.6615 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.4376, allocations: 24.95 kB / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.422e-05/0.4377, allocations: 64.95 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.4379, allocations: 128.6 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4379, allocations: 0 / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4379, allocations: 0 / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.4379, allocations: 1.406 kB / 0.6617 GB, free: 8.172 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.0007261/0.4386, allocations: 456.8 kB / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4387, allocations: 10.09 kB / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.509e-05/0.4387, allocations: 43.08 kB / 0.6622 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.4388, allocations: 15.03 kB / 0.6622 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.439, allocations: 208.5 kB / 0.6624 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.4391, allocations: 10.97 kB / 0.6624 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.4391, allocations: 4.406 kB / 0.6624 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.4394, allocations: 125.4 kB / 0.6625 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4394, allocations: 3.938 kB / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.4394, allocations: 1.469 kB / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4394, allocations: 1.469 kB / 0.6625 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.4397, allocations: 97.25 kB / 0.6626 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.4404, allocations: 480.5 kB / 0.6631 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.4407, allocations: 132.2 kB / 0.6632 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.4409, allocations: 57.22 kB / 0.6633 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.4409, allocations: 2.641 kB / 0.6633 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.441, allocations: 40.41 kB / 0.6633 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.441, allocations: 3.938 kB / 0.6633 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005971/0.4416, allocations: 182.6 kB / 0.6635 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.4416, allocations: 78.88 kB / 0.6636 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.4418, allocations: 166.7 kB / 0.6637 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4418, allocations: 25.7 kB / 0.6637 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.4418, allocations: 113.2 kB / 0.6638 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.4419, allocations: 30.36 kB / 0.6639 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.4419, allocations: 21.91 kB / 0.6639 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.442, allocations: 330 kB / 0.6642 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.4421, allocations: 38.47 kB / 0.6642 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.4423, allocations: 64.64 kB / 0.6643 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.4426, allocations: 101 kB / 0.6644 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4426, allocations: 0 / 0.6644 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003493/0.443, allocations: 154.8 kB / 0.6646 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.443, allocations: 4.969 kB / 0.6646 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.443, allocations: 4 kB / 0.6646 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.443, allocations: 1.062 kB / 0.6646 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.4432, allocations: 22.45 kB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4432, allocations: 384 / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.4433, allocations: 22.48 kB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.4433, allocations: 3.062 kB / 0.6646 GB, free: 5.805 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 6.879e-05/0.4434, allocations: 118.7 kB / 0.6647 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.4435, allocations: 18.81 kB / 0.6647 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.4439, allocations: 164.7 kB / 0.6649 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4439, allocations: 1.625 kB / 0.6649 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4439, allocations: 1.781 kB / 0.6649 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4439, allocations: 3.938 kB / 0.6649 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.4442, allocations: 215.8 kB / 0.6651 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4442, allocations: 0 / 0.6651 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.4443, allocations: 24.83 kB / 0.6651 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4443, allocations: 1.094 kB / 0.6651 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4443, allocations: 4.875 kB / 0.6651 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4443, allocations: 1.125 kB / 0.6651 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4444, allocations: 5.391 kB / 0.6651 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.4447, allocations: 316.3 kB / 0.6654 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.4447, allocations: 92.45 kB / 0.6655 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4448, allocations: 5.281 kB / 0.6655 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.4449, allocations: 9.266 kB / 0.6655 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.445, allocations: 15.73 kB / 0.6656 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.445, allocations: 2.719 kB / 0.6656 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.038e-05/0.4451, allocations: 131.3 kB / 0.6657 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4451, allocations: 0 / 0.6657 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002779/0.4454, allocations: 25.25 kB / 0.6657 GB, free: 4.816 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.0005305/0.4459, allocations: 0.8479 MB / 0.6665 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.4463, allocations: 102.6 kB / 0.6666 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4463, allocations: 0 / 0.6666 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.4465, allocations: 50.47 kB / 0.6667 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.4469, allocations: 56.33 kB / 0.6667 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4489, allocations: 1.82 MB / 0.6685 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.4491, allocations: 0.7031 MB / 0.6692 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.319e-05/0.4492, allocations: 19.53 kB / 0.6692 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.4493, allocations: 40.25 kB / 0.6693 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.4493, allocations: 3.938 kB / 0.6693 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.4767, allocations: 3.628 MB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.365, allocations: 9.641 kB / 0.6728 GB, free: 15.79 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)