Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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) 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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.626/1.626, allocations: 288.4 MB / 304.3 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 186.1 kB / 373 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 0.6317 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007793/0.0007794, allocations: 98.28 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 11.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1943, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6304/0.8247, allocations: 139.6 MB / 1.117 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.825, allocations: 87.45 kB / 1.117 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007939/0.833, allocations: 3.65 MB / 1.121 GB, free: 31.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.833, allocations: 0 / 1.121 GB, free: 31.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.833, allocations: 3.906 kB / 1.121 GB, free: 31.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006328/0.8337, allocations: 0.5239 MB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.8337, allocations: 7.688 kB / 1.121 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.8338, allocations: 29.25 kB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.8341, allocations: 270.4 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.8341, allocations: 15.19 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.8342, allocations: 22.91 kB / 1.122 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.8346, allocations: 248.3 kB / 1.122 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.8346, allocations: 3.938 kB / 1.122 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.8346, allocations: 11.12 kB / 1.122 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.8346, allocations: 7.906 kB / 1.122 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.835, allocations: 193.3 kB / 1.122 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.836, allocations: 0.8416 MB / 1.123 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.8365, allocations: 213 kB / 1.123 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.8367, allocations: 108.8 kB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.8367, allocations: 3.938 kB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.837, allocations: 135.7 kB / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.837, allocations: 0 / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005957/0.8376, allocations: 283.9 kB / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.8377, allocations: 77.11 kB / 1.124 GB, free: 30.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.8379, allocations: 253 kB / 1.124 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.8379, allocations: 29.58 kB / 1.124 GB, free: 30.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.838, allocations: 153.2 kB / 1.124 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.838, allocations: 53.81 kB / 1.124 GB, free: 30.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.838, allocations: 0 / 1.124 GB, free: 30.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8382, allocations: 332.9 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.8384, allocations: 72.25 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.8385, allocations: 106.6 kB / 1.125 GB, free: 29.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.8389, allocations: 169.7 kB / 1.125 GB, free: 29.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8389, allocations: 0 / 1.125 GB, free: 29.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004044/0.8393, allocations: 225.1 kB / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.8393, allocations: 105.6 kB / 1.125 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.8393, allocations: 0 / 1.125 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8394, allocations: 9.734 kB / 1.125 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.8395, allocations: 40.31 kB / 1.125 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.8395, allocations: 3.812 kB / 1.125 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.8397, allocations: 34.38 kB / 1.125 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.8397, allocations: 3.688 kB / 1.125 GB, free: 29.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.8397, allocations: 5.906 kB / 1.125 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000261/0.84, allocations: 149 kB / 1.125 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.84, allocations: 0 / 1.125 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-06/0.84, allocations: 0 / 1.125 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.8401, allocations: 35.86 kB / 1.125 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.8401, allocations: 3.938 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.8402, allocations: 25.83 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.8402, allocations: 3.844 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.000147/0.8404, allocations: 226.5 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.8404, allocations: 19.41 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.8405, allocations: 24.27 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8405, allocations: 7.812 kB / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8405, allocations: 0 / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8405, allocations: 3.938 kB / 1.126 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.8412, allocations: 0.5927 MB / 1.126 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8412, allocations: 0 / 1.126 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.8413, allocations: 43.22 kB / 1.126 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.8413, allocations: 11.69 kB / 1.126 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.8414, allocations: 0 / 1.126 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8414, allocations: 0 / 1.126 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8414, allocations: 0 / 1.126 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.842, allocations: 398.5 kB / 1.127 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.842, allocations: 102.3 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.8421, allocations: 11.44 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.8422, allocations: 17.22 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.8423, allocations: 10.08 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.8423, allocations: 3.875 kB / 1.127 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001432/0.8424, allocations: 185.9 kB / 1.127 GB, free: 28.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8424, allocations: 4.062 kB / 1.127 GB, free: 28.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000313/0.8428, allocations: 77.7 kB / 1.127 GB, free: 28.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0001371/0.8429, allocations: 106.5 kB / 1.127 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.8434, allocations: 246.8 kB / 1.127 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8435, allocations: 3.969 kB / 1.127 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.8436, allocations: 88.53 kB / 1.127 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.844, allocations: 40.06 kB / 1.128 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.8447, allocations: 489.3 kB / 1.128 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.845, allocations: 0.7507 MB / 1.129 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.424e-05/0.8451, allocations: 19.25 kB / 1.129 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.8452, allocations: 19.03 kB / 1.129 GB, free: 27.55 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.8452, allocations: 4 kB / 1.129 GB, free: 27.55 MB / 0.698 GB Notification: Performance of Templates: time 0.00403/0.8492, allocations: 1.957 MB / 1.131 GB, free: 27.4 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)