Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_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.007646/0.007646, allocations: 97.62 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.002055/0.002055, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.38/1.38, 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-master/package.mo): time 0.9932/0.9932, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4534, allocations: 80.92 MB / 0.6641 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002747/0.4562, allocations: 1.819 MB / 0.6659 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002766/0.4565, allocations: 118.2 kB / 0.666 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.4566, allocations: 5.344 kB / 0.666 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.4567, allocations: 13.14 kB / 0.666 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.4568, allocations: 45.05 kB / 0.6661 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.4569, allocations: 43.97 kB / 0.6661 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.4572, allocations: 172.8 kB / 0.6663 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.4574, allocations: 24.91 kB / 0.6663 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.4575, allocations: 54.06 kB / 0.6664 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.4576, allocations: 68.91 kB / 0.6664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.4577, allocations: 9.031 kB / 0.6664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.365e-05/0.4577, allocations: 10.19 kB / 0.6664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.4577, allocations: 22.64 kB / 0.6665 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.4578, allocations: 67.16 kB / 0.6665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.4581, allocations: 136.2 kB / 0.6667 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4581, allocations: 0 / 0.6667 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4581, allocations: 1.375 kB / 0.6667 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4581, allocations: 4 kB / 0.6667 GB, free: 5.312 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.0008054/0.4589, allocations: 448.4 kB / 0.6671 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.459, allocations: 9.25 kB / 0.6671 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.459, allocations: 41.05 kB / 0.6671 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.4591, allocations: 16.59 kB / 0.6672 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.4593, allocations: 210.3 kB / 0.6674 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4594, allocations: 3.156 kB / 0.6674 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.4594, allocations: 8.75 kB / 0.6674 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.4597, allocations: 113.5 kB / 0.6675 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4597, allocations: 9.188 kB / 0.6675 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4597, allocations: 4 kB / 0.6675 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.4597, allocations: 2.844 kB / 0.6675 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.46, allocations: 99.39 kB / 0.6676 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006183/0.4606, allocations: 477.1 kB / 0.668 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.461, allocations: 130.8 kB / 0.6682 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.4612, allocations: 61.95 kB / 0.6682 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.4612, allocations: 6.281 kB / 0.6682 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.4612, allocations: 39.62 kB / 0.6683 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4612, allocations: 0 / 0.6683 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005605/0.4618, allocations: 181.1 kB / 0.6684 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.4618, allocations: 82.08 kB / 0.6685 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.462, allocations: 173.9 kB / 0.6687 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.462, allocations: 30.95 kB / 0.6687 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.4621, allocations: 109.4 kB / 0.6688 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.4621, allocations: 26.75 kB / 0.6688 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.4622, allocations: 25.27 kB / 0.6689 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.4622, allocations: 325.5 kB / 0.6692 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.4624, allocations: 42.22 kB / 0.6692 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.4625, allocations: 59.34 kB / 0.6693 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.4628, allocations: 104.1 kB / 0.6694 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4628, allocations: 0 / 0.6694 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003277/0.4631, allocations: 145.6 kB / 0.6695 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4632, allocations: 9.25 kB / 0.6695 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4632, allocations: 384 / 0.6695 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4632, allocations: 1.469 kB / 0.6695 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.4633, allocations: 24.92 kB / 0.6695 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4634, allocations: 5.438 kB / 0.6696 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.4635, allocations: 18.05 kB / 0.6696 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.4635, allocations: 2.219 kB / 0.6696 GB, free: 2.723 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.348e-05/0.4636, allocations: 118.7 kB / 0.6697 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.4636, allocations: 19.47 kB / 0.6697 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.464, allocations: 157.3 kB / 0.6699 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.464, allocations: 1.375 kB / 0.6699 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.464, allocations: 0 / 0.6699 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.464, allocations: 5.375 kB / 0.6699 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.4643, allocations: 219.1 kB / 0.6701 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4643, allocations: 5.156 kB / 0.6701 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.4644, allocations: 23.73 kB / 0.6701 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4644, allocations: 1.062 kB / 0.6701 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4645, allocations: 6.297 kB / 0.6701 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4645, allocations: 0 / 0.6701 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4645, allocations: 5 kB / 0.6701 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.4648, allocations: 321.4 kB / 0.6704 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.4649, allocations: 92.3 kB / 0.6705 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.4649, allocations: 9.141 kB / 0.6705 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.4651, allocations: 5.25 kB / 0.6705 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.4651, allocations: 11.98 kB / 0.6705 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.4651, allocations: 6.156 kB / 0.6705 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.307e-05/0.4652, allocations: 127.2 kB / 0.6707 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4652, allocations: 0 / 0.6707 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002842/0.4655, allocations: 33.22 kB / 0.6707 GB, free: 1.727 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.0005485/0.4661, allocations: 0.8384 MB / 0.6715 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.4664, allocations: 106.2 kB / 0.6716 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4664, allocations: 0 / 0.6716 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.4666, allocations: 59.05 kB / 0.6717 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.4671, allocations: 51.06 kB / 0.6717 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.4693, allocations: 1.82 MB / 0.6735 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.4696, allocations: 0.7015 MB / 0.6742 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.4697, allocations: 27.64 kB / 0.6742 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.4698, allocations: 33.22 kB / 0.6742 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of SimCode: time 7.62e-07/0.4698, allocations: 0 / 0.6742 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.4912, allocations: 3.63 MB / 0.6778 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.824, allocations: 5.969 kB / 0.6778 GB, free: 12.67 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)