Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",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.628/1.628, allocations: 285.4 MB / 298 MB, free: 5.973 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.001042/0.001042, allocations: 180.9 kB / 366.4 MB, free: 2.062 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.698/1.698, allocations: 205.1 MB / 0.6248 GB, free: 7.703 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.0007795/0.0007794, allocations: 95.45 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.85e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7891/0.7891, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.93, allocations: 417.2 MB / 1.378 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/1.93, allocations: 88.08 kB / 1.378 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.453/4.384, allocations: 0.6229 GB / 2.001 GB, free: 167.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.094e-06/4.384, allocations: 0 / 2.001 GB, free: 167.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001513/4.384, allocations: 44.27 kB / 2.001 GB, free: 167.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004053/4.388, allocations: 1.754 MB / 2.003 GB, free: 167.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/4.388, allocations: 13.7 kB / 2.003 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002114/4.388, allocations: 148.1 kB / 2.003 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/4.392, allocations: 0.6293 MB / 2.004 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/4.396, allocations: 1.631 MB / 2.006 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/4.397, allocations: 148.7 kB / 2.006 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/4.397, allocations: 100.3 kB / 2.006 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/4.399, allocations: 1.11 MB / 2.007 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/4.399, allocations: 1.188 kB / 2.007 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/4.399, allocations: 42.47 kB / 2.007 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/4.399, allocations: 26.47 kB / 2.007 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/4.401, allocations: 0.9547 MB / 2.008 GB, free: 166.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007458/4.408, allocations: 5.384 MB / 2.013 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/4.413, allocations: 1.104 MB / 2.014 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/4.414, allocations: 441.9 kB / 2.015 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/4.414, allocations: 1.248 MB / 2.016 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/4.415, allocations: 0.5347 MB / 2.016 GB, free: 162.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 2.144e-06/4.415, allocations: 0 / 2.016 GB, free: 162.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.00179/4.417, allocations: 0.8709 MB / 2.017 GB, free: 162.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/4.417, allocations: 115.1 kB / 2.017 GB, free: 162.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/4.419, allocations: 1.129 MB / 2.018 GB, free: 162.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/4.419, allocations: 43.83 kB / 2.018 GB, free: 162.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/4.419, allocations: 0.6679 MB / 2.019 GB, free: 161.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/4.42, allocations: 231.8 kB / 2.019 GB, free: 161.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/4.42, allocations: 11.44 kB / 2.019 GB, free: 161.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/4.42, allocations: 336.7 kB / 2.02 GB, free: 161.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/4.42, allocations: 348.1 kB / 2.02 GB, free: 161.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/4.421, allocations: 0.6007 MB / 2.021 GB, free: 161.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/4.421, allocations: 402.9 kB / 2.021 GB, free: 161.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/4.421, allocations: 3.938 kB / 2.021 GB, free: 161.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00165/4.423, allocations: 1.02 MB / 2.022 GB, free: 161 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/4.423, allocations: 1.207 MB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/4.423, allocations: 3.562 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/4.423, allocations: 10.47 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/4.425, allocations: 273.7 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/4.425, allocations: 7.281 kB / 2.023 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/4.426, allocations: 240.1 kB / 2.024 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/4.427, allocations: 51.11 kB / 2.024 GB, free: 159.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/4.427, allocations: 10.06 kB / 2.024 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001307/4.428, allocations: 0.8722 MB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/4.428, allocations: 7.469 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/4.428, allocations: 10.72 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/4.429, allocations: 266.2 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/4.429, allocations: 13.59 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/4.431, allocations: 229 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/4.431, allocations: 47.17 kB / 2.025 GB, free: 159.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0002502/4.431, allocations: 153.9 kB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/4.431, allocations: 142.2 kB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/4.433, allocations: 1.092 MB / 2.026 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/4.433, allocations: 10.72 kB / 2.026 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/4.433, allocations: 0 / 2.026 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/4.435, allocations: 0.9038 MB / 2.027 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004683/4.439, allocations: 3.085 MB / 2.03 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/4.439, allocations: 3.906 kB / 2.03 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/4.44, allocations: 240.2 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/4.44, allocations: 10.75 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/4.441, allocations: 25.16 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/4.441, allocations: 10.81 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/4.441, allocations: 11.06 kB / 2.031 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/4.443, allocations: 2.055 MB / 2.033 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008665/4.444, allocations: 486.3 kB / 2.033 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/4.444, allocations: 18.38 kB / 2.033 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/4.446, allocations: 184.3 kB / 2.033 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/4.446, allocations: 73.84 kB / 2.033 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/4.446, allocations: 49.62 kB / 2.033 GB, free: 157.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001248/4.447, allocations: 0.9016 MB / 2.034 GB, free: 157.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/4.447, allocations: 0 / 2.034 GB, free: 157.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002624/4.45, allocations: 0.8451 MB / 2.035 GB, free: 157.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.004459/4.454, allocations: 4.407 MB / 2.039 GB, free: 154.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002556/4.457, allocations: 1.47 MB / 2.041 GB, free: 154.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/4.457, allocations: 1.312 kB / 2.041 GB, free: 154.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/4.458, allocations: 0.5072 MB / 2.041 GB, free: 154.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/4.462, allocations: 0.754 MB / 2.042 GB, free: 154.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/4.467, allocations: 2.359 MB / 2.044 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007605/4.468, allocations: 1.268 MB / 2.046 GB, free: 153 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002453/4.47, allocations: 483.5 kB / 2.046 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007624/4.471, allocations: 0.5571 MB / 2.047 GB, free: 152.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/4.471, allocations: 2.734 kB / 2.047 GB, free: 152.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08927/4.56, allocations: 50.37 MB / 2.096 GB, free: 151.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/4.56, allocations: 194.1 kB / 2.096 GB, free: 151.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.82/8.38, allocations: 4 kB / 2.096 GB, free: 151.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)