Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.664/2.664, allocations: 287.5 MB / 302.5 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 175.4 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 0.6297 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001163, allocations: 93.53 kB / 0.743 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004839, allocations: 11.09 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2298, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9625/1.192, allocations: 138.5 MB / 1.114 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/1.193, allocations: 95.38 kB / 1.114 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003487/1.196, allocations: 0.8383 MB / 1.115 GB, free: 31.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/1.196, allocations: 0 / 1.115 GB, free: 31.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.223e-06/1.196, allocations: 0 / 1.115 GB, free: 31.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003814/1.197, allocations: 341.5 kB / 1.115 GB, free: 31.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.197, allocations: 7.844 kB / 1.115 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/1.197, allocations: 0 / 1.115 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/1.197, allocations: 172.1 kB / 1.115 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.197, allocations: 0 / 1.115 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.197, allocations: 0 / 1.115 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/1.197, allocations: 53.72 kB / 1.115 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.197, allocations: 0 / 1.115 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.197, allocations: 7.938 kB / 1.115 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/1.197, allocations: 0 / 1.115 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/1.197, allocations: 24.25 kB / 1.115 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/1.198, allocations: 250.2 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/1.198, allocations: 40.84 kB / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/1.198, allocations: 0 / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.198, allocations: 35.86 kB / 1.115 GB, free: 30.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/1.198, allocations: 0 / 1.115 GB, free: 30.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003082/1.198, allocations: 63.23 kB / 1.116 GB, free: 30.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/1.198, allocations: 55.41 kB / 1.116 GB, free: 30.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/1.198, allocations: 97.77 kB / 1.116 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/1.198, allocations: 25.7 kB / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/1.199, allocations: 86.42 kB / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/1.199, allocations: 9.016 kB / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/1.199, allocations: 6.453 kB / 1.116 GB, free: 30.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.199, allocations: 321.5 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/1.199, allocations: 13.16 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/1.199, allocations: 9.172 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.13e-05/1.199, allocations: 13.2 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.199, allocations: 0 / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/1.199, allocations: 58.16 kB / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.199, allocations: 9.281 kB / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.199, allocations: 0 / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.199, allocations: 0 / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/1.199, allocations: 8.094 kB / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.199, allocations: 1.312 kB / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/1.199, allocations: 2.688 kB / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/1.199, allocations: 1.781 kB / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001156/1.2, allocations: 120.3 kB / 1.116 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/1.2, allocations: 5.281 kB / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/1.2, allocations: 6.312 kB / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.2, allocations: 0 / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.2, allocations: 0 / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.2, allocations: 1.219 kB / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/1.2, allocations: 163.4 kB / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.2, allocations: 0 / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/1.2, allocations: 10.25 kB / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.2, allocations: 1.859 kB / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/1.2, allocations: 3.875 kB / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.2, allocations: 4 kB / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/1.2, allocations: 0 / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/1.2, allocations: 149.3 kB / 1.117 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/1.2, allocations: 84.89 kB / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/1.2, allocations: 1.312 kB / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/1.2, allocations: 7.906 kB / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/1.2, allocations: 4.953 kB / 1.117 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/1.2, allocations: 3.938 kB / 1.117 GB, free: 29.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.12e-05/1.201, allocations: 85.84 kB / 1.117 GB, free: 29.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.201, allocations: 0 / 1.117 GB, free: 29.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002702/1.201, allocations: 7.781 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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.0001173/1.201, allocations: 98.41 kB / 1.117 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001797/1.201, allocations: 27.69 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.201, allocations: 0 / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/1.201, allocations: 14.25 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/1.201, allocations: 11.8 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/1.202, allocations: 135 kB / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/1.202, allocations: 0.6759 MB / 1.118 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.594e-05/1.202, allocations: 0 / 1.118 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/1.202, allocations: 14.22 kB / 1.118 GB, free: 28.36 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/1.202, allocations: 0 / 1.118 GB, free: 28.36 MB / 0.698 GB Notification: Performance of Templates: time 0.002427/1.205, allocations: 267.5 kB / 1.118 GB, free: 28.31 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)