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.0009554/0.0009554, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008912/0.0008912, allocations: 168.7 kB / 15.95 MB, free: 204 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.294/1.294, allocations: 223.2 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7418/0.7418, allocations: 132.4 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002857, allocations: 10.34 kB / 0.5034 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3466, allocations: 81.57 MB / 0.5831 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001473/0.3481, allocations: 1.491 MB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002125/0.3483, allocations: 119.4 kB / 0.5846 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.3484, allocations: 1.094 kB / 0.5846 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.344e-05/0.3485, allocations: 8.438 kB / 0.5846 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.3486, allocations: 53.19 kB / 0.5847 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.578e-05/0.3487, allocations: 24.72 kB / 0.5847 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.3488, allocations: 151 kB / 0.5849 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.3489, allocations: 22.25 kB / 0.5849 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.349, allocations: 51.88 kB / 0.5849 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.836e-05/0.3491, allocations: 66.25 kB / 0.585 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3491, allocations: 4.781 kB / 0.585 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.29e-05/0.3492, allocations: 4.156 kB / 0.585 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.3492, allocations: 16.19 kB / 0.585 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.3492, allocations: 51.3 kB / 0.5851 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.3493, allocations: 86.23 kB / 0.5852 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3493, allocations: 0 / 0.5852 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3493, allocations: 0 / 0.5852 GB, free: 2.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3494, allocations: 0 / 0.5852 GB, free: 2.535 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.0005727/0.3499, allocations: 445.8 kB / 0.5856 GB, free: 2.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.35, allocations: 9.703 kB / 0.5856 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.35, allocations: 15.09 kB / 0.5856 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3502, allocations: 216.6 kB / 0.5858 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3502, allocations: 6.75 kB / 0.5858 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3502, allocations: 5.969 kB / 0.5858 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.3505, allocations: 121.5 kB / 0.5859 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3505, allocations: 0 / 0.5859 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3505, allocations: 4.969 kB / 0.5859 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3505, allocations: 7.031 kB / 0.5859 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.3508, allocations: 106.1 kB / 0.586 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.3514, allocations: 478.3 kB / 0.5865 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.3518, allocations: 138.2 kB / 0.5866 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.3519, allocations: 68.7 kB / 0.5867 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.352, allocations: 6.109 kB / 0.5867 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.352, allocations: 36.92 kB / 0.5867 GB, free: 1.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.352, allocations: 0 / 0.5867 GB, free: 1.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005377/0.3525, allocations: 206 kB / 0.5869 GB, free: 1.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.3526, allocations: 78.69 kB / 0.587 GB, free: 1.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3527, allocations: 177.8 kB / 0.5872 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3527, allocations: 26.52 kB / 0.5872 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.3527, allocations: 116.8 kB / 0.5873 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.3528, allocations: 29.73 kB / 0.5873 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.3528, allocations: 1.125 kB / 0.5873 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.3528, allocations: 322.1 kB / 0.5877 GB, free: 440 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.353, allocations: 49.48 kB / 0.5877 GB, free: 428 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3531, allocations: 66.86 kB / 0.5878 GB, free: 396 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3533, allocations: 53.19 kB / 0.5878 GB, free: 380 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3533, allocations: 0.875 kB / 0.5878 GB, free: 380 kB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003225/0.3536, allocations: 159.8 kB / 0.588 GB, free: 308 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3536, allocations: 4.125 kB / 0.588 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3536, allocations: 0.875 kB / 0.588 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3536, allocations: 5.781 kB / 0.588 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3538, allocations: 37.17 kB / 0.588 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3538, allocations: 1.75 kB / 0.588 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3539, allocations: 20.8 kB / 0.588 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.354, allocations: 2.781 kB / 0.588 GB, free: 284 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 6.066e-05/0.354, allocations: 123 kB / 0.5882 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.3541, allocations: 15.97 kB / 0.5882 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.3545, allocations: 167.7 kB / 0.5883 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3545, allocations: 6.406 kB / 0.5883 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3545, allocations: 4.656 kB / 0.5883 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3545, allocations: 1.609 kB / 0.5883 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3548, allocations: 216.6 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3548, allocations: 0 / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.355, allocations: 32.58 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.355, allocations: 1.203 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.355, allocations: 5.344 kB / 0.5886 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.355, allocations: 2 kB / 0.5886 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.355, allocations: 4.656 kB / 0.5886 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.3554, allocations: 327.3 kB / 0.5889 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.3555, allocations: 89.61 kB / 0.589 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.3555, allocations: 6.594 kB / 0.589 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.3557, allocations: 16.11 kB / 0.589 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3557, allocations: 6.531 kB / 0.589 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3557, allocations: 6.812 kB / 0.589 GB, free: 15.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.97e-05/0.3558, allocations: 130.8 kB / 0.5892 GB, free: 15.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3559, allocations: 4 kB / 0.5892 GB, free: 15.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.3561, allocations: 29.56 kB / 0.5892 GB, free: 15.37 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 8.056e-05/0.3562, allocations: 102.4 kB / 0.5893 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.3566, allocations: 116.3 kB / 0.5894 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3566, allocations: 0 / 0.5894 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.3567, allocations: 58.91 kB / 0.5894 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3572, allocations: 49.44 kB / 0.5895 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.3576, allocations: 263 kB / 0.5897 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.3579, allocations: 0.7034 MB / 0.5904 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.369e-05/0.358, allocations: 13.11 kB / 0.5904 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.358, allocations: 13.28 kB / 0.5905 GB, free: 14.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.358, allocations: 0 / 0.5905 GB, free: 14.3 MB / 446.1 MB Notification: Performance of Templates: time 0.0045/0.3625, allocations: 1.826 MB / 0.5922 GB, free: 14.18 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)