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.001362/0.001362, allocations: 100.5 kB / 16.36 MB, free: 6.422 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.001556/0.001556, allocations: 198.3 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.865/1.865, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001557/0.001557, allocations: 75.02 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2634, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003676/0.2671, allocations: 1.827 MB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004737/0.2677, allocations: 115.6 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2678, allocations: 0 / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.268, allocations: 23.8 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.2682, allocations: 51.55 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.2684, allocations: 31.95 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.2687, allocations: 167.1 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2688, allocations: 36.86 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.269, allocations: 59.8 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.2691, allocations: 63.75 kB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.2692, allocations: 12 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.585e-05/0.2692, allocations: 8 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.2693, allocations: 31.84 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.2694, allocations: 59.73 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.2696, allocations: 127.5 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2696, allocations: 3.984 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2696, allocations: 0 / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.2696, allocations: 0 / 0.7873 GB, free: 0.5625 MB / 0.6544 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.0008676/0.2705, allocations: 454.8 kB / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2705, allocations: 12.03 kB / 0.7878 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.2706, allocations: 8.844 kB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4014/0.672, allocations: 200.7 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.6721, allocations: 4.844 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.6721, allocations: 5.625 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.6725, allocations: 124.7 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6726, allocations: 1.562 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.6726, allocations: 3.938 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.6726, allocations: 6.594 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.6729, allocations: 98.86 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008398/0.6738, allocations: 472.7 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.6742, allocations: 131.2 kB / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.6744, allocations: 59.75 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.6744, allocations: 2.625 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.6744, allocations: 36.19 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 3.216e-06/0.6744, allocations: 0 / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005977/0.6751, allocations: 182.4 kB / 0.789 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.6751, allocations: 79.73 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.6753, allocations: 164.1 kB / 0.7893 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.6753, allocations: 29.27 kB / 0.7893 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.6754, allocations: 114.2 kB / 0.7894 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.6754, allocations: 31.09 kB / 0.7894 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.6755, allocations: 25.08 kB / 0.7895 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.6756, allocations: 328.6 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.6757, allocations: 44.5 kB / 0.7898 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.6759, allocations: 56.44 kB / 0.7899 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.6762, allocations: 105.3 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6762, allocations: 6.688 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003155/0.6765, allocations: 137.7 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.6766, allocations: 5.844 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6766, allocations: 2.812 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.6766, allocations: 5.594 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.6768, allocations: 22.62 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.6768, allocations: 1.562 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.6769, allocations: 19.47 kB / 0.7902 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.6769, allocations: 2.906 kB / 0.7902 GB, free: 47.48 MB / 0.6544 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 9.097e-05/0.677, allocations: 125.5 kB / 0.7903 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.6771, allocations: 11.78 kB / 0.7903 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.6775, allocations: 159.5 kB / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6775, allocations: 4.812 kB / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6775, allocations: 0.875 kB / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.6775, allocations: 0 / 0.7904 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.6778, allocations: 225.6 kB / 0.7907 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6778, allocations: 1.281 kB / 0.7907 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.678, allocations: 23.42 kB / 0.7907 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.678, allocations: 2.781 kB / 0.7907 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.678, allocations: 6.328 kB / 0.7907 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.678, allocations: 1.406 kB / 0.7907 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.678, allocations: 2.719 kB / 0.7907 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.6784, allocations: 311.1 kB / 0.791 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.6785, allocations: 94.66 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.6785, allocations: 2.062 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.6787, allocations: 14.2 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.6788, allocations: 7.359 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.6788, allocations: 5.562 kB / 0.7911 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.527e-05/0.6789, allocations: 126 kB / 0.7912 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6789, allocations: 1.375 kB / 0.7912 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002895/0.6792, allocations: 29.06 kB / 0.7913 GB, free: 46.74 MB / 0.6544 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 0.0001077/0.6793, allocations: 106 kB / 0.7914 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.6797, allocations: 106.3 kB / 0.7915 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6797, allocations: 0 / 0.7915 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.6798, allocations: 56.3 kB / 0.7915 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.6803, allocations: 44.47 kB / 0.7916 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.6809, allocations: 236.6 kB / 0.7918 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.6811, allocations: 0.7094 MB / 0.7925 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.566e-05/0.6812, allocations: 12.55 kB / 0.7925 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.6812, allocations: 13.03 kB / 0.7925 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.6812, allocations: 0 / 0.7925 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.004904/0.6861, allocations: 2.097 MB / 0.7946 GB, free: 45.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)