Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.443/1.443, allocations: 287.4 MB / 302.6 MB, free: 8.293 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.0008831/0.000883, allocations: 174.1 kB / 371.1 MB, free: 10.8 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.227/1.227, allocations: 205.4 MB / 0.6298 GB, free: 10.51 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.000718/0.0007181, allocations: 98.08 kB / 0.7431 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 16.02 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0397/0.1882, allocations: 55.77 MB / 1.033 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01419/0.2024, allocations: 12.23 MB / 1.045 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.2037, allocations: 67.56 kB / 1.045 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.2052, allocations: 0.6987 MB / 1.046 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.2089, allocations: 1.825 MB / 1.048 GB, free: 5.293 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.002596/0.2115, allocations: 1.16 MB / 1.049 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004133/0.2156, allocations: 4.779 MB / 1.053 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.2168, allocations: 1.088 MB / 1.055 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.2186, allocations: 1.303 MB / 1.056 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.2197, allocations: 1.085 MB / 1.057 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.2199, allocations: 60 kB / 1.057 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.2217, allocations: 0.994 MB / 1.058 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.222, allocations: 310.6 kB / 1.058 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.2223, allocations: 352.8 kB / 1.059 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.2239, allocations: 1.937 MB / 1.06 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2239, allocations: 0 / 1.06 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2239, allocations: 4 kB / 1.06 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.2239, allocations: 0 / 1.06 GB, free: 8.176 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.002592/0.2265, allocations: 1.87 MB / 1.062 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2266, allocations: 8.031 kB / 1.062 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.2267, allocations: 147.9 kB / 1.062 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.2297, allocations: 0.6383 MB / 1.063 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.2314, allocations: 1.376 MB / 1.064 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.2316, allocations: 141.4 kB / 1.064 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.2317, allocations: 100 kB / 1.065 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.2342, allocations: 1.33 MB / 1.066 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.2343, allocations: 7.938 kB / 1.066 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.2344, allocations: 36 kB / 1.066 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.2344, allocations: 35.94 kB / 1.066 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/0.2377, allocations: 1.37 MB / 1.067 GB, free: 0.9492 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.3125/0.5502, allocations: 5.355 MB / 1.073 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004974/0.5552, allocations: 1.481 MB / 1.074 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.5567, allocations: 0.6207 MB / 1.075 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/0.5573, allocations: 1.237 MB / 1.076 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.559, allocations: 0.6874 MB / 1.076 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 2.935e-06/0.559, allocations: 0 / 1.076 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.004767/0.5638, allocations: 1.78 MB / 1.078 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.5638, allocations: 61.33 kB / 1.078 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.5654, allocations: 1.246 MB / 1.079 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.5655, allocations: 40.92 kB / 1.08 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.5659, allocations: 0.6492 MB / 1.08 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.5661, allocations: 241.2 kB / 1.08 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.5661, allocations: 18.69 kB / 1.08 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.5662, allocations: 335.2 kB / 1.081 GB, free: 83.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.5677, allocations: 0.5455 MB / 1.081 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.5693, allocations: 0.7721 MB / 1.082 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.5721, allocations: 1.183 MB / 1.083 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5721, allocations: 0.7812 kB / 1.083 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003304/0.5754, allocations: 1.449 MB / 1.085 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/0.5755, allocations: 207.9 kB / 1.085 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5755, allocations: 7.5 kB / 1.085 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.5755, allocations: 7.531 kB / 1.085 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.5767, allocations: 266.8 kB / 1.085 GB, free: 81.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.5767, allocations: 14.34 kB / 1.085 GB, free: 81.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.5781, allocations: 242.4 kB / 1.085 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.5782, allocations: 39.72 kB / 1.085 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.5782, allocations: 4.938 kB / 1.085 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003059/0.5813, allocations: 1.302 MB / 1.087 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5813, allocations: 2.438 kB / 1.087 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.5813, allocations: 7.609 kB / 1.087 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.5824, allocations: 268.3 kB / 1.087 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5824, allocations: 7.578 kB / 1.087 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.5837, allocations: 239.5 kB / 1.087 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.5838, allocations: 40.06 kB / 1.087 GB, free: 80.84 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.0005608/0.5844, allocations: 409.7 kB / 1.088 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.5846, allocations: 144.2 kB / 1.088 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/0.588, allocations: 1.507 MB / 1.089 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5881, allocations: 8.875 kB / 1.089 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5881, allocations: 3.938 kB / 1.089 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002913/0.591, allocations: 1.282 MB / 1.09 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005641/0.5967, allocations: 3.229 MB / 1.094 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.5967, allocations: 4.188 kB / 1.094 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5977, allocations: 238.4 kB / 1.094 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.5978, allocations: 7.5 kB / 1.094 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.5978, allocations: 33.3 kB / 1.094 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.5978, allocations: 19.02 kB / 1.094 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5978, allocations: 9.875 kB / 1.094 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004575/0.6024, allocations: 2.296 MB / 1.096 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/0.6029, allocations: 377 kB / 1.096 GB, free: 76.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.6031, allocations: 17.75 kB / 1.096 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.6043, allocations: 188.2 kB / 1.097 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.6045, allocations: 68.7 kB / 1.097 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-05/0.6045, allocations: 42.02 kB / 1.097 GB, free: 76.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0011/0.6056, allocations: 0.8878 MB / 1.098 GB, free: 76.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6057, allocations: 4 kB / 1.098 GB, free: 76.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001715/0.6074, allocations: 0.7686 MB / 1.098 GB, free: 76.2 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.005516/0.6129, allocations: 3.224 MB / 1.102 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004784/0.6177, allocations: 2.072 MB / 1.104 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6177, allocations: 0.9688 kB / 1.104 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.6193, allocations: 0.7124 MB / 1.104 GB, free: 73.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003822/0.6231, allocations: 0.7646 MB / 1.105 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.6383, allocations: 9.573 MB / 1.114 GB, free: 68.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.6389, allocations: 1.23 MB / 1.116 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001519/0.6404, allocations: 364.9 kB / 1.116 GB, free: 66.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/0.641, allocations: 0.5756 MB / 1.116 GB, free: 66.41 MB / 0.6823 GB Notification: Performance of SimCode: time 6.92e-07/0.641, allocations: 0 / 1.116 GB, free: 66.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.104/1.745, allocations: 43.65 MB / 1.159 GB, free: 25.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.745, allocations: 224.1 kB / 1.159 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/5.337, allocations: 0 / 1.159 GB, free: 25.05 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)