Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_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.0007392/0.0007393, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0007998/0.0007999, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005805/0.0005807, allocations: 15.19 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2692, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001649/0.2709, allocations: 1.144 MB / 0.7884 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006338/0.2715, allocations: 405.4 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.2716, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.2716, allocations: 3.938 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.2717, allocations: 3.984 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.2718, allocations: 12 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.2719, allocations: 35.84 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.103e-05/0.272, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.433e-05/0.2721, allocations: 11.98 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.2722, allocations: 7.938 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.2722, allocations: 4 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.2722, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.2722, allocations: 0 / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.2722, allocations: 33.64 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.905e-05/0.2723, allocations: 11.97 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2723, allocations: 4 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2723, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2723, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 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.0004384/0.2728, allocations: 335.5 kB / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.2728, allocations: 12.02 kB / 0.7893 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.2729, allocations: 0 / 0.7893 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.273, allocations: 171 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.273, allocations: 0 / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.273, allocations: 4 kB / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2732, allocations: 45.69 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2732, allocations: 0 / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2732, allocations: 0 / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2732, allocations: 0 / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.036e-05/0.2733, allocations: 27.92 kB / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.2737, allocations: 256.8 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.2738, allocations: 30.58 kB / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.2739, allocations: 20.91 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.2739, allocations: 0 / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.2739, allocations: 42.5 kB / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.265e-06/0.2739, allocations: 3.984 kB / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002329/0.2742, allocations: 69.61 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.2742, allocations: 55.34 kB / 0.7899 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.2743, allocations: 109.8 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2743, allocations: 25.7 kB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.2744, allocations: 84.27 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.2744, allocations: 15.84 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.2744, allocations: 0 / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2746, allocations: 310.8 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/0.2746, allocations: 11.98 kB / 0.7905 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.2746, allocations: 12 kB / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.2747, allocations: 12.05 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2747, allocations: 4 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001412/0.2748, allocations: 53.62 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2749, allocations: 8 kB / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2749, allocations: 0 / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2749, allocations: 0 / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.275, allocations: 7.984 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.275, allocations: 4.031 kB / 0.7906 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.275, allocations: 4.25 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.275, allocations: 3.953 kB / 0.7906 GB, free: 8.305 MB / 0.6075 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 9.504e-05/0.2752, allocations: 114.5 kB / 0.7907 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.2752, allocations: 3.906 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.2752, allocations: 7.531 kB / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2752, allocations: 3.984 kB / 0.7907 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2752, allocations: 4 kB / 0.7907 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2752, allocations: 4 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.2754, allocations: 161.6 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2754, allocations: 0 / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.2755, allocations: 4 kB / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.2755, allocations: 3.984 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2755, allocations: 4 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2755, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2755, allocations: 3.938 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.2757, allocations: 151.5 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.2757, allocations: 81.05 kB / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2758, allocations: 3.984 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.2758, allocations: 4 kB / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.2759, allocations: 0 / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2759, allocations: 4 kB / 0.7911 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.2759, allocations: 87.27 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2759, allocations: 4.031 kB / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002046/0.2761, allocations: 0 / 0.7912 GB, free: 7.57 MB / 0.6075 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.000132/0.2763, allocations: 99.25 kB / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.2764, allocations: 31.86 kB / 0.7913 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2764, allocations: 0 / 0.7913 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.2765, allocations: 16.06 kB / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2767, allocations: 14.38 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.277, allocations: 124.5 kB / 0.7915 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.2773, allocations: 0.6809 MB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.2774, allocations: 0 / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.2774, allocations: 11.5 kB / 0.7922 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2774, allocations: 0 / 0.7922 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of Templates: time 0.002145/0.2795, allocations: 268 kB / 0.7924 GB, free: 6.277 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) Environment - environmentSimulation: