Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009598/0.0009597, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007973/0.007974, allocations: 169.4 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.105/3.105, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 9.438 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3431, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002/0.3451, allocations: 1.149 MB / 1.075 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008093/0.346, allocations: 391.1 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.346, allocations: 0 / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.3461, allocations: 3.938 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.48e-05/0.3461, allocations: 0 / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.3463, allocations: 11.98 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.3464, allocations: 23.92 kB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3465, allocations: 4 kB / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3467, allocations: 19.86 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.3468, allocations: 11.92 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3468, allocations: 0 / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.3468, allocations: 0 / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.3468, allocations: 4 kB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.3469, allocations: 33.64 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.31e-05/0.347, allocations: 19.91 kB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.347, allocations: 8 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.347, allocations: 0 / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.347, allocations: 0 / 1.076 GB, free: 5.855 MB / 0.8262 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.0004542/0.3475, allocations: 335.7 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3475, allocations: 8.031 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.3476, allocations: 0.9375 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3477, allocations: 172.3 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3477, allocations: 384 / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.3478, allocations: 12.38 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3479, allocations: 46 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.348, allocations: 0 / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.348, allocations: 3.938 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.348, allocations: 0 / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3481, allocations: 27.97 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3485, allocations: 252.9 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.154e-05/0.3486, allocations: 30.56 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.3487, allocations: 20.86 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3487, allocations: 0 / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3488, allocations: 42.5 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.3488, allocations: 0 / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002741/0.349, allocations: 65.67 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.3491, allocations: 51.41 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.3492, allocations: 105.8 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3492, allocations: 29.83 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.3493, allocations: 80.14 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3493, allocations: 15.84 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.3493, allocations: 9.719 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3495, allocations: 314.8 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.3495, allocations: 15.94 kB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.3496, allocations: 11.98 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.14e-05/0.3497, allocations: 36.8 kB / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.3497, allocations: 0 / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.3498, allocations: 57.67 kB / 1.077 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3498, allocations: 4 kB / 1.077 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3498, allocations: 0 / 1.077 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3498, allocations: 4.031 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.3499, allocations: 4 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3499, allocations: 0 / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/0.35, allocations: 11.89 kB / 1.077 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.35, allocations: 0 / 1.077 GB, free: 3.898 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.3501, allocations: 117.8 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3501, allocations: 0 / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.3501, allocations: 7.469 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3501, allocations: 8 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3501, allocations: 0 / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3502, allocations: 0 / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.3503, allocations: 161.6 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3503, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.3504, allocations: 4 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3504, allocations: 4 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3504, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3504, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3504, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.3506, allocations: 159.5 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.3507, allocations: 81.02 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3507, allocations: 4.234 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.3507, allocations: 8 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.3508, allocations: 3.984 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3508, allocations: 11.97 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.3508, allocations: 87.22 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3508, allocations: 0 / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002103/0.3511, allocations: 4 kB / 1.078 GB, free: 3.152 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000109/0.3512, allocations: 101 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.3513, allocations: 23.98 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3513, allocations: 8 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.3514, allocations: 16 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.3516, allocations: 3.938 kB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.3519, allocations: 128.6 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3521, allocations: 0.677 MB / 1.079 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.3521, allocations: 4.062 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.3522, allocations: 7.438 kB / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3522, allocations: 0 / 1.079 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of Templates: time 0.002249/0.3544, allocations: 274.4 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_1.6_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_1.6_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_1.6_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_1.6_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)