Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009433/0.0009434, allocations: 184.1 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 0.5785 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007723/0.0007724, allocations: 91.8 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 19.88 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2098, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.3715, allocations: 134.7 MB / 1.033 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.3718, allocations: 95.88 kB / 1.033 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0107/0.3826, allocations: 4.682 MB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3826, allocations: 0 / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.327e-05/0.3826, allocations: 8 kB / 1.037 GB, free: 4.332 MB / 0.6823 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.0008517/0.3835, allocations: 0.5339 MB / 1.038 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3835, allocations: 8.031 kB / 1.038 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3837, allocations: 32.66 kB / 1.038 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.3841, allocations: 271.7 kB / 1.038 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.3841, allocations: 20.75 kB / 1.038 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.3842, allocations: 24.31 kB / 1.038 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.3847, allocations: 259 kB / 1.039 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3848, allocations: 0 / 1.039 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.3848, allocations: 12 kB / 1.039 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3848, allocations: 7.938 kB / 1.039 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.3853, allocations: 199.8 kB / 1.039 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.3867, allocations: 0.9925 MB / 1.04 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.3873, allocations: 223.3 kB / 1.04 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.3875, allocations: 112.8 kB / 1.04 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3876, allocations: 0 / 1.04 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3876, allocations: 38.56 kB / 1.04 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.3876, allocations: 0 / 1.04 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0006713/0.3883, allocations: 291.6 kB / 1.04 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3883, allocations: 77.11 kB / 1.04 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.3886, allocations: 258.6 kB / 1.041 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.3886, allocations: 33.69 kB / 1.041 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.3887, allocations: 148.2 kB / 1.041 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.3888, allocations: 55.19 kB / 1.041 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.3888, allocations: 4 kB / 1.041 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3889, allocations: 330.8 kB / 1.041 GB, free: 212 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3891, allocations: 87.89 kB / 1.041 GB, free: 124 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.3893, allocations: 107.4 kB / 1.041 GB, free: 4 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.3897, allocations: 166.7 kB / 1.042 GB, free: 15.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3897, allocations: 0 / 1.042 GB, free: 15.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004584/0.3902, allocations: 235.3 kB / 1.042 GB, free: 15.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/0.3902, allocations: 108.3 kB / 1.042 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3903, allocations: 0 / 1.042 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3903, allocations: 0 / 1.042 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3905, allocations: 47.94 kB / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3905, allocations: 0 / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.3906, allocations: 43.77 kB / 1.042 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.3906, allocations: 4 kB / 1.042 GB, free: 15.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.3907, allocations: 4 kB / 1.042 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000296/0.391, allocations: 151.9 kB / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.391, allocations: 0 / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-06/0.391, allocations: 0 / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3911, allocations: 35.92 kB / 1.042 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.3911, allocations: 4.031 kB / 1.042 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3913, allocations: 35.77 kB / 1.042 GB, free: 15.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3913, allocations: 0 / 1.042 GB, free: 15.17 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 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001519/0.3914, allocations: 225 kB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3915, allocations: 15.81 kB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.3915, allocations: 25.84 kB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3915, allocations: 0 / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3916, allocations: 11.92 kB / 1.043 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3916, allocations: 0 / 1.043 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007916/0.3924, allocations: 0.6045 MB / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3924, allocations: 0 / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.3925, allocations: 43.89 kB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3926, allocations: 3.938 kB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3926, allocations: 4 kB / 1.043 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3926, allocations: 4 kB / 1.043 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3926, allocations: 4.031 kB / 1.043 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.3933, allocations: 418.6 kB / 1.044 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.3933, allocations: 96.86 kB / 1.044 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.3934, allocations: 11.92 kB / 1.044 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3935, allocations: 24.05 kB / 1.044 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3936, allocations: 7.984 kB / 1.044 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.3936, allocations: 8 kB / 1.044 GB, free: 13.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001762/0.3938, allocations: 182 kB / 1.044 GB, free: 13.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3938, allocations: 4 kB / 1.044 GB, free: 13.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003387/0.3941, allocations: 67.78 kB / 1.044 GB, free: 13.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conBoiRet.conPID.I.y) * 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 (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.0001442/0.3943, allocations: 107.2 kB / 1.044 GB, free: 13.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005812/0.3949, allocations: 258.7 kB / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3949, allocations: 7.938 kB / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.3951, allocations: 92.02 kB / 1.044 GB, free: 12.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.3955, allocations: 51.88 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.3964, allocations: 0.4948 MB / 1.045 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3967, allocations: 0.7443 MB / 1.046 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.3968, allocations: 21.94 kB / 1.046 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.3969, allocations: 19.44 kB / 1.046 GB, free: 11.48 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.3969, allocations: 0 / 1.046 GB, free: 11.48 MB / 0.698 GB Notification: Performance of Templates: time 0.005237/0.4021, allocations: 2.134 MB / 1.048 GB, free: 9.375 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)