Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001054/0.001054, allocations: 180.9 kB / 366.7 MB, free: 1.648 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.519/1.519, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009177/0.000918, allocations: 91.34 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.713e-05/1.716e-05, allocations: 4 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6259/0.6259, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.8028, allocations: 139.9 MB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.8031, allocations: 84.47 kB / 1.11 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008379/0.8115, allocations: 3.605 MB / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8115, allocations: 0 / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.8116, allocations: 4 kB / 1.113 GB, free: 6.676 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.0006406/0.8122, allocations: 495.2 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.8123, allocations: 11.03 kB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.8123, allocations: 27.62 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.8127, allocations: 267.5 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.8127, allocations: 8 kB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.8127, allocations: 11.47 kB / 1.114 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002469/0.813, allocations: 128.8 kB / 1.114 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.8133, allocations: 184.9 kB / 1.115 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.8133, allocations: 4 kB / 1.115 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.8134, allocations: 0 / 1.115 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.8134, allocations: 4 kB / 1.115 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.8144, allocations: 0.7715 MB / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.8148, allocations: 150.8 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.8149, allocations: 71.06 kB / 1.116 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.8149, allocations: 4 kB / 1.116 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.8151, allocations: 95.33 kB / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.8151, allocations: 0 / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002576/0.8154, allocations: 149.6 kB / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.8154, allocations: 77.11 kB / 1.116 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.8156, allocations: 182 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.8156, allocations: 25.7 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.8157, allocations: 152.2 kB / 1.116 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.8158, allocations: 51.3 kB / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.8158, allocations: 0 / 1.116 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.8159, allocations: 334.1 kB / 1.117 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.816, allocations: 40 kB / 1.117 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.8161, allocations: 76.41 kB / 1.117 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.876e-05/0.8162, allocations: 49.89 kB / 1.117 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8162, allocations: 8.016 kB / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000222/0.8164, allocations: 145.4 kB / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/0.8165, allocations: 187 kB / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8165, allocations: 0 / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8165, allocations: 0 / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.8167, allocations: 47.94 kB / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.8167, allocations: 0 / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.8169, allocations: 27.88 kB / 1.117 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.8169, allocations: 6.125 kB / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.8169, allocations: 4 kB / 1.117 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001602/0.8171, allocations: 99.86 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.8171, allocations: 4.031 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-06/0.8171, allocations: 0 / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.8172, allocations: 31.98 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-06/0.8172, allocations: 0 / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.8173, allocations: 27.78 kB / 1.117 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.8174, allocations: 4 kB / 1.117 GB, free: 2.562 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 8.357e-05/0.8174, allocations: 114.3 kB / 1.117 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.8175, allocations: 19.81 kB / 1.117 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.8175, allocations: 17.97 kB / 1.117 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8175, allocations: 4 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8176, allocations: 0 / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8176, allocations: 3.984 kB / 1.117 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.818, allocations: 479 kB / 1.118 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.818, allocations: 0 / 1.118 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.8182, allocations: 39.92 kB / 1.118 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8182, allocations: 3.938 kB / 1.118 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.8182, allocations: 6.562 kB / 1.118 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8182, allocations: 0 / 1.118 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8183, allocations: 0 / 1.118 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.8186, allocations: 311.1 kB / 1.118 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.8187, allocations: 92.89 kB / 1.118 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.8187, allocations: 4 kB / 1.118 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.8188, allocations: 20.05 kB / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.8189, allocations: 11.98 kB / 1.118 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.8189, allocations: 4 kB / 1.118 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000122/0.819, allocations: 147 kB / 1.118 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.819, allocations: 0 / 1.118 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003267/0.8194, allocations: 67.64 kB / 1.119 GB, free: 1.168 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.0001583/0.8195, allocations: 115.2 kB / 1.119 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.8198, allocations: 166.6 kB / 1.119 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8198, allocations: 0 / 1.119 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.8199, allocations: 55.94 kB / 1.119 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.8202, allocations: 31.97 kB / 1.119 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.8208, allocations: 275.9 kB / 1.119 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.8211, allocations: 0.7522 MB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.8213, allocations: 23.81 kB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.8213, allocations: 19.44 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.8213, allocations: 0 / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.004401/0.8257, allocations: 1.863 MB / 1.122 GB, free: 13.89 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)