Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00131/0.00131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001417/0.001417, allocations: 192.4 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 472.6 MB / 0.7447 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 62.75 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.586, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.005078/0.5911, allocations: 1.888 MB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005682/0.5918, allocations: 111.6 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.592, allocations: 7.938 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.5922, allocations: 11.86 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.5924, allocations: 43.61 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.5927, allocations: 27.97 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.593, allocations: 171.1 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.5932, allocations: 28.88 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.5934, allocations: 55.78 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.5935, allocations: 63.75 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.5936, allocations: 4 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.704e-05/0.5936, allocations: 8 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.5937, allocations: 15.92 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.5938, allocations: 63.66 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.594, allocations: 123.8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.594, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.594, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.594, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 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.001149/0.5952, allocations: 454.8 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/0.5953, allocations: 12.03 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.5954, allocations: 8.844 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.5958, allocations: 216 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.5958, allocations: 384 / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.5958, allocations: 8.375 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.5962, allocations: 111.9 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.5962, allocations: 192 / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.5963, allocations: 11.92 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5963, allocations: 4 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.5966, allocations: 91.88 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5976, allocations: 484.6 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.5981, allocations: 121.2 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.5983, allocations: 69.72 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.5983, allocations: 4 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5984, allocations: 30.56 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.5984, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0006777/0.5991, allocations: 189.3 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.5991, allocations: 81.11 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.5993, allocations: 168.1 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.5994, allocations: 33.7 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.5995, allocations: 104.1 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.5995, allocations: 31.55 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.5996, allocations: 21.72 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5998, allocations: 326.8 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.6, allocations: 51.84 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.6001, allocations: 53.69 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.6004, allocations: 113.8 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6004, allocations: 0 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003816/0.6008, allocations: 149.4 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6008, allocations: 4 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6009, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.6009, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.6011, allocations: 27.98 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.6011, allocations: 3.984 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.6012, allocations: 11.91 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.6012, allocations: 7.938 kB / 1.073 GB, free: 5.152 MB / 0.8262 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.0001384/0.6014, allocations: 121.8 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.6015, allocations: 11.91 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.6019, allocations: 154.5 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6019, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.602, allocations: 4 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.602, allocations: 4 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.6023, allocations: 233.4 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6023, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.6025, allocations: 23.92 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.6025, allocations: 4.188 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.6025, allocations: 4 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.6025, allocations: 0 / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6026, allocations: 0 / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.603, allocations: 314.6 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.6031, allocations: 92.91 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.6031, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.6033, allocations: 15.98 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.6034, allocations: 7.984 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.6034, allocations: 8.219 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001753/0.6036, allocations: 132.2 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6036, allocations: 0 / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003225/0.6039, allocations: 27.94 kB / 1.074 GB, free: 3.918 MB / 0.8262 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.0002043/0.6042, allocations: 99.25 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.6046, allocations: 99.88 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.6046, allocations: 7.938 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.6048, allocations: 59.89 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/0.6055, allocations: 33.19 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.6063, allocations: 257.4 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.6067, allocations: 0.7048 MB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.6068, allocations: 16.97 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.6069, allocations: 15.38 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.6069, allocations: 0 / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of Templates: time 0.006605/0.6135, allocations: 1.938 MB / 1.077 GB, free: 0.6719 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)