Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.01278/0.01278, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.00286/0.002861, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.688/1.688, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.763/1.763, allocations: 251.7 MB / 0.5094 GB, free: 3.027 MB / 414.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.001552/0.001552, allocations: 70.09 kB / 0.7257 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3367, allocations: 104.7 MB / 0.828 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003704/0.3405, allocations: 1.828 MB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003783/0.3409, allocations: 119.5 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.341, allocations: 0 / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.3412, allocations: 15.8 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.3413, allocations: 51.56 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.3415, allocations: 39.94 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3418, allocations: 167.1 kB / 0.8302 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.342, allocations: 29.11 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3421, allocations: 51.84 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3422, allocations: 67.7 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.3423, allocations: 8 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.958e-05/0.3423, allocations: 12 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.3423, allocations: 27.89 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.513e-05/0.3424, allocations: 63.67 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3427, allocations: 131.5 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3427, allocations: 0 / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.806e-06/0.3427, allocations: 3.938 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3427, allocations: 8 kB / 0.8306 GB, free: 13.63 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.000937/0.3437, allocations: 446.8 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.3437, allocations: 8.031 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.3438, allocations: 16.75 kB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.3441, allocations: 201.9 kB / 0.8312 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3441, allocations: 12.31 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3442, allocations: 8.375 kB / 0.8312 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.3445, allocations: 122.8 kB / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3445, allocations: 192 / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.3445, allocations: 7.938 kB / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3446, allocations: 3.984 kB / 0.8313 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.3449, allocations: 99.91 kB / 0.8314 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.3457, allocations: 472.6 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.3461, allocations: 137.2 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.3463, allocations: 57.78 kB / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.3463, allocations: 0 / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3463, allocations: 34.56 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3463, allocations: 4 kB / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005919/0.3469, allocations: 177.5 kB / 0.8323 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.347, allocations: 77.11 kB / 0.8324 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3472, allocations: 175.3 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3472, allocations: 25.7 kB / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.3473, allocations: 112 kB / 0.8327 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.3473, allocations: 31.62 kB / 0.8327 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.3474, allocations: 25.7 kB / 0.8327 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3476, allocations: 326.8 kB / 0.833 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3477, allocations: 43.97 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3479, allocations: 57.62 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.3482, allocations: 109.9 kB / 0.8332 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3482, allocations: 4 kB / 0.8332 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003481/0.3485, allocations: 145.4 kB / 0.8334 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3485, allocations: 4 kB / 0.8334 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3486, allocations: 4 kB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3486, allocations: 0 / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.3488, allocations: 24.17 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3488, allocations: 0 / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3489, allocations: 15.92 kB / 0.8334 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3489, allocations: 3.938 kB / 0.8334 GB, free: 10.44 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 0.0001195/0.349, allocations: 121.8 kB / 0.8335 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.3491, allocations: 15.81 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.3495, allocations: 166.5 kB / 0.8337 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.3496, allocations: 0 / 0.8337 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3496, allocations: 0 / 0.8337 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3496, allocations: 0 / 0.8337 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.3499, allocations: 221.5 kB / 0.8339 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3499, allocations: 0 / 0.8339 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.35, allocations: 23.97 kB / 0.8339 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.35, allocations: 8 kB / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3501, allocations: 0 / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3501, allocations: 0 / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3501, allocations: 0 / 0.8339 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.3505, allocations: 314.7 kB / 0.8342 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.3506, allocations: 89.02 kB / 0.8343 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.3506, allocations: 11.98 kB / 0.8343 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.3508, allocations: 4 kB / 0.8343 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.3509, allocations: 8.219 kB / 0.8344 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3509, allocations: 11.88 kB / 0.8344 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001225/0.351, allocations: 137.2 kB / 0.8345 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.351, allocations: 0 / 0.8345 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002835/0.3513, allocations: 28 kB / 0.8345 GB, free: 9.207 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.0001468/0.3515, allocations: 107.2 kB / 0.8346 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.3519, allocations: 103.9 kB / 0.8347 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3519, allocations: 0 / 0.8347 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.352, allocations: 55.95 kB / 0.8348 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3525, allocations: 43.98 kB / 0.8348 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.3531, allocations: 231.3 kB / 0.835 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3534, allocations: 0.7045 MB / 0.8357 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.701e-05/0.3535, allocations: 12.64 kB / 0.8357 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.3536, allocations: 23.44 kB / 0.8358 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.3536, allocations: 0 / 0.8358 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of Templates: time 0.005837/0.3594, allocations: 2.095 MB / 0.8378 GB, free: 5.824 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)