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.699/1.699, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.00114/0.00114, allocations: 172.9 kB / 361.4 MB, free: 6.852 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.524/1.524, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008652/0.000865, allocations: 90.27 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.156e-05, allocations: 4 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6927/0.6927, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.888, allocations: 138.9 MB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.8883, allocations: 84.94 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008686/0.897, allocations: 3.604 MB / 1.104 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/0.897, allocations: 0 / 1.104 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.192e-05/0.8971, allocations: 6.969 kB / 1.104 GB, free: 13.3 MB / 0.7136 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.0007597/0.8978, allocations: 0.49 MB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.8979, allocations: 8.031 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.898, allocations: 28.66 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.8984, allocations: 263.5 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.8984, allocations: 10.44 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.8985, allocations: 9.828 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002746/0.8988, allocations: 128.9 kB / 1.105 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.8991, allocations: 184.9 kB / 1.105 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.8991, allocations: 7.938 kB / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.8992, allocations: 0 / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.8992, allocations: 4 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.9004, allocations: 0.7618 MB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.9007, allocations: 160.5 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.9009, allocations: 66.36 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.9009, allocations: 4 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.9011, allocations: 97 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 3.767e-06/0.9011, allocations: 4 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000312/0.9014, allocations: 141.6 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.9015, allocations: 81.05 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.9017, allocations: 193.7 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.9017, allocations: 25.7 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.9019, allocations: 152 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.9019, allocations: 51.3 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.9019, allocations: 0 / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9021, allocations: 330.8 kB / 1.107 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.9022, allocations: 44 kB / 1.107 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.9023, allocations: 73.69 kB / 1.107 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.403e-05/0.9024, allocations: 45.58 kB / 1.107 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9024, allocations: 0 / 1.107 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002636/0.9026, allocations: 149.4 kB / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.9028, allocations: 192.4 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9028, allocations: 0 / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.9028, allocations: 0 / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.903, allocations: 39.97 kB / 1.107 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.903, allocations: 0 / 1.107 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.9031, allocations: 27.89 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.9032, allocations: 10.97 kB / 1.107 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.535e-06/0.9032, allocations: 4 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001641/0.9034, allocations: 99.84 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-06/0.9034, allocations: 1.688 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-06/0.9034, allocations: 0 / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.9035, allocations: 43.95 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-06/0.9035, allocations: 0 / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.9036, allocations: 27.78 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.9036, allocations: 4.75 kB / 1.107 GB, free: 9.176 MB / 0.7136 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 () * 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 7.98e-05/0.9037, allocations: 101 kB / 1.108 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.9038, allocations: 15.81 kB / 1.108 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.9038, allocations: 23.08 kB / 1.108 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.9038, allocations: 8 kB / 1.108 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9039, allocations: 0 / 1.108 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.9039, allocations: 0 / 1.108 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.9044, allocations: 482.9 kB / 1.108 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9044, allocations: 1.875 kB / 1.108 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.9046, allocations: 39.97 kB / 1.108 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9046, allocations: 3.375 kB / 1.108 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.9046, allocations: 4 kB / 1.108 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.9046, allocations: 7.938 kB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9046, allocations: 0 / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.905, allocations: 304.3 kB / 1.108 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.905, allocations: 100.9 kB / 1.108 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.9051, allocations: 4 kB / 1.108 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.9052, allocations: 20.98 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.9053, allocations: 7.984 kB / 1.108 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.9053, allocations: 4 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001335/0.9054, allocations: 148.4 kB / 1.109 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9054, allocations: 0 / 1.109 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003352/0.9058, allocations: 67.62 kB / 1.109 GB, free: 7.785 MB / 0.7136 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 () * 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.0001561/0.906, allocations: 103.2 kB / 1.109 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.9063, allocations: 175 kB / 1.109 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9063, allocations: 4.062 kB / 1.109 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.9064, allocations: 52 kB / 1.109 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.9067, allocations: 27.22 kB / 1.109 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.9073, allocations: 290.1 kB / 1.109 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.9077, allocations: 0.7444 MB / 1.11 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.9078, allocations: 31.33 kB / 1.11 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.9079, allocations: 15.44 kB / 1.11 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.9079, allocations: 0 / 1.11 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of Templates: time 0.004663/0.9126, allocations: 1.865 MB / 1.112 GB, free: 4.516 MB / 0.7136 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)