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.363/2.363, allocations: 284.8 MB / 297.3 MB, free: 6.312 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.001445/0.001445, allocations: 188.6 kB / 365.7 MB, free: 2.559 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 1.907/1.907, allocations: 205.1 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 99.14 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.415e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7698/0.7698, allocations: 115.2 MB / 0.97 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2748/1.045, allocations: 138.5 MB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.045, allocations: 98.02 kB / 1.105 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003189/1.048, allocations: 0.8453 MB / 1.106 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/1.048, allocations: 3.844 kB / 1.106 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.048, allocations: 0 / 1.106 GB, free: 13.03 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003769/1.049, allocations: 318.6 kB / 1.106 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.049, allocations: 8.031 kB / 1.106 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/1.049, allocations: 12.78 kB / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/1.049, allocations: 173 kB / 1.107 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/1.049, allocations: 4 kB / 1.107 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/1.049, allocations: 0 / 1.107 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/1.049, allocations: 39.42 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.049, allocations: 0 / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.049, allocations: 4 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.049, allocations: 0 / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.804e-05/1.049, allocations: 11.94 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/1.05, allocations: 258.4 kB / 1.107 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/1.05, allocations: 23.73 kB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/1.05, allocations: 13.61 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/1.05, allocations: 2.438 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.05, allocations: 30.56 kB / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/1.05, allocations: 0 / 1.107 GB, free: 12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001735/1.05, allocations: 45.64 kB / 1.107 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/1.05, allocations: 56.23 kB / 1.107 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/1.05, allocations: 97 kB / 1.107 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/1.05, allocations: 27.58 kB / 1.107 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/1.05, allocations: 84.14 kB / 1.107 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/1.05, allocations: 3.906 kB / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/1.05, allocations: 0 / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.051, allocations: 323.5 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/1.051, allocations: 4.812 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/1.051, allocations: 4 kB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/1.051, allocations: 8.531 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.051, allocations: 1.188 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001082/1.051, allocations: 49.55 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.051, allocations: 8.859 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.051, allocations: 0 / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.051, allocations: 0 / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/1.051, allocations: 16.56 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.051, allocations: 0 / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/1.051, allocations: 0 / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/1.051, allocations: 4 kB / 1.108 GB, free: 11.25 MB / 0.7136 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 () * 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 8.171e-05/1.051, allocations: 111.5 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/1.051, allocations: 3.984 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/1.051, allocations: 5.344 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/1.051, allocations: 7 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.051, allocations: 0 / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.051, allocations: 0 / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/1.052, allocations: 161.6 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.052, allocations: 0 / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/1.052, allocations: 10.36 kB / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.052, allocations: 4 kB / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/1.052, allocations: 0 / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.052, allocations: 3.906 kB / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.052, allocations: 1.688 kB / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/1.052, allocations: 143.4 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/1.052, allocations: 81.02 kB / 1.108 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/1.052, allocations: 0 / 1.108 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/1.052, allocations: 4 kB / 1.108 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/1.052, allocations: 6.734 kB / 1.108 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/1.052, allocations: 0 / 1.108 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.773e-05/1.052, allocations: 87.28 kB / 1.108 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.052, allocations: 0 / 1.108 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002632/1.053, allocations: 4 kB / 1.108 GB, free: 10.55 MB / 0.7136 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 () * 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.0001249/1.053, allocations: 95.25 kB / 1.108 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001001/1.053, allocations: 20.09 kB / 1.108 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.053, allocations: 0 / 1.108 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/1.053, allocations: 11.98 kB / 1.108 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/1.053, allocations: 3.953 kB / 1.108 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/1.053, allocations: 68.88 kB / 1.108 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/1.054, allocations: 0.6848 MB / 1.109 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.28e-05/1.054, allocations: 128 / 1.109 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/1.054, allocations: 11.44 kB / 1.109 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.054, allocations: 0 / 1.109 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of Templates: time 0.002607/1.056, allocations: 284.9 kB / 1.109 GB, free: 9.363 MB / 0.7136 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)