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.59/1.59, allocations: 285.4 MB / 298 MB, free: 5.984 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.001382/0.001382, allocations: 176.9 kB / 366.4 MB, free: 2.102 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.484/1.484, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0007988/0.0007987, allocations: 90.42 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.684e-05/3.705e-05, allocations: 0 / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7094, allocations: 115.3 MB / 0.9709 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.901, allocations: 139.6 MB / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.9012, allocations: 87.94 kB / 1.107 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008391/0.9096, allocations: 3.62 MB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9097, allocations: 1.375 kB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.9097, allocations: 4 kB / 1.111 GB, free: 8.59 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.000616/0.9103, allocations: 0.4928 MB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9104, allocations: 8.031 kB / 1.111 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.9104, allocations: 31.62 kB / 1.111 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.9108, allocations: 263.5 kB / 1.112 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.9108, allocations: 16.44 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.9109, allocations: 16 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.9113, allocations: 217.7 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9113, allocations: 0 / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.9113, allocations: 15.59 kB / 1.112 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.9113, allocations: 4 kB / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.9116, allocations: 129.1 kB / 1.112 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.9127, allocations: 0.8319 MB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.913, allocations: 160 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.9132, allocations: 78.38 kB / 1.113 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.9132, allocations: 0 / 1.113 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.9134, allocations: 111.3 kB / 1.113 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.9134, allocations: 0 / 1.113 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002685/0.9136, allocations: 144.2 kB / 1.113 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.9137, allocations: 85.09 kB / 1.113 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.9139, allocations: 221.1 kB / 1.114 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.9139, allocations: 29.7 kB / 1.114 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.914, allocations: 156.1 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.9141, allocations: 39.38 kB / 1.114 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.9141, allocations: 3.938 kB / 1.114 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.9142, allocations: 342.8 kB / 1.114 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.9143, allocations: 43.94 kB / 1.114 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.9144, allocations: 78.7 kB / 1.114 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.9145, allocations: 55.64 kB / 1.114 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.9145, allocations: 0 / 1.114 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002316/0.9147, allocations: 161.3 kB / 1.114 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/0.9148, allocations: 190 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9148, allocations: 0 / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9149, allocations: 4 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.915, allocations: 31.98 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.9151, allocations: 4 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.9152, allocations: 35.88 kB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.9152, allocations: 4 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.9152, allocations: 1.094 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000177/0.9154, allocations: 113.5 kB / 1.115 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-06/0.9154, allocations: 0 / 1.115 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/0.9155, allocations: 4 kB / 1.115 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.9156, allocations: 39.94 kB / 1.115 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.9156, allocations: 5.828 kB / 1.115 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.9157, allocations: 29.7 kB / 1.115 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.9157, allocations: 4 kB / 1.115 GB, free: 4.227 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.946e-05/0.9158, allocations: 109 kB / 1.115 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.9159, allocations: 15.81 kB / 1.115 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.9159, allocations: 33.95 kB / 1.115 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.9159, allocations: 0 / 1.115 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9159, allocations: 3.953 kB / 1.115 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.916, allocations: 0 / 1.115 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.9165, allocations: 0.5295 MB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9165, allocations: 0 / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.9167, allocations: 35.97 kB / 1.116 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.9167, allocations: 4 kB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.9167, allocations: 4 kB / 1.116 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.9167, allocations: 11.89 kB / 1.116 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.9168, allocations: 0 / 1.116 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.9171, allocations: 315.1 kB / 1.116 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.9172, allocations: 98.88 kB / 1.116 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.9172, allocations: 8 kB / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.9174, allocations: 20.05 kB / 1.116 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.9174, allocations: 15.31 kB / 1.116 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.9174, allocations: 8 kB / 1.116 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001634/0.9176, allocations: 185.4 kB / 1.116 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9176, allocations: 0 / 1.116 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003093/0.9179, allocations: 67.69 kB / 1.116 GB, free: 2.68 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.000142/0.9181, allocations: 119.2 kB / 1.116 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.9184, allocations: 180.1 kB / 1.117 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9184, allocations: 0 / 1.117 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.9185, allocations: 63.92 kB / 1.117 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.9188, allocations: 29.45 kB / 1.117 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.9194, allocations: 295.5 kB / 1.117 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.9197, allocations: 0.7485 MB / 1.118 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.9198, allocations: 28.64 kB / 1.118 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.9199, allocations: 19.42 kB / 1.118 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9199, allocations: 4 kB / 1.118 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.004866/0.9247, allocations: 2.234 MB / 1.12 GB, free: 14.99 MB / 0.7292 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)