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 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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.178/2.178, allocations: 248.5 MB / 261 MB, free: 6.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 184.2 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.00176/0.00176, allocations: 100.7 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.223e-05/4.241e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2237, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8944/1.118, allocations: 132.2 MB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/1.119, allocations: 96.55 kB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003172/1.122, allocations: 0.8451 MB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.352e-06/1.122, allocations: 0 / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.493e-06/1.122, allocations: 4 kB / 1.021 GB, free: 2.266 MB / 0.6355 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.0003618/1.122, allocations: 327.6 kB / 1.021 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.122, allocations: 8.031 kB / 1.021 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/1.122, allocations: 30.56 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/1.122, allocations: 11.02 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/1.123, allocations: 167 kB / 1.021 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/1.123, allocations: 4 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/1.123, allocations: 0 / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/1.123, allocations: 45 kB / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.123, allocations: 0 / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/1.123, allocations: 0 / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/1.123, allocations: 4 kB / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.222e-05/1.123, allocations: 6.562 kB / 1.021 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/1.123, allocations: 259.6 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/1.123, allocations: 34.02 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/1.123, allocations: 15.31 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/1.123, allocations: 4 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/1.123, allocations: 30.56 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.123, allocations: 0 / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001659/1.124, allocations: 40.94 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/1.124, allocations: 55.36 kB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/1.124, allocations: 108.3 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/1.124, allocations: 25.7 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/1.124, allocations: 87.39 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/1.124, allocations: 7.891 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/1.124, allocations: 0 / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.124, allocations: 317.5 kB / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/1.124, allocations: 7.875 kB / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/1.124, allocations: 4 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/1.124, allocations: 7.75 kB / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.124, allocations: 4 kB / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001003/1.124, allocations: 40.81 kB / 1.022 GB, free: 492 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.124, allocations: 4 kB / 1.022 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.124, allocations: 4 kB / 1.022 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/1.124, allocations: 0 / 1.022 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/1.124, allocations: 4 kB / 1.022 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/1.124, allocations: 0 / 1.022 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/1.125, allocations: 11.97 kB / 1.022 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/1.125, allocations: 7.828 kB / 1.022 GB, free: 464 kB / 0.6355 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 () * 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 7.235e-05/1.125, allocations: 101 kB / 1.022 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/1.125, allocations: 11.84 kB / 1.022 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/1.125, allocations: 11.42 kB / 1.022 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.125, allocations: 0 / 1.022 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.125, allocations: 3.938 kB / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.125, allocations: 3.984 kB / 1.022 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/1.125, allocations: 165.4 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.125, allocations: 0 / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/1.125, allocations: 8 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.125, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/1.125, allocations: 256 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/1.125, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.125, allocations: 4 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/1.125, allocations: 142.4 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/1.125, allocations: 81.11 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/1.125, allocations: 4.031 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/1.125, allocations: 3.984 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/1.126, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/1.126, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.323e-05/1.126, allocations: 86.34 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.126, allocations: 0 / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00026/1.126, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.6511 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 () * 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.0004417/1.126, allocations: 0.6763 MB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.573e-05/1.126, allocations: 11 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.126, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.834e-05/1.127, allocations: 19.42 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/1.127, allocations: 0.75 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/1.127, allocations: 99.17 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/1.127, allocations: 0.677 MB / 1.024 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.515e-05/1.127, allocations: 4 kB / 1.024 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/1.127, allocations: 11.88 kB / 1.024 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/1.127, allocations: 0 / 1.024 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/1.146, allocations: 0.9725 MB / 1.025 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/1.146, allocations: 180.7 kB / 1.025 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/3.383, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.6511 GB