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.007718/0.007718, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.001881/0.001881, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7914/0.7914, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 67.88 kB / 0.5808 GB, free: 8.098 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3619, allocations: 80.2 MB / 0.6592 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002607/0.3646, allocations: 1.818 MB / 0.6609 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.3648, allocations: 120.3 kB / 0.661 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.3649, allocations: 1.656 kB / 0.661 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.365, allocations: 20.36 kB / 0.6611 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.3651, allocations: 44.89 kB / 0.6611 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.3653, allocations: 36.41 kB / 0.6611 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3655, allocations: 168.6 kB / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3656, allocations: 27.91 kB / 0.6613 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.641e-05/0.3657, allocations: 61.16 kB / 0.6614 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3658, allocations: 62.45 kB / 0.6614 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3658, allocations: 10.84 kB / 0.6615 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.769e-05/0.3658, allocations: 8.719 kB / 0.6615 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.3659, allocations: 25.14 kB / 0.6615 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.3659, allocations: 64.73 kB / 0.6616 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.3661, allocations: 130.6 kB / 0.6617 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3661, allocations: 0 / 0.6617 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3661, allocations: 4 kB / 0.6617 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3661, allocations: 0 / 0.6617 GB, free: 8.387 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.0006508/0.3668, allocations: 453.5 kB / 0.6621 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3668, allocations: 9.75 kB / 0.6621 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.3669, allocations: 38.45 kB / 0.6622 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.3669, allocations: 16.28 kB / 0.6622 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3671, allocations: 215.9 kB / 0.6624 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3671, allocations: 11.31 kB / 0.6624 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.3672, allocations: 4.594 kB / 0.6624 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.3674, allocations: 123.6 kB / 0.6625 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3674, allocations: 3.938 kB / 0.6625 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3675, allocations: 1.156 kB / 0.6625 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3675, allocations: 9.891 kB / 0.6625 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.3678, allocations: 94.44 kB / 0.6626 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.3684, allocations: 474 kB / 0.6631 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.3687, allocations: 133.2 kB / 0.6632 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.3689, allocations: 62.42 kB / 0.6633 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3689, allocations: 1.938 kB / 0.6633 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.369, allocations: 43.59 kB / 0.6633 GB, free: 7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.369, allocations: 1.125 kB / 0.6633 GB, free: 7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005605/0.3695, allocations: 182.5 kB / 0.6635 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.3696, allocations: 78.89 kB / 0.6636 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3697, allocations: 170.7 kB / 0.6637 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.3697, allocations: 25.7 kB / 0.6637 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.3698, allocations: 108.5 kB / 0.6638 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3698, allocations: 30.55 kB / 0.6639 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.3698, allocations: 21.22 kB / 0.6639 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.3699, allocations: 330 kB / 0.6642 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.37, allocations: 39.31 kB / 0.6642 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3702, allocations: 65.77 kB / 0.6643 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3704, allocations: 102.7 kB / 0.6644 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3704, allocations: 0 / 0.6644 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000307/0.3707, allocations: 145.9 kB / 0.6645 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3708, allocations: 9.938 kB / 0.6646 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3708, allocations: 0 / 0.6646 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3708, allocations: 1.5 kB / 0.6646 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.3709, allocations: 25.39 kB / 0.6646 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.371, allocations: 0.9375 kB / 0.6646 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3711, allocations: 21.42 kB / 0.6646 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3711, allocations: 3.25 kB / 0.6646 GB, free: 5.984 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 5.912e-05/0.3711, allocations: 122.2 kB / 0.6647 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.3712, allocations: 18.92 kB / 0.6647 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.3716, allocations: 152.9 kB / 0.6649 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3716, allocations: 1.438 kB / 0.6649 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3716, allocations: 8.938 kB / 0.6649 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3716, allocations: 5.062 kB / 0.6649 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3718, allocations: 220.4 kB / 0.6651 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3718, allocations: 4 kB / 0.6651 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.3719, allocations: 20.67 kB / 0.6651 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.372, allocations: 1.344 kB / 0.6651 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.372, allocations: 4 kB / 0.6651 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.372, allocations: 1.438 kB / 0.6651 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.372, allocations: 1.094 kB / 0.6651 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.3723, allocations: 316.3 kB / 0.6654 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.3724, allocations: 100.7 kB / 0.6655 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3724, allocations: 1.375 kB / 0.6655 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3725, allocations: 9.828 kB / 0.6655 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.3726, allocations: 10.97 kB / 0.6656 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3726, allocations: 3 kB / 0.6656 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.062e-05/0.3727, allocations: 135.5 kB / 0.6657 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3727, allocations: 4 kB / 0.6657 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002672/0.373, allocations: 25.25 kB / 0.6657 GB, free: 4.988 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.000474/0.3734, allocations: 0.8425 MB / 0.6665 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.3738, allocations: 98.89 kB / 0.6666 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3738, allocations: 0 / 0.6666 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3739, allocations: 55.88 kB / 0.6667 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.3743, allocations: 63.8 kB / 0.6667 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.376, allocations: 1.812 MB / 0.6685 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3762, allocations: 0.7029 MB / 0.6692 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.034e-05/0.3762, allocations: 18.77 kB / 0.6692 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.3763, allocations: 41.2 kB / 0.6693 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3763, allocations: 0 / 0.6693 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.3997, allocations: 3.632 MB / 0.6728 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.982, allocations: 9.609 kB / 0.6728 GB, free: 15.97 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)