Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.3 MB / 303.2 MB, free: 8.199 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.001292/0.001292, allocations: 171.7 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 0.6306 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001425/0.001424, allocations: 101.2 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006132/0.0006134, allocations: 12.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2918, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.922/1.214, allocations: 138.7 MB / 1.115 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.214, allocations: 94.38 kB / 1.115 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003371/1.218, allocations: 0.8362 MB / 1.116 GB, free: 31.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.526e-06/1.218, allocations: 0 / 1.116 GB, free: 31.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.218, allocations: 0 / 1.116 GB, free: 31.92 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.0004805/1.218, allocations: 344.4 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/1.218, allocations: 11.67 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/1.218, allocations: 0 / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/1.218, allocations: 169.5 kB / 1.116 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/1.218, allocations: 1.438 kB / 1.116 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/1.219, allocations: 0 / 1.116 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/1.219, allocations: 49.38 kB / 1.116 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.219, allocations: 0 / 1.116 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/1.219, allocations: 7.188 kB / 1.116 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.219, allocations: 0 / 1.116 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/1.219, allocations: 24 kB / 1.116 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/1.219, allocations: 249.5 kB / 1.117 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.966e-05/1.22, allocations: 43.91 kB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/1.22, allocations: 0 / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.22, allocations: 30.56 kB / 1.117 GB, free: 30.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.22, allocations: 3.812 kB / 1.117 GB, free: 30.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002729/1.22, allocations: 72.52 kB / 1.117 GB, free: 30.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/1.22, allocations: 51.41 kB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.22, allocations: 99.5 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/1.22, allocations: 25.7 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/1.22, allocations: 83.45 kB / 1.117 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/1.22, allocations: 7.812 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/1.22, allocations: 0 / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001971/1.22, allocations: 327 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/1.22, allocations: 14.11 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/1.22, allocations: 11.56 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/1.221, allocations: 9.938 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.221, allocations: 0 / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001278/1.221, allocations: 58.88 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.221, allocations: 3.75 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.221, allocations: 0 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.221, allocations: 0 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/1.221, allocations: 7.062 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.221, allocations: 3.938 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/1.221, allocations: 3.938 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/1.221, allocations: 256 / 1.117 GB, free: 30.31 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.0001142/1.221, allocations: 117.6 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/1.221, allocations: 7.969 kB / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/1.221, allocations: 10.27 kB / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.221, allocations: 0 / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.221, allocations: 4 kB / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.221, allocations: 0 / 1.118 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/1.221, allocations: 167 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.221, allocations: 0 / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/1.221, allocations: 7.812 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.221, allocations: 2.078 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/1.221, allocations: 2.672 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.221, allocations: 4 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.221, allocations: 0 / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/1.222, allocations: 151.7 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/1.222, allocations: 80.86 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/1.222, allocations: 0 / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/1.222, allocations: 7.875 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/1.222, allocations: 3.047 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/1.222, allocations: 0 / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.041e-05/1.222, allocations: 89.88 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.222, allocations: 0 / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002204/1.222, allocations: 7.844 kB / 1.118 GB, free: 29.66 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.0001655/1.222, allocations: 100.4 kB / 1.118 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001553/1.223, allocations: 26.14 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.223, allocations: 0 / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/1.223, allocations: 18.47 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/1.223, allocations: 1.688 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/1.223, allocations: 140.4 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/1.224, allocations: 0.6786 MB / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.803e-05/1.224, allocations: 0 / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/1.224, allocations: 11.28 kB / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/1.224, allocations: 0 / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of Templates: time 0.002621/1.226, allocations: 270.4 kB / 1.119 GB, free: 28.71 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)