Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001057/0.001057, allocations: 176.8 kB / 366.7 MB, free: 1.637 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.969/1.969, allocations: 205.3 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000985/0.000985, allocations: 96.92 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.146e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.7998, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/1.014, allocations: 138.9 MB / 1.109 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.015, allocations: 96.44 kB / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002162/1.017, allocations: 0.8338 MB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.693e-06/1.017, allocations: 1.125 kB / 1.11 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.017, allocations: 0 / 1.11 GB, free: 10.22 MB / 0.7136 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.0003368/1.017, allocations: 328.2 kB / 1.11 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.017, allocations: 8.031 kB / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/1.017, allocations: 8.875 kB / 1.11 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/1.018, allocations: 167 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/1.018, allocations: 4.125 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/1.018, allocations: 4 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.258e-05/1.018, allocations: 13.25 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.288e-05/1.018, allocations: 37.69 kB / 1.11 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.018, allocations: 0 / 1.11 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/1.018, allocations: 0.5625 kB / 1.11 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.018, allocations: 0 / 1.11 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/1.018, allocations: 236.3 kB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/1.018, allocations: 22.61 kB / 1.111 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/1.018, allocations: 13.45 kB / 1.111 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/1.018, allocations: 4.594 kB / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/1.018, allocations: 36 kB / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.018, allocations: 0 / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001444/1.018, allocations: 38.55 kB / 1.111 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/1.019, allocations: 51.41 kB / 1.111 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/1.019, allocations: 104.3 kB / 1.111 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/1.019, allocations: 27.02 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/1.019, allocations: 84.05 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/1.019, allocations: 4 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/1.019, allocations: 0.8125 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.019, allocations: 324.7 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/1.019, allocations: 0 / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/1.019, allocations: 8.562 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.033e-05/1.019, allocations: 4.719 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.019, allocations: 1.281 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.746e-05/1.019, allocations: 45.55 kB / 1.111 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/1.019, allocations: 4.781 kB / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.019, allocations: 5.469 kB / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/1.019, allocations: 0 / 1.111 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/1.019, allocations: 7.984 kB / 1.111 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/1.019, allocations: 1.094 kB / 1.111 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/1.019, allocations: 4 kB / 1.111 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/1.019, allocations: 3.281 kB / 1.111 GB, free: 8.484 MB / 0.7136 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.595e-05/1.019, allocations: 106.8 kB / 1.112 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.063e-05/1.019, allocations: 47.66 kB / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/1.019, allocations: 0 / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/1.019, allocations: 5.719 kB / 1.112 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/1.019, allocations: 0 / 1.112 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.019, allocations: 7.938 kB / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.019, allocations: 0 / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/1.02, allocations: 146.1 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.02, allocations: 0.5 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/1.02, allocations: 4.938 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/1.02, allocations: 0 / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/1.02, allocations: 2.531 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.02, allocations: 6.109 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.02, allocations: 3.984 kB / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/1.02, allocations: 139.5 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/1.02, allocations: 87.55 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/1.02, allocations: 0 / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/1.02, allocations: 3.984 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/1.02, allocations: 4 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/1.02, allocations: 0 / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.097e-05/1.02, allocations: 83.28 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.02, allocations: 0 / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001967/1.02, allocations: 5.594 kB / 1.112 GB, free: 7.77 MB / 0.7136 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.0003859/1.021, allocations: 0.6798 MB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.411e-05/1.021, allocations: 12 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.021, allocations: 0 / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/1.021, allocations: 7.984 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/1.021, allocations: 7.984 kB / 1.113 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/1.021, allocations: 100.2 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/1.022, allocations: 0.6814 MB / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.536e-05/1.022, allocations: 0 / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/1.022, allocations: 11.44 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.022, allocations: 0 / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/1.043, allocations: 0.6669 MB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/1.043, allocations: 154 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.68, allocations: 1.219 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)