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.009675/0.009675, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.002067/0.002067, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.1 MB / 222.5 MB, free: 4.523 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.613/1.613, allocations: 251.7 MB / 0.5094 GB, free: 2.969 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.001773/0.001773, allocations: 67.91 kB / 0.7257 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3789, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004016/0.383, allocations: 1.824 MB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004225/0.3834, allocations: 119.6 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3836, allocations: 4 kB / 0.8299 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.3837, allocations: 19.73 kB / 0.8299 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.3839, allocations: 51.55 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.3841, allocations: 35.95 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.3843, allocations: 167.1 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.3845, allocations: 25.11 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3846, allocations: 51.86 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.3848, allocations: 71.69 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.3848, allocations: 11.98 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.731e-05/0.3849, allocations: 12 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.3849, allocations: 19.92 kB / 0.8304 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.385, allocations: 67.66 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.3852, allocations: 135.5 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3853, allocations: 0 / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3853, allocations: 4 kB / 0.8306 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.525e-06/0.3853, allocations: 0 / 0.8306 GB, free: 13.58 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.000997/0.3863, allocations: 449.4 kB / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.3863, allocations: 8.031 kB / 0.831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.3864, allocations: 20.75 kB / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.3868, allocations: 209 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3868, allocations: 4.312 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.3869, allocations: 8.375 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.3872, allocations: 119.8 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3872, allocations: 4.172 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.3873, allocations: 7.938 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3873, allocations: 8 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.3876, allocations: 83.94 kB / 0.8314 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.3885, allocations: 484.5 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.3889, allocations: 125.2 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.3891, allocations: 57.78 kB / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.3892, allocations: 8.062 kB / 0.8321 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.3892, allocations: 38.55 kB / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3892, allocations: 0 / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0006175/0.3898, allocations: 177.5 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.3899, allocations: 77.11 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3902, allocations: 171.3 kB / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.3902, allocations: 29.7 kB / 0.8325 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.3903, allocations: 108 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.3904, allocations: 35.48 kB / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.3904, allocations: 21.72 kB / 0.8327 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.3907, allocations: 326.8 kB / 0.833 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.3908, allocations: 47.91 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.391, allocations: 61.67 kB / 0.8331 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.3913, allocations: 105.9 kB / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3913, allocations: 0 / 0.8332 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003353/0.3916, allocations: 149.4 kB / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3916, allocations: 4 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3917, allocations: 3.984 kB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3917, allocations: 0 / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3918, allocations: 23.98 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3919, allocations: 3.938 kB / 0.8334 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.392, allocations: 11.98 kB / 0.8334 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.392, allocations: 3.938 kB / 0.8334 GB, free: 10.39 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.0001193/0.3921, allocations: 121.8 kB / 0.8335 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.3922, allocations: 15.81 kB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.3926, allocations: 162.5 kB / 0.8337 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3926, allocations: 0 / 0.8337 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3927, allocations: 0 / 0.8337 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3927, allocations: 4 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.393, allocations: 217.5 kB / 0.8339 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.393, allocations: 4 kB / 0.8339 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.3931, allocations: 19.98 kB / 0.8339 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.3932, allocations: 4 kB / 0.8339 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3932, allocations: 0 / 0.8339 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3932, allocations: 0 / 0.8339 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3932, allocations: 0 / 0.8339 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.3937, allocations: 322.6 kB / 0.8342 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.3938, allocations: 85.25 kB / 0.8343 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3938, allocations: 8 kB / 0.8343 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.394, allocations: 11.98 kB / 0.8343 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.394, allocations: 11.91 kB / 0.8344 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3941, allocations: 12.16 kB / 0.8344 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000135/0.3942, allocations: 137.2 kB / 0.8345 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3942, allocations: 4 kB / 0.8345 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002854/0.3945, allocations: 31.94 kB / 0.8345 GB, free: 9.141 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.0001484/0.3947, allocations: 95.25 kB / 0.8346 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.395, allocations: 107.9 kB / 0.8347 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3951, allocations: 0 / 0.8347 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.3952, allocations: 59.91 kB / 0.8348 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.3957, allocations: 29.67 kB / 0.8348 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.3963, allocations: 235.7 kB / 0.835 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.3967, allocations: 0.7045 MB / 0.8357 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.055e-05/0.3968, allocations: 12.66 kB / 0.8357 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.3969, allocations: 19.42 kB / 0.8358 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.3969, allocations: 0 / 0.8358 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.005899/0.4028, allocations: 2.105 MB / 0.8378 GB, free: 5.766 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)