Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_8_0_0_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_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 8.0.0/package.mo): time 2.523/2.523, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001529/0.001529, allocations: 172.9 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001127/0.001127, allocations: 90.8 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.84e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.8685, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/1.153, allocations: 137.8 MB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0008528/1.154, allocations: 91.73 kB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003763/1.158, allocations: 0.836 MB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/1.158, allocations: 0.5625 kB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.158, allocations: 0 / 1.099 GB, free: 1.738 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.0004029/1.158, allocations: 330.4 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.158, allocations: 12.56 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/1.158, allocations: 5.828 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/1.158, allocations: 176.2 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/1.158, allocations: 0.5625 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/1.158, allocations: 1.062 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.465e-05/1.158, allocations: 8.562 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.594e-05/1.158, allocations: 39.38 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.159, allocations: 3.562 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/1.159, allocations: 0 / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/1.159, allocations: 0.6875 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/1.159, allocations: 235.1 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/1.159, allocations: 29.56 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/1.159, allocations: 20.52 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/1.159, allocations: 0.5 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.159, allocations: 31.16 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.384e-06/1.159, allocations: 1.469 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001935/1.159, allocations: 41.69 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/1.159, allocations: 55.41 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/1.16, allocations: 89.81 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.16, allocations: 26.3 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/1.16, allocations: 88.89 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/1.16, allocations: 4 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.16, allocations: 0 / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.16, allocations: 323.9 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/1.16, allocations: 11.03 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/1.16, allocations: 1.781 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/1.16, allocations: 8 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.16, allocations: 0 / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/1.16, allocations: 46.2 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.16, allocations: 8.578 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.16, allocations: 0 / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.16, allocations: 1 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.16, allocations: 4 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.16, allocations: 4.938 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/1.161, allocations: 4.047 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/1.161, allocations: 0.8438 kB / 1.1 GB, free: 15.99 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 0.0001026/1.161, allocations: 118.7 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001168/1.161, allocations: 42.14 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/1.161, allocations: 1.812 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/1.161, allocations: 7.969 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.161, allocations: 0 / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.161, allocations: 0 / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.161, allocations: 3.984 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/1.161, allocations: 142.9 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.161, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/1.161, allocations: 11.09 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.161, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/1.161, allocations: 1.625 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.161, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.161, allocations: 3.984 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/1.161, allocations: 138.5 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/1.162, allocations: 82.27 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/1.162, allocations: 3.984 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/1.162, allocations: 4 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/1.162, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/1.162, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.165e-05/1.162, allocations: 86.16 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.162, allocations: 4.938 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002797/1.162, allocations: 4 kB / 1.101 GB, free: 15.29 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.0005015/1.163, allocations: 0.6759 MB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001003/1.163, allocations: 11.98 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.163, allocations: 4.094 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/1.163, allocations: 11.94 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/1.163, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/1.163, allocations: 97.06 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/1.164, allocations: 0.6816 MB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.814e-05/1.164, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/1.164, allocations: 11.42 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of SimCode: time 9.01e-07/1.164, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/1.2, allocations: 0.6607 MB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/1.2, allocations: 162.7 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/3.443, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)