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.251/2.251, allocations: 248.7 MB / 256.2 MB, free: 7.109 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.001491/0.001491, allocations: 184.6 kB / 315.4 MB, free: 4.027 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.096/2.096, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 96.36 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.406e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2417, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8866/1.128, allocations: 132.4 MB / 1.013 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/1.129, allocations: 97.98 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003175/1.132, allocations: 0.8425 MB / 1.014 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/1.132, allocations: 0 / 1.014 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.032e-05/1.132, allocations: 4 kB / 1.014 GB, free: 5.52 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.0003823/1.132, allocations: 326.5 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/1.132, allocations: 8.031 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/1.133, allocations: 0 / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/1.133, allocations: 171 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/1.133, allocations: 0 / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/1.133, allocations: 0 / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001222/1.133, allocations: 15.8 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/1.133, allocations: 37.52 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.133, allocations: 0 / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.133, allocations: 4 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.133, allocations: 0 / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/1.134, allocations: 237 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/1.134, allocations: 26.52 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/1.134, allocations: 8.922 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/1.134, allocations: 4 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.134, allocations: 41 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.455e-06/1.134, allocations: 0 / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/1.134, allocations: 41.62 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/1.134, allocations: 56.31 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/1.134, allocations: 89 kB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/1.134, allocations: 25.7 kB / 1.015 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/1.134, allocations: 91.98 kB / 1.015 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/1.134, allocations: 7.891 kB / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/1.134, allocations: 0 / 1.015 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.134, allocations: 318.7 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/1.134, allocations: 4 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/1.134, allocations: 4 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/1.135, allocations: 3.875 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.135, allocations: 0 / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001025/1.135, allocations: 48.69 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.135, allocations: 8.031 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.135, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.135, allocations: 3.938 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/1.135, allocations: 8 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.135, allocations: 0 / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/1.135, allocations: 7.984 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/1.135, allocations: 0 / 1.016 GB, free: 3.801 MB / 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.67e-05/1.135, allocations: 104.9 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001039/1.135, allocations: 44.98 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/1.135, allocations: 7.938 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/1.135, allocations: 15.89 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/1.135, allocations: 0 / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.135, allocations: 0.875 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/1.135, allocations: 3.953 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/1.135, allocations: 140.8 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.135, allocations: 0 / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/1.136, allocations: 4 kB / 1.016 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.136, allocations: 4.016 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/1.136, allocations: 6 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/1.136, allocations: 3.938 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.136, allocations: 0 / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/1.136, allocations: 134.3 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/1.136, allocations: 85 kB / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/1.136, allocations: 4 kB / 1.016 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/1.136, allocations: 4.031 kB / 1.016 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/1.136, allocations: 0 / 1.016 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/1.136, allocations: 7.812 kB / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.463e-05/1.136, allocations: 83.27 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.136, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002906/1.136, allocations: 4 kB / 1.017 GB, free: 3.09 MB / 0.6355 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.0004788/1.137, allocations: 0.6755 MB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001203/1.137, allocations: 11.31 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.137, allocations: 0 / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/1.137, allocations: 8 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/1.137, allocations: 6.984 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/1.138, allocations: 92.72 kB / 1.017 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/1.138, allocations: 0.6808 MB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.351e-05/1.138, allocations: 3.938 kB / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/1.138, allocations: 15.42 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/1.138, allocations: 3.938 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/1.177, allocations: 0.6608 MB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000321/1.177, allocations: 170 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/3.327, allocations: 1.828 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB