Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.84/3.84, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.002426/0.002426, allocations: 176.5 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.059/4.059, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001442/0.001442, allocations: 101.1 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007427/0.0007429, allocations: 11.12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3722, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3483/0.7206, allocations: 132.2 MB / 1.029 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005209/0.7212, allocations: 99.92 kB / 1.029 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004896/0.7261, allocations: 0.8451 MB / 1.03 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7262, allocations: 0 / 1.03 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.7262, allocations: 0 / 1.03 GB, free: 12.16 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.0005933/0.7268, allocations: 339.4 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/0.7269, allocations: 11.97 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.727, allocations: 8.922 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.7272, allocations: 176.2 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.7272, allocations: 384 / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.7273, allocations: 4.375 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.7275, allocations: 42.25 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.7275, allocations: 192 / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.7276, allocations: 3.938 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.7276, allocations: 0 / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.7278, allocations: 31.97 kB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.7285, allocations: 245 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.7287, allocations: 42.44 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.7288, allocations: 20.92 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.7289, allocations: 4 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.7289, allocations: 34.55 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.888e-06/0.7289, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004745/0.7294, allocations: 57.69 kB / 1.031 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.7295, allocations: 59.47 kB / 1.031 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.7297, allocations: 105.8 kB / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.7297, allocations: 25.7 kB / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.089e-05/0.7298, allocations: 88.14 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.7299, allocations: 7.891 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.7299, allocations: 0 / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.7301, allocations: 314.8 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.7302, allocations: 8 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.7303, allocations: 15.98 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.7305, allocations: 12 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7305, allocations: 3.938 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003042/0.7308, allocations: 65.52 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.7309, allocations: 4.094 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7309, allocations: 4 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.7309, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.7311, allocations: 7.938 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.7311, allocations: 4 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.7312, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.7312, allocations: 3.984 kB / 1.031 GB, free: 10.23 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 0.0001409/0.7314, allocations: 117.7 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.7314, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.7315, allocations: 15.53 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7315, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7316, allocations: 256 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7316, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.7319, allocations: 165.6 kB / 1.032 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7319, allocations: 0 / 1.032 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.7321, allocations: 8 kB / 1.032 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.7321, allocations: 0 / 1.032 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.7321, allocations: 0 / 1.032 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.7322, allocations: 0 / 1.032 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7322, allocations: 4 kB / 1.032 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.7326, allocations: 159.4 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.7327, allocations: 81.02 kB / 1.032 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.7327, allocations: 4 kB / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.7329, allocations: 0 / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.7329, allocations: 12.02 kB / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.733, allocations: 0 / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.7331, allocations: 83.28 kB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.61e-07/0.7331, allocations: 0 / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005235/0.7336, allocations: 4 kB / 1.032 GB, free: 9.496 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.0001797/0.7338, allocations: 99.19 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.7341, allocations: 27.98 kB / 1.032 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7341, allocations: 0 / 1.032 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.7342, allocations: 11.98 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.7347, allocations: 15.88 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.7353, allocations: 128.6 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.7357, allocations: 0.685 MB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.726e-05/0.7358, allocations: 3.984 kB / 1.033 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.7359, allocations: 7.438 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.7359, allocations: 0 / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of Templates: time 0.003886/0.7398, allocations: 273.5 kB / 1.033 GB, free: 8.191 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)