Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01013/0.01013, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.002682/0.002682, allocations: 187 kB / 16.67 MB, free: 5.926 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9758/0.9758, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 0.5856 GB, free: 3.379 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4759, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002684/0.4786, allocations: 1.831 MB / 0.6664 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.4789, allocations: 118.3 kB / 0.6665 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.479, allocations: 1.25 kB / 0.6665 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.4791, allocations: 11.86 kB / 0.6665 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.022e-05/0.4792, allocations: 53.86 kB / 0.6666 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.4793, allocations: 35.73 kB / 0.6666 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.4795, allocations: 173.1 kB / 0.6668 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4796, allocations: 24.38 kB / 0.6668 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.4797, allocations: 62.64 kB / 0.6668 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.4798, allocations: 64.77 kB / 0.6669 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.4799, allocations: 12.78 kB / 0.6669 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.99e-05/0.4799, allocations: 14.47 kB / 0.6669 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.4799, allocations: 22.53 kB / 0.6669 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.48, allocations: 62.95 kB / 0.667 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.4802, allocations: 129.4 kB / 0.6671 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4802, allocations: 0 / 0.6671 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4802, allocations: 0 / 0.6671 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.4802, allocations: 1.562 kB / 0.6671 GB, free: 5.609 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.0006382/0.4808, allocations: 455.6 kB / 0.6676 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4809, allocations: 9.281 kB / 0.6676 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.4809, allocations: 16.66 kB / 0.6676 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.4811, allocations: 215 kB / 0.6678 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.4812, allocations: 2.781 kB / 0.6678 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.4812, allocations: 8.625 kB / 0.6678 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.4814, allocations: 118.5 kB / 0.6679 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4815, allocations: 192 / 0.6679 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.4815, allocations: 7.938 kB / 0.6679 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4815, allocations: 2.938 kB / 0.6679 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.4818, allocations: 94.73 kB / 0.668 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.4824, allocations: 477.7 kB / 0.6685 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.4828, allocations: 128 kB / 0.6686 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.483, allocations: 68.92 kB / 0.6687 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.483, allocations: 1.344 kB / 0.6687 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.483, allocations: 39.91 kB / 0.6687 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.483, allocations: 0 / 0.6687 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000539/0.4836, allocations: 185.9 kB / 0.6689 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.4836, allocations: 78.05 kB / 0.669 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.4837, allocations: 170.1 kB / 0.6691 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.4838, allocations: 30.8 kB / 0.6691 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.4838, allocations: 105.3 kB / 0.6692 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.4838, allocations: 27.62 kB / 0.6693 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.4839, allocations: 28.02 kB / 0.6693 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.4839, allocations: 325.2 kB / 0.6696 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4841, allocations: 46.41 kB / 0.6697 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.4842, allocations: 59.72 kB / 0.6697 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.4845, allocations: 103.3 kB / 0.6698 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4845, allocations: 0 / 0.6698 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000324/0.4848, allocations: 150.3 kB / 0.67 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4849, allocations: 5.156 kB / 0.67 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4849, allocations: 0 / 0.67 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4849, allocations: 5.094 kB / 0.67 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.4851, allocations: 21.73 kB / 0.67 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4851, allocations: 1.219 kB / 0.67 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4852, allocations: 19.05 kB / 0.67 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.4852, allocations: 5.406 kB / 0.67 GB, free: 3.059 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 6.666e-05/0.4853, allocations: 119.4 kB / 0.6701 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.4853, allocations: 15.81 kB / 0.6701 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.4857, allocations: 156.4 kB / 0.6703 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4857, allocations: 2.516 kB / 0.6703 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4858, allocations: 4 kB / 0.6703 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4858, allocations: 1.406 kB / 0.6703 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.486, allocations: 227.8 kB / 0.6705 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.486, allocations: 4 kB / 0.6705 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.4861, allocations: 29.09 kB / 0.6705 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4862, allocations: 1.531 kB / 0.6705 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.4862, allocations: 0 / 0.6705 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4862, allocations: 1.156 kB / 0.6705 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4862, allocations: 1.594 kB / 0.6705 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.4865, allocations: 321 kB / 0.6709 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.4866, allocations: 91.92 kB / 0.6709 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4866, allocations: 5.453 kB / 0.6709 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.4868, allocations: 10.44 kB / 0.671 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.4868, allocations: 11.58 kB / 0.671 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.4869, allocations: 5.312 kB / 0.671 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.037e-05/0.4869, allocations: 131.4 kB / 0.6711 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4869, allocations: 0 / 0.6711 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002982/0.4872, allocations: 33.97 kB / 0.6711 GB, free: 2.059 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 8.609e-05/0.4873, allocations: 98.48 kB / 0.6712 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.4877, allocations: 106.8 kB / 0.6713 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4877, allocations: 0 / 0.6713 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.4879, allocations: 56.25 kB / 0.6714 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.4883, allocations: 48.61 kB / 0.6714 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.4888, allocations: 233.1 kB / 0.6716 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.4889, allocations: 0.7025 MB / 0.6723 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.631e-05/0.489, allocations: 18.67 kB / 0.6724 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.4891, allocations: 13.5 kB / 0.6724 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4891, allocations: 1.188 kB / 0.6724 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of Templates: time 0.004663/0.4938, allocations: 2.104 MB / 0.6744 GB, free: 15.91 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)