Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.743/0.743, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 176.8 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007647/0.0007648, allocations: 89.5 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001703/0.001703, allocations: 273.1 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004869, allocations: 20 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4475, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.5812, allocations: 107.8 MB / 0.8447 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.5815, allocations: 75.91 kB / 0.8448 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004838/0.5863, allocations: 1.866 MB / 0.8466 GB, free: 496 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5864, allocations: 4 kB / 0.8466 GB, free: 492 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.5864, allocations: 4 kB / 0.8466 GB, free: 488 kB / 0.5105 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.0006332/0.587, allocations: 438.9 kB / 0.847 GB, free: 16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.5871, allocations: 8.031 kB / 0.847 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.5871, allocations: 16.84 kB / 0.847 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.5873, allocations: 200.1 kB / 0.8472 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5873, allocations: 8.375 kB / 0.8472 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.5874, allocations: 4.375 kB / 0.8472 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.5876, allocations: 137.5 kB / 0.8474 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5877, allocations: 192 / 0.8474 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.5877, allocations: 7.938 kB / 0.8474 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5877, allocations: 4 kB / 0.8474 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.588, allocations: 107.9 kB / 0.8475 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.5887, allocations: 480.6 kB / 0.848 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.5891, allocations: 133.2 kB / 0.8481 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.5892, allocations: 69.78 kB / 0.8481 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.5893, allocations: 4.062 kB / 0.8481 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.5893, allocations: 38.55 kB / 0.8482 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.5893, allocations: 0 / 0.8482 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.00054/0.5899, allocations: 201.4 kB / 0.8484 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.5899, allocations: 89.11 kB / 0.8485 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.5901, allocations: 163.4 kB / 0.8486 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.5901, allocations: 29.7 kB / 0.8486 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.5902, allocations: 112 kB / 0.8488 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.5902, allocations: 31.55 kB / 0.8488 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.5902, allocations: 0 / 0.8488 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5903, allocations: 326.8 kB / 0.8491 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5905, allocations: 51.97 kB / 0.8491 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.5906, allocations: 61.69 kB / 0.8492 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.5909, allocations: 121.7 kB / 0.8493 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5909, allocations: 0 / 0.8493 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003286/0.5913, allocations: 165.9 kB / 0.8495 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5913, allocations: 5.875 kB / 0.8495 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.5913, allocations: 0 / 0.8495 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5913, allocations: 4 kB / 0.8495 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.5915, allocations: 27.97 kB / 0.8495 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5915, allocations: 11.92 kB / 0.8495 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.5916, allocations: 12 kB / 0.8495 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.5916, allocations: 7.938 kB / 0.8495 GB, free: 13.2 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.761e-05/0.5917, allocations: 121.8 kB / 0.8497 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.5918, allocations: 15.81 kB / 0.8497 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.5922, allocations: 170.5 kB / 0.8498 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5922, allocations: 0 / 0.8498 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5922, allocations: 4 kB / 0.8498 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5922, allocations: 3.938 kB / 0.8498 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.5925, allocations: 229.5 kB / 0.8501 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5925, allocations: 4 kB / 0.8501 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.5927, allocations: 19.98 kB / 0.8501 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5927, allocations: 4.188 kB / 0.8501 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.5927, allocations: 4 kB / 0.8501 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5927, allocations: 3.938 kB / 0.8501 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5927, allocations: 0 / 0.8501 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.5931, allocations: 326.5 kB / 0.8504 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.5932, allocations: 96.91 kB / 0.8505 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.5932, allocations: 8 kB / 0.8505 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.5934, allocations: 11.98 kB / 0.8505 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.5934, allocations: 15.92 kB / 0.8505 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.5934, allocations: 3.938 kB / 0.8505 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.286e-05/0.5935, allocations: 123.2 kB / 0.8507 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5935, allocations: 0 / 0.8507 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002572/0.5938, allocations: 28 kB / 0.8507 GB, free: 11.94 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.5939, allocations: 99.25 kB / 0.8508 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.5943, allocations: 116.1 kB / 0.8509 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5943, allocations: 4 kB / 0.8509 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.5944, allocations: 64.02 kB / 0.851 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.5949, allocations: 36.08 kB / 0.851 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.5953, allocations: 260.2 kB / 0.8512 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.5956, allocations: 0.7087 MB / 0.8519 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.14e-05/0.5957, allocations: 16.72 kB / 0.8519 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.5958, allocations: 15.44 kB / 0.852 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.5958, allocations: 0 / 0.852 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of Templates: time 0.004233/0.6, allocations: 1.888 MB / 0.8538 GB, free: 8.719 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)