Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009369/0.0009368, allocations: 187.1 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 0.5785 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008518/0.0008515, allocations: 96.86 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 17.12 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.3454, allocations: 132.4 MB / 1.031 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.3457, allocations: 99.92 kB / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002259/0.348, allocations: 0.8447 MB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.348, allocations: 4 kB / 1.032 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.348, allocations: 0 / 1.032 GB, free: 10.11 MB / 0.6823 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.0003614/0.3484, allocations: 337.7 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3485, allocations: 8.031 kB / 1.032 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.3485, allocations: 4.938 kB / 1.032 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3486, allocations: 164.3 kB / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3487, allocations: 384 / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3487, allocations: 8.375 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3488, allocations: 46.19 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3488, allocations: 192 / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3489, allocations: 3.938 kB / 1.032 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3489, allocations: 0 / 1.032 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.642e-05/0.349, allocations: 31.95 kB / 1.032 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.3493, allocations: 249 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.395e-05/0.3494, allocations: 42.44 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.3495, allocations: 16.92 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3495, allocations: 7.938 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3495, allocations: 42.55 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.3496, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002511/0.3498, allocations: 61.69 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.3499, allocations: 51.41 kB / 1.033 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.3499, allocations: 105.8 kB / 1.033 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.35, allocations: 29.83 kB / 1.033 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.35, allocations: 88.05 kB / 1.033 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.35, allocations: 7.984 kB / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.35, allocations: 0 / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.3501, allocations: 310.8 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.3502, allocations: 8 kB / 1.033 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.3502, allocations: 19.92 kB / 1.033 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/0.3503, allocations: 32.91 kB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3503, allocations: 0 / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001147/0.3504, allocations: 61.53 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3505, allocations: 4 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3505, allocations: 3.938 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3505, allocations: 4.031 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.3506, allocations: 7.984 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3506, allocations: 0 / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.3506, allocations: 4 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3506, allocations: 0 / 1.033 GB, free: 8.16 MB / 0.6823 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.651e-05/0.3507, allocations: 121.7 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.3507, allocations: 0 / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.3508, allocations: 3.531 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3508, allocations: 8 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3508, allocations: 3.984 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3508, allocations: 0 / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.3509, allocations: 161.6 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3509, allocations: 0 / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.351, allocations: 4 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.351, allocations: 7.984 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.351, allocations: 0 / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.351, allocations: 0 / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.351, allocations: 0 / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.3512, allocations: 159.4 kB / 1.034 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.3512, allocations: 81.05 kB / 1.034 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3512, allocations: 0 / 1.034 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.3513, allocations: 7.984 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.3513, allocations: 7.875 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.3514, allocations: 8.031 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.3514, allocations: 91.52 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3514, allocations: 0 / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002064/0.3516, allocations: 4 kB / 1.034 GB, free: 7.41 MB / 0.6823 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.0001032/0.3517, allocations: 95.25 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.3519, allocations: 23.98 kB / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3519, allocations: 4.062 kB / 1.034 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.3519, allocations: 12 kB / 1.034 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.3521, allocations: 11.92 kB / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.3524, allocations: 136.5 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.3526, allocations: 0.677 MB / 1.035 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.3526, allocations: 4.062 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.3527, allocations: 7.438 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3527, allocations: 0 / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of Templates: time 0.001894/0.3546, allocations: 262.8 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)