Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008902/0.0008902, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008805/0.0008806, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005649/0.0005649, allocations: 13.91 kB / 0.6735 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2758, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001964/0.2778, allocations: 1.45 MB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.2781, allocations: 127.6 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.2781, allocations: 4 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.2782, allocations: 7.922 kB / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.2783, allocations: 59.8 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.2784, allocations: 31.91 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.2786, allocations: 115.8 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2788, allocations: 25.09 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.2788, allocations: 39.86 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2789, allocations: 63.75 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.279, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.279, allocations: 4 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.279, allocations: 23.86 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.2791, allocations: 45.64 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2792, allocations: 84.06 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2792, allocations: 3.938 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2792, allocations: 0 / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2792, allocations: 0 / 0.7891 GB, free: 9.922 MB / 0.6075 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.0007553/0.28, allocations: 450.7 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.28, allocations: 12.03 kB / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.2801, allocations: 7.906 kB / 0.7896 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.2803, allocations: 214.7 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2803, allocations: 0 / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.2804, allocations: 8 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2807, allocations: 127.3 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2807, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2807, allocations: 4 kB / 0.7899 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2807, allocations: 4 kB / 0.7899 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.281, allocations: 107.9 kB / 0.79 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007109/0.2817, allocations: 484.6 kB / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.2821, allocations: 137.3 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2822, allocations: 0 / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2822, allocations: 34.56 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.2822, allocations: 0 / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005816/0.2828, allocations: 209.4 kB / 0.7908 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.2828, allocations: 81.06 kB / 0.7909 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.283, allocations: 163.4 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.283, allocations: 25.7 kB / 0.7911 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.2831, allocations: 116.2 kB / 0.7912 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.2831, allocations: 27.64 kB / 0.7912 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.2832, allocations: 0 / 0.7912 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2833, allocations: 326.8 kB / 0.7916 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.2834, allocations: 43.97 kB / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.2836, allocations: 73.56 kB / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.2837, allocations: 55.97 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2838, allocations: 4 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003385/0.2841, allocations: 157.4 kB / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2841, allocations: 8 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2841, allocations: 3.938 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2842, allocations: 4 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2843, allocations: 27.97 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2843, allocations: 4 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2844, allocations: 15.86 kB / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.2845, allocations: 8.359 kB / 0.7919 GB, free: 6.793 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.2846, allocations: 128.6 kB / 0.7921 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.2846, allocations: 11.91 kB / 0.7921 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.285, allocations: 170.5 kB / 0.7922 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2851, allocations: 4 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2851, allocations: 0 / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2851, allocations: 0 / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.2854, allocations: 237.4 kB / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2854, allocations: 0 / 0.7925 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.2855, allocations: 27.92 kB / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2855, allocations: 0 / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.2855, allocations: 0 / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2856, allocations: 8 kB / 0.7925 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2856, allocations: 0 / 0.7925 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.286, allocations: 340.3 kB / 0.7928 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.286, allocations: 92.92 kB / 0.7929 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.2861, allocations: 0 / 0.7929 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.2862, allocations: 11.98 kB / 0.7929 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.2863, allocations: 11.98 kB / 0.7929 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2863, allocations: 7.953 kB / 0.7929 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.315e-05/0.2864, allocations: 128.2 kB / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2864, allocations: 0 / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002828/0.2867, allocations: 28 kB / 0.7931 GB, free: 5.508 MB / 0.6075 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 (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.0001099/0.2868, allocations: 95.53 kB / 0.7932 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.2872, allocations: 123.8 kB / 0.7933 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2872, allocations: 0 / 0.7933 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2873, allocations: 68.12 kB / 0.7934 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2877, allocations: 36.06 kB / 0.7934 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.2882, allocations: 264.4 kB / 0.7937 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.2885, allocations: 0.7125 MB / 0.7944 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.489e-05/0.2886, allocations: 16.44 kB / 0.7944 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.2886, allocations: 15.42 kB / 0.7944 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2886, allocations: 0 / 0.7944 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of Templates: time 0.004227/0.2929, allocations: 1.832 MB / 0.7962 GB, free: 2.332 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: