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.0009811/0.0009814, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001215/0.001215, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7696/0.7696, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 8 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4559, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001835/0.4578, allocations: 1.493 MB / 0.5846 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.4581, allocations: 116.4 kB / 0.5847 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.4582, allocations: 9.219 kB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.204e-05/0.4583, allocations: 13.56 kB / 0.5847 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.732e-05/0.4584, allocations: 44.03 kB / 0.5848 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.4585, allocations: 28.66 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.4587, allocations: 155.4 kB / 0.5849 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4588, allocations: 26.41 kB / 0.585 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.4589, allocations: 47.59 kB / 0.585 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.4591, allocations: 63.2 kB / 0.5851 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.4591, allocations: 3.781 kB / 0.5851 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.4591, allocations: 5.062 kB / 0.5851 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.4592, allocations: 19.7 kB / 0.5851 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.4592, allocations: 46.45 kB / 0.5851 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.4594, allocations: 82.36 kB / 0.5852 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4594, allocations: 0 / 0.5852 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4594, allocations: 5.719 kB / 0.5852 GB, free: 2.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.4594, allocations: 0 / 0.5852 GB, free: 2.547 MB / 430.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.0007056/0.4601, allocations: 445.1 kB / 0.5857 GB, free: 2.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4602, allocations: 9.719 kB / 0.5857 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.4602, allocations: 39 kB / 0.5857 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.4603, allocations: 14.25 kB / 0.5857 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.4605, allocations: 211.6 kB / 0.5859 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4605, allocations: 3.094 kB / 0.5859 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.4605, allocations: 7.875 kB / 0.5859 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.4608, allocations: 122.8 kB / 0.586 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4608, allocations: 1.094 kB / 0.586 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4609, allocations: 4 kB / 0.586 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4609, allocations: 6.688 kB / 0.5861 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.4612, allocations: 106.5 kB / 0.5862 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.4619, allocations: 482 kB / 0.5866 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.4624, allocations: 135 kB / 0.5867 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.4626, allocations: 76.19 kB / 0.5868 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.4626, allocations: 2.594 kB / 0.5868 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4626, allocations: 32 kB / 0.5869 GB, free: 1.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.445e-06/0.4627, allocations: 1.094 kB / 0.5869 GB, free: 1.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006553/0.4633, allocations: 213.3 kB / 0.5871 GB, free: 1.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.4634, allocations: 83.19 kB / 0.5871 GB, free: 1.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.4636, allocations: 173.2 kB / 0.5873 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.4636, allocations: 26.27 kB / 0.5873 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.4637, allocations: 109.6 kB / 0.5874 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.4637, allocations: 29.61 kB / 0.5875 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.4637, allocations: 0.625 kB / 0.5875 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.4638, allocations: 322.3 kB / 0.5878 GB, free: 412 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.464, allocations: 53.94 kB / 0.5878 GB, free: 396 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.4641, allocations: 71.11 kB / 0.5879 GB, free: 360 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.4643, allocations: 52.34 kB / 0.5879 GB, free: 344 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4643, allocations: 0.5625 kB / 0.5879 GB, free: 344 kB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003854/0.4647, allocations: 154.3 kB / 0.5881 GB, free: 276 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4647, allocations: 6.281 kB / 0.5881 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4648, allocations: 1.438 kB / 0.5881 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4648, allocations: 3.953 kB / 0.5881 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4649, allocations: 30.3 kB / 0.5881 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.465, allocations: 1.094 kB / 0.5881 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4651, allocations: 28.47 kB / 0.5882 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.4651, allocations: 3.562 kB / 0.5882 GB, free: 252 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.4652, allocations: 114.8 kB / 0.5883 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.4652, allocations: 14.97 kB / 0.5883 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/0.4657, allocations: 181.2 kB / 0.5885 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4657, allocations: 5.141 kB / 0.5885 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4657, allocations: 0.6094 kB / 0.5885 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4657, allocations: 1.672 kB / 0.5885 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.4661, allocations: 216.2 kB / 0.5887 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4661, allocations: 1.656 kB / 0.5887 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.4663, allocations: 39.92 kB / 0.5887 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.4663, allocations: 1.453 kB / 0.5887 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4663, allocations: 2.406 kB / 0.5887 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4663, allocations: 0.7031 kB / 0.5887 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.4663, allocations: 4.953 kB / 0.5887 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.4668, allocations: 322.9 kB / 0.589 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.4669, allocations: 90.39 kB / 0.5891 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.4669, allocations: 1.562 kB / 0.5891 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.4671, allocations: 23.42 kB / 0.5891 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.4672, allocations: 10.84 kB / 0.5891 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.4672, allocations: 3.672 kB / 0.5891 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.4674, allocations: 131.1 kB / 0.5893 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4674, allocations: 0 / 0.5893 GB, free: 15.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.4677, allocations: 28.59 kB / 0.5893 GB, free: 15.34 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007549/0.4684, allocations: 0.8588 MB / 0.5901 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.4688, allocations: 115.8 kB / 0.5902 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4688, allocations: 0 / 0.5902 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.469, allocations: 67.42 kB / 0.5903 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.4695, allocations: 37.53 kB / 0.5903 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.4711, allocations: 0.8332 MB / 0.5912 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.4714, allocations: 0.7043 MB / 0.5918 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.547e-05/0.4715, allocations: 11.52 kB / 0.5919 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.4716, allocations: 32.53 kB / 0.5919 GB, free: 13.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4716, allocations: 0 / 0.5919 GB, free: 13.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.4863, allocations: 3.215 MB / 0.595 GB, free: 12.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.4866, allocations: 193.3 kB / 0.5952 GB, free: 12.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.225, allocations: 0 / 0.5952 GB, free: 12.71 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: