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.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7349/0.7349, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 56.94 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4618, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003128/0.465, allocations: 1.819 MB / 0.582 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003109/0.4653, allocations: 108.8 kB / 0.5821 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.4654, allocations: 5.312 kB / 0.5821 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.4656, allocations: 20.05 kB / 0.5821 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.4657, allocations: 49.53 kB / 0.5821 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.4658, allocations: 31.25 kB / 0.5822 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.466, allocations: 172.2 kB / 0.5823 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4661, allocations: 35.66 kB / 0.5824 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.4662, allocations: 53.22 kB / 0.5824 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4664, allocations: 67.06 kB / 0.5825 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.4664, allocations: 10.09 kB / 0.5825 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.245e-05/0.4664, allocations: 9.719 kB / 0.5825 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.4665, allocations: 24.3 kB / 0.5825 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.4666, allocations: 65.97 kB / 0.5826 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.4668, allocations: 126.2 kB / 0.5827 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4668, allocations: 4 kB / 0.5827 GB, free: 2.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4668, allocations: 0 / 0.5827 GB, free: 2.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.4668, allocations: 0 / 0.5827 GB, free: 2.875 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.0007135/0.4675, allocations: 450.3 kB / 0.5831 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4676, allocations: 9.219 kB / 0.5831 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.4676, allocations: 42.95 kB / 0.5832 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.4676, allocations: 19.66 kB / 0.5832 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.4678, allocations: 208.7 kB / 0.5834 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4679, allocations: 7.469 kB / 0.5834 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.4679, allocations: 9.188 kB / 0.5834 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.4682, allocations: 123.3 kB / 0.5835 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4682, allocations: 4.453 kB / 0.5835 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4682, allocations: 1.344 kB / 0.5835 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4682, allocations: 6.25 kB / 0.5835 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.4685, allocations: 93.33 kB / 0.5836 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.4692, allocations: 479.5 kB / 0.5841 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.4695, allocations: 128.8 kB / 0.5842 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.4697, allocations: 58.58 kB / 0.5843 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.4697, allocations: 5.062 kB / 0.5843 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.4698, allocations: 37.38 kB / 0.5843 GB, free: 1.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.4698, allocations: 0 / 0.5843 GB, free: 1.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005676/0.4703, allocations: 177.7 kB / 0.5845 GB, free: 1.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.4704, allocations: 83.73 kB / 0.5846 GB, free: 1.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4705, allocations: 173.5 kB / 0.5847 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.4705, allocations: 26.89 kB / 0.5848 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.4706, allocations: 112.9 kB / 0.5849 GB, free: 1.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.4706, allocations: 29.69 kB / 0.5849 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.4707, allocations: 21.78 kB / 0.5849 GB, free: 1.023 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.4707, allocations: 330.3 kB / 0.5852 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.4709, allocations: 38.66 kB / 0.5853 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.471, allocations: 61 kB / 0.5853 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.4713, allocations: 101 kB / 0.5854 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4713, allocations: 0 / 0.5854 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003483/0.4717, allocations: 146.2 kB / 0.5856 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4717, allocations: 8.719 kB / 0.5856 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4717, allocations: 0 / 0.5856 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.4717, allocations: 1.219 kB / 0.5856 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.4719, allocations: 31.09 kB / 0.5856 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4719, allocations: 1.188 kB / 0.5856 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.472, allocations: 25.08 kB / 0.5856 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.472, allocations: 3.016 kB / 0.5856 GB, free: 0.5234 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.4721, allocations: 119.5 kB / 0.5857 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.4722, allocations: 18.48 kB / 0.5858 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.4726, allocations: 159.5 kB / 0.5859 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4726, allocations: 1.219 kB / 0.5859 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4726, allocations: 1.062 kB / 0.5859 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4726, allocations: 9.672 kB / 0.5859 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.4729, allocations: 220.5 kB / 0.5861 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4729, allocations: 0.6562 kB / 0.5861 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.473, allocations: 21.44 kB / 0.5862 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4731, allocations: 1.453 kB / 0.5862 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4731, allocations: 8.938 kB / 0.5862 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4731, allocations: 1.031 kB / 0.5862 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4731, allocations: 5.812 kB / 0.5862 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.4735, allocations: 310.4 kB / 0.5865 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.4736, allocations: 94.69 kB / 0.5866 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.4736, allocations: 0.75 kB / 0.5866 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.4738, allocations: 9.344 kB / 0.5866 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.4738, allocations: 17.45 kB / 0.5866 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.4739, allocations: 2.812 kB / 0.5866 GB, free: 15.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.474, allocations: 128.1 kB / 0.5867 GB, free: 15.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.474, allocations: 0 / 0.5867 GB, free: 15.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.4743, allocations: 33.25 kB / 0.5867 GB, free: 15.61 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 (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.000662/0.4749, allocations: 0.8378 MB / 0.5876 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.4753, allocations: 104.6 kB / 0.5877 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4753, allocations: 0.5625 kB / 0.5877 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.4755, allocations: 57.02 kB / 0.5877 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.476, allocations: 48.78 kB / 0.5878 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.4782, allocations: 1.819 MB / 0.5895 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.4785, allocations: 0.7063 MB / 0.5902 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.87e-05/0.4786, allocations: 12.86 kB / 0.5902 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.4787, allocations: 36.42 kB / 0.5903 GB, free: 12.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4787, allocations: 0.9688 kB / 0.5903 GB, free: 12.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.5003, allocations: 3.583 MB / 0.5938 GB, free: 11.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.739, allocations: 6.531 kB / 0.5938 GB, free: 11.99 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 & 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)