Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.639/2.639, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001556/0.001556, allocations: 182.9 kB / 370.8 MB, free: 10.88 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.22/2.22, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001108/0.001108, allocations: 88.58 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005512, allocations: 12.5 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2527, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001665/0.2544, allocations: 1.14 MB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.2552, allocations: 409.4 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.2552, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.2552, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.2553, allocations: 4 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.2555, allocations: 7.984 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.2555, allocations: 11.98 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.2556, allocations: 15.92 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.696e-05/0.2557, allocations: 15.92 kB / 0.9798 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.2558, allocations: 7.938 kB / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.2558, allocations: 0 / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.2558, allocations: 0 / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2559, allocations: 11.98 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.2559, allocations: 25.7 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.217e-05/0.256, allocations: 7.984 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.256, allocations: 0 / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.256, allocations: 0 / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.256, allocations: 4 kB / 0.9798 GB, free: 26.72 MB / 0.6198 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.0003891/0.2564, allocations: 341.6 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2564, allocations: 8.031 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.2565, allocations: 4 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.2566, allocations: 171 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2566, allocations: 0 / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.2566, allocations: 4 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.2568, allocations: 49.69 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2568, allocations: 0 / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2568, allocations: 3.984 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2569, allocations: 3.938 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.257, allocations: 23.98 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.2573, allocations: 248.8 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.2574, allocations: 42.5 kB / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2575, allocations: 0 / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.2575, allocations: 30.56 kB / 0.9807 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2575, allocations: 0 / 0.9807 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003006/0.2578, allocations: 69.75 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.2579, allocations: 59.33 kB / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.2579, allocations: 105.8 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.258, allocations: 25.7 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.258, allocations: 84.12 kB / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.258, allocations: 15.78 kB / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2581, allocations: 4 kB / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.2581, allocations: 311 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.2582, allocations: 12 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.843e-05/0.2583, allocations: 11.98 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.644e-05/0.2584, allocations: 8 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2584, allocations: 0 / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001732/0.2585, allocations: 61.73 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2586, allocations: 8 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2586, allocations: 3.984 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.2586, allocations: 3.984 kB / 0.9814 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2587, allocations: 4.25 kB / 0.9814 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2588, allocations: 3.938 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.2588, allocations: 15.94 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2588, allocations: 0 / 0.9815 GB, free: 24.81 MB / 0.6198 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 6.49e-05/0.2589, allocations: 113.9 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.259, allocations: 7.906 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.259, allocations: 3.531 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.259, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.259, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.259, allocations: 0 / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.2592, allocations: 169.6 kB / 0.9817 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2592, allocations: 0 / 0.9817 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.2593, allocations: 4 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2593, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2593, allocations: 4 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2593, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2593, allocations: 4 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.2595, allocations: 151.5 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.2596, allocations: 81.05 kB / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.2596, allocations: 7.969 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.2597, allocations: 4 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.2598, allocations: 7.984 kB / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-06/0.2598, allocations: 0 / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.2598, allocations: 79.28 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.352e-06/0.2598, allocations: 0 / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002745/0.2601, allocations: 7.938 kB / 0.9821 GB, free: 24.08 MB / 0.6198 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.0001378/0.2603, allocations: 95.25 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.2605, allocations: 35.97 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2605, allocations: 0 / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.2605, allocations: 12 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.2607, allocations: 6.203 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.2611, allocations: 132.7 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.2612, allocations: 0.6809 MB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.2613, allocations: 7.906 kB / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.2613, allocations: 7.438 kB / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2613, allocations: 0 / 0.983 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of Templates: time 0.00255/0.2639, allocations: 265 kB / 0.9833 GB, free: 22.8 MB / 0.6198 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)