Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",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.448/1.448, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.0009776/0.0009775, allocations: 184.4 kB / 372.3 MB, free: 10.11 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.127/1.127, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0006591/0.0006591, allocations: 93.11 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 12.19 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.04048/0.1844, allocations: 55.77 MB / 1.035 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.1985, allocations: 12.29 MB / 1.047 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.2001, allocations: 55.62 kB / 1.047 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2019, allocations: 0.7104 MB / 1.047 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.2062, allocations: 1.953 MB / 1.049 GB, free: 4.289 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.002799/0.209, allocations: 1.181 MB / 1.05 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004594/0.2136, allocations: 4.78 MB / 1.055 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.2148, allocations: 1.095 MB / 1.056 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.2164, allocations: 1.322 MB / 1.057 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.2175, allocations: 1.089 MB / 1.059 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.2176, allocations: 56 kB / 1.059 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.2198, allocations: 1.29 MB / 1.06 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.2201, allocations: 326.6 kB / 1.06 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006574/0.2207, allocations: 0.8062 MB / 1.061 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.2225, allocations: 2.042 MB / 1.063 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2225, allocations: 4 kB / 1.063 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2225, allocations: 0 / 1.063 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.2225, allocations: 0 / 1.063 GB, free: 6.242 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.002673/0.2252, allocations: 1.902 MB / 1.065 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.2252, allocations: 8.031 kB / 1.065 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.2254, allocations: 147.9 kB / 1.065 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.2283, allocations: 0.6423 MB / 1.066 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.2301, allocations: 1.389 MB / 1.067 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.2303, allocations: 149.3 kB / 1.067 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.2304, allocations: 96 kB / 1.067 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.2329, allocations: 1.338 MB / 1.068 GB, free: 416 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.233, allocations: 0 / 1.068 GB, free: 416 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/0.2331, allocations: 40 kB / 1.069 GB, free: 376 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.2331, allocations: 39.91 kB / 1.069 GB, free: 336 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.285/0.5181, allocations: 1.372 MB / 1.07 GB, free: 90.19 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.005623/0.5237, allocations: 5.382 MB / 1.075 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.526, allocations: 1.091 MB / 1.076 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.5275, allocations: 0.6274 MB / 1.077 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.528, allocations: 1.237 MB / 1.078 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.5297, allocations: 0.6901 MB / 1.079 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 2.615e-06/0.5298, allocations: 0 / 1.079 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.004623/0.5344, allocations: 1.802 MB / 1.08 GB, free: 84.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.5344, allocations: 61.97 kB / 1.081 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.5359, allocations: 1.3 MB / 1.082 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.536, allocations: 44.8 kB / 1.082 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.5364, allocations: 0.6676 MB / 1.082 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.5366, allocations: 237.4 kB / 1.083 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.5366, allocations: 18.97 kB / 1.083 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.5367, allocations: 334.5 kB / 1.083 GB, free: 82.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.5382, allocations: 0.5554 MB / 1.084 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.5397, allocations: 0.7773 MB / 1.084 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.5425, allocations: 1.196 MB / 1.086 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5425, allocations: 1.062 kB / 1.086 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003223/0.5457, allocations: 1.465 MB / 1.087 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/0.5458, allocations: 212.5 kB / 1.087 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5458, allocations: 2.906 kB / 1.087 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5458, allocations: 8.969 kB / 1.087 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.547, allocations: 269.3 kB / 1.087 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.547, allocations: 7.797 kB / 1.087 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5483, allocations: 244.2 kB / 1.088 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.5484, allocations: 40.77 kB / 1.088 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.5484, allocations: 3.062 kB / 1.088 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003056/0.5515, allocations: 1.315 MB / 1.089 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5515, allocations: 2.875 kB / 1.089 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.5515, allocations: 9.5 kB / 1.089 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.5526, allocations: 274.2 kB / 1.089 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5526, allocations: 14.06 kB / 1.089 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.5538, allocations: 227 kB / 1.089 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.5539, allocations: 39.02 kB / 1.09 GB, free: 80.29 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.0004284/0.5544, allocations: 421.9 kB / 1.09 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.5545, allocations: 149.9 kB / 1.09 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/0.558, allocations: 1.526 MB / 1.092 GB, free: 79.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.558, allocations: 12.41 kB / 1.092 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.558, allocations: 5.266 kB / 1.092 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002892/0.5609, allocations: 1.297 MB / 1.093 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005745/0.5666, allocations: 3.284 MB / 1.096 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5667, allocations: 3.25 kB / 1.096 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5677, allocations: 237.3 kB / 1.096 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.5677, allocations: 6.5 kB / 1.096 GB, free: 77.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.5678, allocations: 30 kB / 1.096 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.5678, allocations: 11.81 kB / 1.096 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5678, allocations: 5.75 kB / 1.096 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.5724, allocations: 2.333 MB / 1.099 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.5729, allocations: 374.5 kB / 1.099 GB, free: 76.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.5731, allocations: 24.94 kB / 1.099 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.5743, allocations: 176.8 kB / 1.099 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5744, allocations: 74.88 kB / 1.099 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-05/0.5745, allocations: 38.66 kB / 1.099 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009546/0.5754, allocations: 0.9245 MB / 1.1 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5754, allocations: 1.25 kB / 1.1 GB, free: 75.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001612/0.5771, allocations: 0.7884 MB / 1.101 GB, free: 75.6 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.005505/0.5826, allocations: 3.289 MB / 1.104 GB, free: 73.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004653/0.5872, allocations: 2.098 MB / 1.106 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5873, allocations: 1.062 kB / 1.106 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.5889, allocations: 0.7146 MB / 1.107 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/0.5928, allocations: 0.7676 MB / 1.108 GB, free: 72.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.608, allocations: 9.881 MB / 1.117 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.6085, allocations: 1.241 MB / 1.119 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001445/0.6099, allocations: 368.2 kB / 1.119 GB, free: 64.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/0.6106, allocations: 0.5958 MB / 1.119 GB, free: 64.45 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/0.6106, allocations: 0 / 1.119 GB, free: 64.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7594/1.37, allocations: 44.76 MB / 1.163 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/1.37, allocations: 244.2 kB / 1.163 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.288/4.658, allocations: 7.094 kB / 1.163 GB, free: 21.05 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)