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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.934 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.001321/0.00132, allocations: 183.3 kB / 316.3 MB, free: 3.234 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.615/1.615, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.000953/0.0009529, allocations: 96.42 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.935e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2027, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.757/0.9598, allocations: 132.6 MB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.9601, allocations: 94.55 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002241/0.9623, allocations: 0.8357 MB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9623, allocations: 0 / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.9623, allocations: 0 / 1.016 GB, free: 3.973 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.0003175/0.9627, allocations: 323.7 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.9627, allocations: 19.97 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.9628, allocations: 0 / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.9629, allocations: 182.3 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.9629, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.9629, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.498e-05/0.963, allocations: 6.625 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.6e-05/0.9631, allocations: 36.94 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9631, allocations: 4 kB / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.9631, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.9631, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.9635, allocations: 238.5 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.9635, allocations: 25.77 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.9636, allocations: 16.3 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.9636, allocations: 0 / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.9636, allocations: 34.56 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.9636, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001342/0.9638, allocations: 43.42 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.9638, allocations: 51.41 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.9639, allocations: 100.4 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.9639, allocations: 25.7 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.964, allocations: 82.89 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.964, allocations: 7.906 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.964, allocations: 0 / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.9641, allocations: 322.8 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.9641, allocations: 7 kB / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.9641, allocations: 3.938 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.9e-05/0.9642, allocations: 7.5 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9642, allocations: 0 / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.36e-05/0.9642, allocations: 45 kB / 1.017 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.9643, allocations: 4 kB / 1.017 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9643, allocations: 0 / 1.017 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.9643, allocations: 4.094 kB / 1.017 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.9644, allocations: 4 kB / 1.017 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.9644, allocations: 0.7031 kB / 1.017 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.9644, allocations: 4 kB / 1.017 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.9644, allocations: 3.984 kB / 1.017 GB, free: 2.25 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 6.888e-05/0.9645, allocations: 111.5 kB / 1.017 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.206e-05/0.9646, allocations: 44.8 kB / 1.017 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.9646, allocations: 0 / 1.017 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.9647, allocations: 19.27 kB / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9647, allocations: 3.984 kB / 1.017 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9647, allocations: 4.812 kB / 1.017 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9647, allocations: 7.922 kB / 1.017 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.9648, allocations: 138 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9648, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.9649, allocations: 8 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.9649, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.9649, allocations: 4.234 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.9649, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9649, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.965, allocations: 138.4 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.9651, allocations: 77.11 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.9651, allocations: 3.984 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.9652, allocations: 4 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.9652, allocations: 3.938 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.9652, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.9653, allocations: 87.25 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9653, allocations: 0 / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002036/0.9655, allocations: 4 kB / 1.018 GB, free: 1.531 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.000404/0.9659, allocations: 0.6741 MB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.634e-05/0.966, allocations: 15.59 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.966, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.966, allocations: 11.44 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.9662, allocations: 7.984 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.9665, allocations: 89.47 kB / 1.019 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.9668, allocations: 0.6807 MB / 1.019 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.9669, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.9669, allocations: 19.55 kB / 1.019 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.793e-06/0.9669, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.9845, allocations: 0.6607 MB / 1.02 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.9847, allocations: 174.2 kB / 1.02 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/2.481, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)