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.43/2.43, allocations: 285 MB / 292.5 MB, free: 10.55 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.001399/0.001399, allocations: 188.2 kB / 360.7 MB, free: 7.254 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.968/1.968, allocations: 205.3 MB / 0.6192 GB, free: 12.14 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.001073/0.001072, allocations: 81.45 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.148e-05/2.162e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.809, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/1.041, allocations: 137.8 MB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/1.041, allocations: 89.06 kB / 1.098 GB, free: 2.559 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003199/1.045, allocations: 0.8331 MB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/1.045, allocations: 0.5312 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.045, allocations: 0.5 kB / 1.099 GB, free: 1.738 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.000357/1.045, allocations: 327.6 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.045, allocations: 8.906 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/1.045, allocations: 9.109 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/1.045, allocations: 173.6 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/1.045, allocations: 0 / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/1.045, allocations: 4 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.683e-05/1.045, allocations: 8 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.366e-05/1.045, allocations: 41.52 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/1.045, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/1.045, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.045, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/1.046, allocations: 244.8 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.385e-05/1.046, allocations: 20.67 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/1.046, allocations: 12.92 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/1.046, allocations: 4 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/1.046, allocations: 31.72 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/1.046, allocations: 0 / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001706/1.046, allocations: 42.38 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/1.046, allocations: 52.03 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/1.046, allocations: 101.6 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/1.046, allocations: 26.33 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/1.047, allocations: 84.14 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/1.047, allocations: 4.5 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.047, allocations: 0.8125 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.047, allocations: 322.8 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/1.047, allocations: 4.531 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/1.047, allocations: 4.719 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/1.047, allocations: 4.688 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.047, allocations: 0.7812 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.844e-05/1.047, allocations: 41.61 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.047, allocations: 8.609 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.047, allocations: 4 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.047, allocations: 0.6562 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.838e-05/1.047, allocations: 6.719 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.047, allocations: 2.031 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/1.047, allocations: 7 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/1.047, allocations: 1.781 kB / 1.1 GB, free: 4 kB / 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 () * 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.0001069/1.047, allocations: 117.3 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/1.047, allocations: 6.906 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/1.047, allocations: 7.969 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/1.047, allocations: 0 / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.047, allocations: 0 / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.047, allocations: 2.844 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/1.048, allocations: 144.7 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.048, allocations: 0 / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/1.048, allocations: 15.7 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.048, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/1.048, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.048, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.048, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/1.048, allocations: 135.5 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/1.048, allocations: 84.97 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/1.048, allocations: 160 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/1.048, allocations: 8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/1.048, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/1.048, allocations: 5.391 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.047e-05/1.048, allocations: 87.28 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.048, allocations: 3.938 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002885/1.049, allocations: 0 / 1.101 GB, free: 15.34 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.0001212/1.049, allocations: 99.25 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.009e-05/1.049, allocations: 12 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.049, allocations: 4 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/1.049, allocations: 4 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/1.049, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/1.049, allocations: 66.28 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/1.05, allocations: 0.6845 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.461e-05/1.05, allocations: 3.984 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/1.05, allocations: 11.56 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/1.05, allocations: 0.9375 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.002474/1.052, allocations: 254 kB / 1.102 GB, free: 14.18 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)