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.792/1.792, allocations: 288.4 MB / 303.3 MB, free: 8.039 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.001085/0.001085, allocations: 182.3 kB / 372 MB, free: 10.27 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.926/1.926, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007982/0.0007983, allocations: 90.34 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004137, allocations: 15.86 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2633, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04778/0.3111, allocations: 55.76 MB / 1.034 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01902/0.3301, allocations: 12.23 MB / 1.046 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.3335, allocations: 59.62 kB / 1.046 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.3362, allocations: 0.6987 MB / 1.047 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006588/0.3428, allocations: 1.83 MB / 1.049 GB, free: 4.824 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004242/0.3471, allocations: 1.16 MB / 1.05 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007513/0.3546, allocations: 4.748 MB / 1.054 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.3568, allocations: 0.9771 MB / 1.055 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.3607, allocations: 1.303 MB / 1.057 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.3635, allocations: 1.085 MB / 1.058 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.3638, allocations: 60 kB / 1.058 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.3675, allocations: 0.9978 MB / 1.059 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004601/0.3679, allocations: 310.7 kB / 1.059 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008575/0.3688, allocations: 360.8 kB / 1.059 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.372, allocations: 1.925 MB / 1.061 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.372, allocations: 0 / 1.061 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/0.372, allocations: 0 / 1.061 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.739e-05/0.3721, allocations: 8 kB / 1.061 GB, free: 7.859 MB / 0.6823 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.004012/0.3761, allocations: 1.886 MB / 1.063 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3761, allocations: 8.031 kB / 1.063 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.3763, allocations: 143.7 kB / 1.063 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.3799, allocations: 0.6379 MB / 1.064 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.3824, allocations: 1.319 MB / 1.065 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.3826, allocations: 149.4 kB / 1.065 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.3827, allocations: 96 kB / 1.065 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.3858, allocations: 1.334 MB / 1.067 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.3859, allocations: 3.906 kB / 1.067 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.386, allocations: 39.98 kB / 1.067 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/0.386, allocations: 28 kB / 1.067 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.3898, allocations: 1.366 MB / 1.068 GB, free: 0.6797 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.5441/0.9339, allocations: 5.355 MB / 1.073 GB, free: 87.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006018/0.9399, allocations: 1.486 MB / 1.075 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.9418, allocations: 0.618 MB / 1.075 GB, free: 86.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/0.9426, allocations: 1.236 MB / 1.077 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/0.9447, allocations: 0.6869 MB / 1.077 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.877e-06/0.9448, allocations: 1.859 kB / 1.077 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.005835/0.9506, allocations: 1.77 MB / 1.079 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.9507, allocations: 60.59 kB / 1.079 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.9529, allocations: 1.247 MB / 1.08 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.953, allocations: 44.67 kB / 1.08 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/0.9536, allocations: 0.645 MB / 1.081 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.9538, allocations: 236.6 kB / 1.081 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.9539, allocations: 18.84 kB / 1.081 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.954, allocations: 338.3 kB / 1.081 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.9558, allocations: 0.5516 MB / 1.082 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.9577, allocations: 0.7652 MB / 1.083 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.9594, allocations: 0.5888 MB / 1.083 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.9595, allocations: 8.75 kB / 1.083 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004451/0.9639, allocations: 1.446 MB / 1.085 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.9641, allocations: 209.9 kB / 1.085 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.9641, allocations: 6.938 kB / 1.085 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.9641, allocations: 6.844 kB / 1.085 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.9655, allocations: 275 kB / 1.085 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.9655, allocations: 10.73 kB / 1.085 GB, free: 81.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.9674, allocations: 241.7 kB / 1.085 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.9675, allocations: 40.77 kB / 1.085 GB, free: 81.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.9675, allocations: 4.891 kB / 1.085 GB, free: 81.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003637/0.9712, allocations: 1.302 MB / 1.087 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.9712, allocations: 4 kB / 1.087 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.9712, allocations: 6.781 kB / 1.087 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.9725, allocations: 272.7 kB / 1.087 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.9725, allocations: 8.672 kB / 1.087 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.9743, allocations: 228.1 kB / 1.087 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/0.9744, allocations: 38.89 kB / 1.087 GB, free: 81.11 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0008262/0.9753, allocations: 409.5 kB / 1.088 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.9756, allocations: 148.8 kB / 1.088 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.9797, allocations: 1.517 MB / 1.089 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.9797, allocations: 8.766 kB / 1.089 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.9797, allocations: 1.438 kB / 1.089 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003413/0.9831, allocations: 1.288 MB / 1.091 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00876/0.9919, allocations: 3.234 MB / 1.094 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.992, allocations: 7.844 kB / 1.094 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.9933, allocations: 240.7 kB / 1.094 GB, free: 78.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.749e-05/0.9933, allocations: 9.625 kB / 1.094 GB, free: 78.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.945e-05/0.9934, allocations: 24.84 kB / 1.094 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.628e-05/0.9934, allocations: 11.58 kB / 1.094 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.9934, allocations: 5.359 kB / 1.094 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006673/1, allocations: 2.303 MB / 1.096 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.002, allocations: 371.8 kB / 1.097 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/1.002, allocations: 17.86 kB / 1.097 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002163/1.004, allocations: 181.4 kB / 1.097 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/1.005, allocations: 77.94 kB / 1.097 GB, free: 76.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/1.005, allocations: 40.03 kB / 1.097 GB, free: 76.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002171/1.007, allocations: 0.8906 MB / 1.098 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/1.007, allocations: 0 / 1.098 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003713/1.011, allocations: 0.7795 MB / 1.099 GB, free: 76.46 MB / 0.6823 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) * Number of clocked states: 0 () * 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.007696/1.019, allocations: 3.224 MB / 1.102 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006356/1.025, allocations: 2.072 MB / 1.104 GB, free: 74.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/1.025, allocations: 2.25 kB / 1.104 GB, free: 74.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/1.028, allocations: 0.7065 MB / 1.104 GB, free: 73.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006158/1.034, allocations: 0.761 MB / 1.105 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02753/1.061, allocations: 9.569 MB / 1.114 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/1.063, allocations: 1.225 MB / 1.116 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002458/1.065, allocations: 364.8 kB / 1.116 GB, free: 66.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.066, allocations: 0.5721 MB / 1.117 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/1.066, allocations: 0 / 1.117 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0679/1.134, allocations: 42.26 MB / 1.158 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/1.134, allocations: 232.9 kB / 1.158 GB, free: 26.15 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.393/4.527, allocations: 0 / 1.158 GB, free: 26.15 MB / 0.6823 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)