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.211/2.211, allocations: 251 MB / 265.9 MB, free: 11.7 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.001515/0.001515, allocations: 179.6 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.416/2.416, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001204/0.001204, allocations: 96.23 kB / 0.6809 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005092/0.0005094, allocations: 10.31 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2378, allocations: 106.3 MB / 0.8988 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2268/0.4647, allocations: 132.2 MB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004184/0.4652, allocations: 99.92 kB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003617/0.4688, allocations: 0.8399 MB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4689, allocations: 0 / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.4689, allocations: 4 kB / 1.029 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.0004845/0.4694, allocations: 348.8 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.4695, allocations: 8.031 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.81e-05/0.4696, allocations: 30.56 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.4696, allocations: 15.8 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.4698, allocations: 163.1 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4698, allocations: 0 / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.4698, allocations: 4 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.47, allocations: 45.69 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4701, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4701, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4701, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.4702, allocations: 23.98 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.4708, allocations: 264.8 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.4709, allocations: 30.58 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.471, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.471, allocations: 30.56 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.604e-06/0.471, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.4714, allocations: 77.67 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.4715, allocations: 55.36 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.4716, allocations: 96.98 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.4716, allocations: 25.7 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.4717, allocations: 84.14 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.4717, allocations: 11.84 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-06/0.4717, allocations: 4.125 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4719, allocations: 314.8 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.472, allocations: 8 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.472, allocations: 15.98 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.561e-05/0.4721, allocations: 8 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4721, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002049/0.4724, allocations: 61.66 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.4724, allocations: 4 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4724, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4724, allocations: 3.938 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4726, allocations: 7.984 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.4726, allocations: 4 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.4727, allocations: 3.953 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4727, allocations: 11.97 kB / 1.031 GB, free: 10.22 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.0001013/0.4728, allocations: 109.8 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.4728, allocations: 0 / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.4729, allocations: 11.52 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4729, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4729, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4729, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.4732, allocations: 161.6 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4732, allocations: 256 / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.4733, allocations: 23.97 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4733, allocations: 0 / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.4733, allocations: 0 / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4733, allocations: 0 / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4733, allocations: 0 / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.4736, allocations: 151.4 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.4737, allocations: 92.97 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.4737, allocations: 4 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.4738, allocations: 0 / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.4739, allocations: 8 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4739, allocations: 0 / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.474, allocations: 83.27 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/0.474, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002792/0.4743, allocations: 4 kB / 1.031 GB, free: 9.488 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.0006129/0.4749, allocations: 0.686 MB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.4751, allocations: 31.95 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4751, allocations: 0 / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.4752, allocations: 19.94 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.4754, allocations: 0 / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.4761, allocations: 162.2 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.4764, allocations: 0.685 MB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.4765, allocations: 0 / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.4765, allocations: 7.438 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of SimCode: time 3.216e-06/0.4765, allocations: 0 / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.4956, allocations: 0.9858 MB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003704/0.496, allocations: 199.3 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/2.733, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB