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: translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009667/0.0009669, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00692/0.00692, allocations: 170.7 kB / 16.27 MB, free: 6.66 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8098/0.8098, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003514, allocations: 8 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5256, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002069/0.5277, allocations: 1.533 MB / 0.5852 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.5281, allocations: 114.6 kB / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.5283, allocations: 4.719 kB / 0.5853 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.5284, allocations: 9.422 kB / 0.5853 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.5285, allocations: 47.09 kB / 0.5853 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.5287, allocations: 28.8 kB / 0.5853 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.529, allocations: 166.5 kB / 0.5855 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.5291, allocations: 25.41 kB / 0.5855 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.5293, allocations: 47.64 kB / 0.5856 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.5294, allocations: 63.05 kB / 0.5856 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.5294, allocations: 8.906 kB / 0.5856 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.542e-05/0.5295, allocations: 4.438 kB / 0.5857 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.5295, allocations: 15.56 kB / 0.5857 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.174e-05/0.5296, allocations: 87.27 kB / 0.5857 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.5298, allocations: 117.2 kB / 0.5859 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.5298, allocations: 0 / 0.5859 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5298, allocations: 0.9375 kB / 0.5859 GB, free: 2.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.5299, allocations: 7.875 kB / 0.5859 GB, free: 2.531 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.0007529/0.5306, allocations: 444.9 kB / 0.5863 GB, free: 2.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5307, allocations: 9.219 kB / 0.5863 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.5307, allocations: 15.69 kB / 0.5863 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.531, allocations: 210.4 kB / 0.5865 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.531, allocations: 7.531 kB / 0.5865 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.531, allocations: 5 kB / 0.5865 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.5314, allocations: 133.6 kB / 0.5867 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5314, allocations: 1.578 kB / 0.5867 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.5314, allocations: 4.656 kB / 0.5867 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5314, allocations: 1.906 kB / 0.5867 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.5318, allocations: 110.7 kB / 0.5868 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.5326, allocations: 482.6 kB / 0.5872 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.533, allocations: 134.7 kB / 0.5874 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.5332, allocations: 70.39 kB / 0.5874 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.5332, allocations: 5.953 kB / 0.5874 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.5332, allocations: 32.72 kB / 0.5875 GB, free: 1.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.5332, allocations: 7.938 kB / 0.5875 GB, free: 1.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007122/0.534, allocations: 206.5 kB / 0.5877 GB, free: 1.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.534, allocations: 78.47 kB / 0.5877 GB, free: 1.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.5342, allocations: 171 kB / 0.5879 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.5342, allocations: 26.7 kB / 0.5879 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.5343, allocations: 108.4 kB / 0.588 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.5344, allocations: 29.94 kB / 0.5881 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.5344, allocations: 17.64 kB / 0.5881 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.5345, allocations: 334.2 kB / 0.5884 GB, free: 416 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.5346, allocations: 49.75 kB / 0.5884 GB, free: 404 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.5348, allocations: 66.86 kB / 0.5885 GB, free: 372 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.5351, allocations: 114.9 kB / 0.5886 GB, free: 328 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5352, allocations: 0 / 0.5886 GB, free: 328 kB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004324/0.5356, allocations: 168.5 kB / 0.5888 GB, free: 248 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5356, allocations: 5.75 kB / 0.5888 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5356, allocations: 1.859 kB / 0.5888 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5357, allocations: 1.531 kB / 0.5888 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.5358, allocations: 29.34 kB / 0.5888 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5358, allocations: 1.719 kB / 0.5888 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.536, allocations: 19.89 kB / 0.5888 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.536, allocations: 11.58 kB / 0.5888 GB, free: 228 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.5361, allocations: 122.9 kB / 0.589 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.5362, allocations: 14.5 kB / 0.589 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/0.5369, allocations: 169 kB / 0.5891 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/0.537, allocations: 6.719 kB / 0.5891 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.537, allocations: 0 / 0.5891 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.537, allocations: 2.062 kB / 0.5891 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.5376, allocations: 227.6 kB / 0.5894 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5376, allocations: 1.125 kB / 0.5894 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.5378, allocations: 24.78 kB / 0.5894 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.5379, allocations: 0.7812 kB / 0.5894 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.5379, allocations: 1.594 kB / 0.5894 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.5379, allocations: 1.516 kB / 0.5894 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5379, allocations: 5.375 kB / 0.5894 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/0.5386, allocations: 327.5 kB / 0.5897 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.5387, allocations: 89.64 kB / 0.5898 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.5387, allocations: 5.406 kB / 0.5898 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.5389, allocations: 17.02 kB / 0.5898 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.5389, allocations: 7.266 kB / 0.5898 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.539, allocations: 9.5 kB / 0.5898 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.5391, allocations: 131.9 kB / 0.59 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5391, allocations: 4 kB / 0.59 GB, free: 15.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.5395, allocations: 29.22 kB / 0.59 GB, free: 15.31 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.0001237/0.5396, allocations: 103 kB / 0.5901 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004291/0.54, allocations: 120.4 kB / 0.5902 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.54, allocations: 1.375 kB / 0.5902 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.5402, allocations: 58.58 kB / 0.5903 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.5408, allocations: 45.61 kB / 0.5903 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.5416, allocations: 264.7 kB / 0.5906 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.5421, allocations: 0.7071 MB / 0.5912 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.5423, allocations: 13.27 kB / 0.5913 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.5424, allocations: 13.34 kB / 0.5913 GB, free: 14.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5424, allocations: 0 / 0.5913 GB, free: 14.24 MB / 446.1 MB Notification: Performance of Templates: time 0.008095/0.5505, allocations: 1.907 MB / 0.5931 GB, free: 14.11 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)