Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.197/2.197, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 192.2 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 107.5 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 51.81 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3752, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003187/0.3784, allocations: 1.875 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.3788, allocations: 115.6 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3789, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.3791, allocations: 15.8 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.945e-05/0.3792, allocations: 47.56 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.3793, allocations: 27.97 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3796, allocations: 175.1 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3797, allocations: 21.11 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.3798, allocations: 51.84 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.3799, allocations: 67.69 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.3799, allocations: 8 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 2.588e-05/0.38, allocations: 4 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.38, allocations: 15.92 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.3801, allocations: 67.64 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.3802, allocations: 113.6 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3802, allocations: 4 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3803, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.3803, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 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.000791/0.3811, allocations: 450.9 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.3811, allocations: 11.98 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.3812, allocations: 16.84 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.3814, allocations: 212.5 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3814, allocations: 384 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3815, allocations: 16.31 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.3817, allocations: 111.9 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3818, allocations: 192 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3818, allocations: 3.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3818, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.3821, allocations: 103.9 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.3827, allocations: 468.7 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.3831, allocations: 129.2 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.3833, allocations: 65.78 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.3833, allocations: 4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3834, allocations: 38.5 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.3834, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0005382/0.3839, allocations: 181.4 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.384, allocations: 77.11 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3841, allocations: 179.9 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3841, allocations: 25.7 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.3842, allocations: 108 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3842, allocations: 27.56 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.3843, allocations: 25.7 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.3843, allocations: 330.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.3845, allocations: 39.97 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3846, allocations: 61.62 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.3849, allocations: 109.6 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3849, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003013/0.3852, allocations: 141.5 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3852, allocations: 9.188 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3852, allocations: 0 / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3853, allocations: 4 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3854, allocations: 23.98 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3854, allocations: 0 / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3855, allocations: 20.2 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3856, allocations: 3.938 kB / 1.223 GB, free: 111.3 MB / 0.823 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 8.992e-05/0.3856, allocations: 126.5 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.3857, allocations: 7.906 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.3861, allocations: 162.7 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3861, allocations: 48 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.3861, allocations: 11.92 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.3861, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.3864, allocations: 225.5 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3864, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3866, allocations: 31.91 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3866, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3866, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3866, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3866, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.3873, allocations: 0.9183 MB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.3873, allocations: 88.92 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3874, allocations: 3.938 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3875, allocations: 15.92 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3876, allocations: 15.98 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3876, allocations: 288 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.55e-05/0.3877, allocations: 127.2 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3877, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003603/0.3881, allocations: 35.88 kB / 1.225 GB, free: 109.4 MB / 0.823 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.000112/0.3882, allocations: 95.25 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.3885, allocations: 107.9 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3885, allocations: 0 / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3887, allocations: 59.89 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.3892, allocations: 28.92 kB / 1.225 GB, free: 109.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.3898, allocations: 400.1 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.39, allocations: 0.7087 MB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.938e-05/0.39, allocations: 12.64 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.3901, allocations: 15.44 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of SimCode: time 3.71e-07/0.3901, allocations: 0 / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of Templates: time 0.004302/0.3944, allocations: 1.983 MB / 1.229 GB, free: 106 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)