Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.2 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 186.1 kB / 371.8 MB, free: 10.25 MB / 298.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.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 91.5 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004589, allocations: 18.77 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3505, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.617, allocations: 138.7 MB / 1.115 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.617, allocations: 97.86 kB / 1.115 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002787/1.62, allocations: 0.8389 MB / 1.116 GB, free: 32.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/1.62, allocations: 0 / 1.116 GB, free: 32.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.62, allocations: 0 / 1.116 GB, free: 32.05 MB / 0.698 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.000389/1.62, allocations: 337.8 kB / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.62, allocations: 11.53 kB / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/1.621, allocations: 30.56 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/1.621, allocations: 3.625 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/1.621, allocations: 174.3 kB / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/1.621, allocations: 3.938 kB / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/1.621, allocations: 3.844 kB / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/1.621, allocations: 43.31 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.621, allocations: 0 / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.621, allocations: 0.5625 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/1.621, allocations: 0 / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/1.621, allocations: 29.33 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/1.621, allocations: 258.6 kB / 1.117 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.908e-05/1.622, allocations: 33.06 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/1.622, allocations: 0 / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.622, allocations: 38.53 kB / 1.117 GB, free: 31.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.622, allocations: 0 / 1.117 GB, free: 31.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000236/1.622, allocations: 71.05 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/1.622, allocations: 54.62 kB / 1.117 GB, free: 30.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.219e-05/1.622, allocations: 97.64 kB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/1.622, allocations: 33.77 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/1.622, allocations: 86.39 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/1.622, allocations: 7.344 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.622, allocations: 0 / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.622, allocations: 317.7 kB / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/1.622, allocations: 11.41 kB / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/1.622, allocations: 10.92 kB / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/1.622, allocations: 17.89 kB / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.622, allocations: 0 / 1.117 GB, free: 30.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001027/1.623, allocations: 51.12 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.623, allocations: 9.125 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.623, allocations: 3 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.623, allocations: 0 / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/1.623, allocations: 7.844 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.623, allocations: 0 / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/1.623, allocations: 6.891 kB / 1.118 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/1.623, allocations: 0 / 1.118 GB, free: 30.4 MB / 0.698 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.0001109/1.623, allocations: 121 kB / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/1.623, allocations: 0 / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/1.623, allocations: 3.531 kB / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/1.623, allocations: 0 / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.623, allocations: 3.875 kB / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.623, allocations: 4 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/1.623, allocations: 164.9 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.623, allocations: 3.938 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/1.623, allocations: 6.172 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/1.623, allocations: 0 / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/1.623, allocations: 3.875 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.623, allocations: 2.625 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.623, allocations: 0 / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/1.623, allocations: 155.6 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/1.623, allocations: 77.11 kB / 1.118 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/1.623, allocations: 3.875 kB / 1.118 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/1.624, allocations: 2.859 kB / 1.118 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/1.624, allocations: 7.781 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/1.624, allocations: 0 / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.915e-05/1.624, allocations: 89.78 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.624, allocations: 0 / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002076/1.624, allocations: 7.906 kB / 1.118 GB, free: 29.76 MB / 0.698 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.0005332/1.624, allocations: 0.695 MB / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001231/1.625, allocations: 27.47 kB / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.625, allocations: 0 / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/1.625, allocations: 21.06 kB / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/1.625, allocations: 0 / 1.119 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/1.625, allocations: 159 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/1.626, allocations: 0.6809 MB / 1.12 GB, free: 28.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.582e-05/1.626, allocations: 0 / 1.12 GB, free: 28.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/1.626, allocations: 8.141 kB / 1.12 GB, free: 28.23 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/1.626, allocations: 0 / 1.12 GB, free: 28.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/1.641, allocations: 0.9833 MB / 1.121 GB, free: 28.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/1.642, allocations: 211.1 kB / 1.121 GB, free: 27.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/3.276, allocations: 7.844 kB / 1.121 GB, free: 27.86 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)