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: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001608/0.001607, allocations: 176.9 kB / 361.4 MB, free: 6.816 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.621/1.621, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009305/0.0009302, allocations: 84.98 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.354e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7583, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.897, allocations: 416.5 MB / 1.371 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.898, allocations: 87.52 kB / 1.371 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.542/4.44, allocations: 0.6199 GB / 1.991 GB, free: 158 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.442e-06/4.44, allocations: 0 / 1.991 GB, free: 158 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001618/4.44, allocations: 38.42 kB / 1.991 GB, free: 158 MB / 0.9323 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.004028/4.444, allocations: 1.779 MB / 1.993 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/4.445, allocations: 11.38 kB / 1.993 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/4.448, allocations: 0.6322 MB / 1.993 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/4.452, allocations: 1.658 MB / 1.995 GB, free: 157 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/4.452, allocations: 104.7 kB / 1.995 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/4.452, allocations: 65.97 kB / 1.995 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001596/4.454, allocations: 0.924 MB / 1.996 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/4.455, allocations: 0.9922 MB / 1.997 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/4.455, allocations: 4.75 kB / 1.997 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.105e-05/4.456, allocations: 3.703 kB / 1.997 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/4.456, allocations: 31.66 kB / 1.997 GB, free: 156.8 MB / 0.9323 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.006952/4.463, allocations: 5.249 MB / 2.002 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/4.464, allocations: 0.6802 MB / 2.003 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/4.464, allocations: 434.7 kB / 2.003 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/4.465, allocations: 1.243 MB / 2.005 GB, free: 153 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007403/4.466, allocations: 0.53 MB / 2.005 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 3.026e-06/4.466, allocations: 0 / 2.005 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.002104/4.468, allocations: 0.9074 MB / 2.006 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/4.468, allocations: 117.7 kB / 2.006 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/4.47, allocations: 1.032 MB / 2.007 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/4.47, allocations: 36.23 kB / 2.007 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/4.471, allocations: 0.6864 MB / 2.008 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/4.471, allocations: 219.2 kB / 2.008 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/4.471, allocations: 0 / 2.008 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.827e-05/4.471, allocations: 337.8 kB / 2.008 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/4.472, allocations: 349.6 kB / 2.009 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/4.472, allocations: 0.5965 MB / 2.009 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/4.473, allocations: 425 kB / 2.01 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/4.473, allocations: 1.031 kB / 2.01 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00221/4.476, allocations: 1.034 MB / 2.011 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003264/4.476, allocations: 1.188 MB / 2.012 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/4.476, allocations: 7.75 kB / 2.012 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/4.476, allocations: 7.25 kB / 2.012 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/4.477, allocations: 278.7 kB / 2.012 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/4.477, allocations: 7.688 kB / 2.012 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/4.479, allocations: 211.5 kB / 2.012 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/4.479, allocations: 52.08 kB / 2.012 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/4.479, allocations: 6.438 kB / 2.012 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001841/4.481, allocations: 0.855 MB / 2.013 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/4.481, allocations: 6.359 kB / 2.013 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/4.481, allocations: 6.875 kB / 2.013 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/4.483, allocations: 272.8 kB / 2.014 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/4.483, allocations: 8.531 kB / 2.014 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/4.484, allocations: 199.7 kB / 2.014 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/4.485, allocations: 51.95 kB / 2.014 GB, free: 150.3 MB / 0.9323 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.0003179/4.485, allocations: 133.2 kB / 2.014 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/4.485, allocations: 143.8 kB / 2.014 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/4.488, allocations: 1.09 MB / 2.015 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/4.488, allocations: 11.36 kB / 2.015 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/4.488, allocations: 3.844 kB / 2.015 GB, free: 150 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001623/4.489, allocations: 0.9287 MB / 2.016 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/4.496, allocations: 2.984 MB / 2.019 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/4.496, allocations: 6.062 kB / 2.019 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/4.497, allocations: 237.8 kB / 2.019 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/4.497, allocations: 14.53 kB / 2.019 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/4.497, allocations: 21.92 kB / 2.019 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.585e-05/4.497, allocations: 10.41 kB / 2.019 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/4.497, allocations: 10.41 kB / 2.019 GB, free: 149 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003715/4.501, allocations: 2.051 MB / 2.021 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/4.502, allocations: 475.2 kB / 2.022 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/4.502, allocations: 8.422 kB / 2.022 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/4.504, allocations: 166.4 kB / 2.022 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/4.504, allocations: 75.3 kB / 2.022 GB, free: 148 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/4.504, allocations: 50.73 kB / 2.022 GB, free: 148 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001495/4.506, allocations: 0.7936 MB / 2.023 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.01e-07/4.506, allocations: 1.344 kB / 2.023 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00323/4.509, allocations: 0.8277 MB / 2.024 GB, free: 147.8 MB / 0.9323 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.001711/4.511, allocations: 0.8105 MB / 2.024 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003103/4.514, allocations: 1.427 MB / 2.026 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/4.514, allocations: 4.188 kB / 2.026 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/4.515, allocations: 0.4961 MB / 2.026 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/4.519, allocations: 0.6413 MB / 2.027 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/4.524, allocations: 1.979 MB / 2.029 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/4.526, allocations: 1.283 MB / 2.03 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003173/4.529, allocations: 476.4 kB / 2.03 GB, free: 146 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/4.529, allocations: 92.53 kB / 2.031 GB, free: 146 MB / 0.9323 GB Notification: Performance of SimCode: time 2.134e-06/4.529, allocations: 7.719 kB / 2.031 GB, free: 146 MB / 0.9323 GB Notification: Performance of Templates: time 0.05857/4.588, allocations: 29.76 MB / 2.06 GB, free: 145.2 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)