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.00105/0.00105, allocations: 98.03 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.01079/0.01079, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.834/1.834, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.888/1.888, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000645/0.0006456, allocations: 14.97 kB / 0.6743 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3778, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003048/0.3809, allocations: 1.546 MB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000633/0.3816, allocations: 115.6 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.3818, allocations: 4 kB / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.382, allocations: 11.86 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3822, allocations: 43.62 kB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.3824, allocations: 27.97 kB / 0.7896 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.3827, allocations: 163.1 kB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.3829, allocations: 25.09 kB / 0.7897 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3831, allocations: 55.78 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3833, allocations: 59.77 kB / 0.7899 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.3833, allocations: 4 kB / 0.7899 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/0.3834, allocations: 4 kB / 0.7899 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.3834, allocations: 23.84 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3835, allocations: 81.44 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.3838, allocations: 115.8 kB / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.3838, allocations: 4 kB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.826e-06/0.3838, allocations: 0 / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3838, allocations: 0 / 0.7901 GB, free: 9.32 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.001008/0.3848, allocations: 442.9 kB / 0.7905 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/0.3849, allocations: 12.03 kB / 0.7905 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.385, allocations: 20.84 kB / 0.7905 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.3854, allocations: 211.9 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.3854, allocations: 4.375 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.3855, allocations: 8.375 kB / 0.7907 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.3858, allocations: 130.7 kB / 0.7909 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3859, allocations: 192 / 0.7909 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.3859, allocations: 11.92 kB / 0.7909 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.3859, allocations: 0 / 0.7909 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.3863, allocations: 107.9 kB / 0.791 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009672/0.3872, allocations: 484.7 kB / 0.7914 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.3877, allocations: 137.2 kB / 0.7916 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.3879, allocations: 65.72 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.3879, allocations: 8 kB / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.388, allocations: 38.55 kB / 0.7917 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.485e-06/0.388, allocations: 0 / 0.7917 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006609/0.3887, allocations: 201.4 kB / 0.7919 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3887, allocations: 85.11 kB / 0.792 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.389, allocations: 162.9 kB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.389, allocations: 29.64 kB / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3891, allocations: 120 kB / 0.7923 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.3891, allocations: 31.55 kB / 0.7923 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3892, allocations: 13.72 kB / 0.7923 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3893, allocations: 326.8 kB / 0.7926 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3895, allocations: 47.97 kB / 0.7927 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.3897, allocations: 69.67 kB / 0.7927 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.39, allocations: 121.6 kB / 0.7928 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.39, allocations: 0 / 0.7928 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003871/0.3904, allocations: 157.5 kB / 0.793 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3904, allocations: 4 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3905, allocations: 4 kB / 0.793 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3905, allocations: 0 / 0.793 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.3906, allocations: 27.97 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3907, allocations: 0 / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3908, allocations: 27.89 kB / 0.7931 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3908, allocations: 3.938 kB / 0.7931 GB, free: 6.012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.391, allocations: 117.8 kB / 0.7932 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.391, allocations: 7.906 kB / 0.7932 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.3915, allocations: 174.9 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3915, allocations: 4 kB / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.3915, allocations: 4.062 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3916, allocations: 3.984 kB / 0.7934 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.3919, allocations: 229.4 kB / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.3919, allocations: 0 / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.3921, allocations: 35.92 kB / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3921, allocations: 0 / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3921, allocations: 192 / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3921, allocations: 4 kB / 0.7936 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3921, allocations: 3.938 kB / 0.7936 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.3926, allocations: 330.5 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.3927, allocations: 88.92 kB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.3927, allocations: 240 / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.3929, allocations: 19.98 kB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.393, allocations: 7.984 kB / 0.794 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.393, allocations: 11.92 kB / 0.7941 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001228/0.3931, allocations: 132.7 kB / 0.7942 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3931, allocations: 0 / 0.7942 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003001/0.3935, allocations: 28 kB / 0.7942 GB, free: 4.734 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 (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.0001465/0.3936, allocations: 99.25 kB / 0.7943 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.394, allocations: 119.9 kB / 0.7944 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.394, allocations: 0 / 0.7944 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.3942, allocations: 63.91 kB / 0.7945 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.3948, allocations: 31.98 kB / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.3954, allocations: 272.2 kB / 0.7948 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3958, allocations: 0.7087 MB / 0.7955 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.396, allocations: 12.42 kB / 0.7955 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.396, allocations: 19.38 kB / 0.7955 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/0.396, allocations: 4 kB / 0.7955 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of Templates: time 0.006163/0.4022, allocations: 1.896 MB / 0.7973 GB, free: 1.496 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: