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.72/1.72, allocations: 285.4 MB / 298 MB, free: 5.965 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.001359/0.00136, allocations: 180.8 kB / 366.4 MB, free: 2.07 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.668/1.668, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008111/0.0008111, allocations: 94.03 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.224e-05, allocations: 0 / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7489/0.7489, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.85, allocations: 417.2 MB / 1.378 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/1.85, allocations: 91.95 kB / 1.378 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.68/4.53, allocations: 0.6235 GB / 2.002 GB, free: 167.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.873e-06/4.53, allocations: 3 kB / 2.002 GB, free: 167.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003444/4.53, allocations: 45.06 kB / 2.002 GB, free: 167.4 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.006526/4.537, allocations: 1.779 MB / 2.004 GB, free: 166.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/4.537, allocations: 9.969 kB / 2.004 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/4.541, allocations: 0.631 MB / 2.004 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005975/4.547, allocations: 1.65 MB / 2.006 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/4.548, allocations: 148.2 kB / 2.006 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000549/4.548, allocations: 101.6 kB / 2.006 GB, free: 166.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/4.552, allocations: 1.121 MB / 2.007 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.109e-05/4.552, allocations: 6.875 kB / 2.007 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/4.552, allocations: 37.69 kB / 2.007 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/4.552, allocations: 23.36 kB / 2.007 GB, free: 166.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/4.555, allocations: 0.9755 MB / 2.008 GB, free: 166.2 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.01069/4.565, allocations: 5.437 MB / 2.014 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/4.567, allocations: 0.6992 MB / 2.014 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000793/4.568, allocations: 459.4 kB / 2.015 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008298/4.568, allocations: 1.241 MB / 2.016 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008608/4.569, allocations: 0.549 MB / 2.016 GB, free: 162.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 3.797e-06/4.569, allocations: 0 / 2.016 GB, free: 162.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.002066/4.571, allocations: 0.896 MB / 2.017 GB, free: 162.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/4.572, allocations: 120.3 kB / 2.017 GB, free: 162.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/4.574, allocations: 1.173 MB / 2.019 GB, free: 161.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/4.574, allocations: 47.59 kB / 2.019 GB, free: 161.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007157/4.575, allocations: 0.6783 MB / 2.019 GB, free: 161.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/4.575, allocations: 232.7 kB / 2.02 GB, free: 161.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/4.575, allocations: 14.81 kB / 2.02 GB, free: 161.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/4.575, allocations: 334.7 kB / 2.02 GB, free: 161.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/4.576, allocations: 360.3 kB / 2.02 GB, free: 161.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008033/4.577, allocations: 0.6135 MB / 2.021 GB, free: 161 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/4.577, allocations: 417.9 kB / 2.021 GB, free: 161 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/4.577, allocations: 0 / 2.021 GB, free: 161 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002064/4.58, allocations: 1.053 MB / 2.022 GB, free: 160.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003575/4.58, allocations: 1.204 MB / 2.023 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/4.58, allocations: 3.875 kB / 2.023 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.768e-05/4.58, allocations: 7.094 kB / 2.023 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/4.581, allocations: 276.9 kB / 2.024 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/4.581, allocations: 3.938 kB / 2.024 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/4.584, allocations: 243.7 kB / 2.024 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/4.584, allocations: 56.44 kB / 2.024 GB, free: 159.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/4.584, allocations: 5.531 kB / 2.024 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001452/4.585, allocations: 0.8947 MB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/4.585, allocations: 3.969 kB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/4.585, allocations: 7.75 kB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/4.586, allocations: 271 kB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/4.586, allocations: 13.58 kB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/4.588, allocations: 223.2 kB / 2.025 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/4.589, allocations: 53.92 kB / 2.025 GB, free: 159.5 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.0003095/4.589, allocations: 151.7 kB / 2.026 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005169/4.589, allocations: 147.9 kB / 2.026 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/4.592, allocations: 1.112 MB / 2.027 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/4.592, allocations: 14.59 kB / 2.027 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/4.592, allocations: 6.188 kB / 2.027 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/4.593, allocations: 0.9249 MB / 2.028 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/4.599, allocations: 3.14 MB / 2.031 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/4.599, allocations: 3.906 kB / 2.031 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/4.6, allocations: 248.2 kB / 2.031 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-05/4.6, allocations: 11.75 kB / 2.031 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/4.6, allocations: 28.86 kB / 2.031 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/4.6, allocations: 9.312 kB / 2.031 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/4.6, allocations: 7.125 kB / 2.031 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/4.603, allocations: 2.105 MB / 2.033 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/4.605, allocations: 486.2 kB / 2.034 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006208/4.605, allocations: 18.05 kB / 2.034 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/4.607, allocations: 186.2 kB / 2.034 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/4.608, allocations: 75.61 kB / 2.034 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/4.608, allocations: 53.03 kB / 2.034 GB, free: 157.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002308/4.61, allocations: 0.94 MB / 2.035 GB, free: 157 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.51e-07/4.61, allocations: 2.406 kB / 2.035 GB, free: 157 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004668/4.615, allocations: 0.8507 MB / 2.036 GB, free: 156.9 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.00249/4.617, allocations: 0.8124 MB / 2.036 GB, free: 156.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003175/4.62, allocations: 1.49 MB / 2.038 GB, free: 156.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/4.62, allocations: 1.344 kB / 2.038 GB, free: 156.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/4.622, allocations: 0.5155 MB / 2.038 GB, free: 156.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004961/4.627, allocations: 0.7558 MB / 2.039 GB, free: 156.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/4.632, allocations: 2.055 MB / 2.041 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/4.634, allocations: 1.281 MB / 2.042 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004302/4.638, allocations: 0.4971 MB / 2.043 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/4.639, allocations: 101 kB / 2.043 GB, free: 155.2 MB / 0.948 GB Notification: Performance of SimCode: time 3.456e-06/4.639, allocations: 0 / 2.043 GB, free: 155.2 MB / 0.948 GB Notification: Performance of Templates: time 0.08558/4.724, allocations: 36.95 MB / 2.079 GB, free: 154.1 MB / 0.948 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)