Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 293 MB / 309 MB, free: 4.832 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.001103/0.001104, allocations: 172.4 kB / 378.7 MB, free: 1.027 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.727/1.727, allocations: 205.4 MB / 0.6383 GB, free: 8.215 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.0008501/0.0008506, allocations: 96.66 kB / 0.7527 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003996, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2851, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.578/1.863, allocations: 418.4 MB / 1.399 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/1.864, allocations: 94.34 kB / 1.399 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.829/3.692, allocations: 0.6211 GB / 2.02 GB, free: 58.47 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.345e-06/3.692, allocations: 0 / 2.02 GB, free: 58.47 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002804/3.693, allocations: 47.77 kB / 2.02 GB, free: 58.43 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.006729/3.699, allocations: 2.048 MB / 2.022 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/3.7, allocations: 8.031 kB / 2.022 GB, free: 56.33 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/3.703, allocations: 0.631 MB / 2.023 GB, free: 55.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00489/3.708, allocations: 1.636 MB / 2.024 GB, free: 54.05 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/3.708, allocations: 146 kB / 2.025 GB, free: 53.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004994/3.709, allocations: 100.6 kB / 2.025 GB, free: 53.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00379/3.713, allocations: 1.34 MB / 2.026 GB, free: 52.43 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.256e-05/3.713, allocations: 0 / 2.026 GB, free: 52.43 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/3.713, allocations: 43.98 kB / 2.026 GB, free: 52.39 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/3.713, allocations: 31.19 kB / 2.026 GB, free: 52.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/3.717, allocations: 1.374 MB / 2.027 GB, free: 50.98 MB / 0.9323 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.008851/3.726, allocations: 5.356 MB / 2.033 GB, free: 45.34 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005078/3.731, allocations: 1.353 MB / 2.034 GB, free: 43.98 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/3.732, allocations: 0.651 MB / 2.035 GB, free: 43.33 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007962/3.733, allocations: 1.243 MB / 2.036 GB, free: 41.81 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/3.735, allocations: 0.7444 MB / 2.037 GB, free: 41.05 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 4.349e-06/3.735, allocations: 0 / 2.037 GB, free: 41.05 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.005011/3.74, allocations: 1.813 MB / 2.038 GB, free: 39.22 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/3.74, allocations: 119.3 kB / 2.038 GB, free: 39.08 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/3.742, allocations: 1.259 MB / 2.04 GB, free: 37.81 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/3.742, allocations: 41.7 kB / 2.04 GB, free: 37.77 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/3.743, allocations: 0.67 MB / 2.04 GB, free: 37.09 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/3.743, allocations: 228 kB / 2.041 GB, free: 36.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/3.743, allocations: 16 kB / 2.041 GB, free: 36.85 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/3.744, allocations: 337.9 kB / 2.041 GB, free: 36.52 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/3.745, allocations: 0.5484 MB / 2.041 GB, free: 35.96 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/3.746, allocations: 0.8152 MB / 2.042 GB, free: 35.04 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/3.749, allocations: 1.184 MB / 2.043 GB, free: 33.82 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/3.749, allocations: 3.938 kB / 2.043 GB, free: 33.81 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003845/3.753, allocations: 1.434 MB / 2.045 GB, free: 32.36 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/3.753, allocations: 206 kB / 2.045 GB, free: 32.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/3.753, allocations: 4 kB / 2.045 GB, free: 32.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/3.753, allocations: 4 kB / 2.045 GB, free: 32.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/3.754, allocations: 271.5 kB / 2.045 GB, free: 31.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-05/3.755, allocations: 8 kB / 2.045 GB, free: 31.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/3.757, allocations: 235 kB / 2.045 GB, free: 31.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/3.757, allocations: 51.91 kB / 2.046 GB, free: 31.55 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/3.757, allocations: 4.625 kB / 2.046 GB, free: 31.55 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003122/3.76, allocations: 1.293 MB / 2.047 GB, free: 30.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/3.76, allocations: 4 kB / 2.047 GB, free: 30.24 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/3.76, allocations: 8 kB / 2.047 GB, free: 30.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/3.761, allocations: 256 kB / 2.047 GB, free: 29.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/3.761, allocations: 11.94 kB / 2.047 GB, free: 29.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/3.764, allocations: 227.2 kB / 2.047 GB, free: 29.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/3.764, allocations: 47.97 kB / 2.047 GB, free: 29.7 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 () * Number of clocked 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.001136/3.765, allocations: 416.2 kB / 2.048 GB, free: 29.29 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005744/3.765, allocations: 146.2 kB / 2.048 GB, free: 29.14 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003928/3.769, allocations: 1.495 MB / 2.049 GB, free: 27.64 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/3.769, allocations: 11.98 kB / 2.049 GB, free: 27.62 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/3.769, allocations: 0 / 2.049 GB, free: 27.62 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002814/3.772, allocations: 1.316 MB / 2.051 GB, free: 26.28 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007607/3.78, allocations: 3.484 MB / 2.054 GB, free: 22.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/3.78, allocations: 7.938 kB / 2.054 GB, free: 22.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/3.781, allocations: 240 kB / 2.054 GB, free: 22.41 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/3.781, allocations: 11.94 kB / 2.054 GB, free: 22.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-05/3.781, allocations: 31.98 kB / 2.054 GB, free: 22.37 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/3.781, allocations: 4 kB / 2.054 GB, free: 22.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/3.781, allocations: 11.94 kB / 2.054 GB, free: 22.35 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005274/3.786, allocations: 2.387 MB / 2.057 GB, free: 19.89 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/3.788, allocations: 471.8 kB / 2.057 GB, free: 19.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006916/3.789, allocations: 19.98 kB / 2.057 GB, free: 19.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/3.791, allocations: 183.7 kB / 2.057 GB, free: 19.19 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/3.791, allocations: 76.34 kB / 2.057 GB, free: 19.11 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/3.791, allocations: 47.97 kB / 2.057 GB, free: 19.07 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002111/3.793, allocations: 0.8851 MB / 2.058 GB, free: 18.18 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3e-07/3.793, allocations: 0 / 2.058 GB, free: 18.18 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003838/3.797, allocations: 0.8304 MB / 2.059 GB, free: 17.35 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) * 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.002151/3.799, allocations: 0.7653 MB / 2.06 GB, free: 16.67 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005272/3.805, allocations: 2.031 MB / 2.062 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/3.805, allocations: 4 kB / 2.062 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/3.806, allocations: 0.7108 MB / 2.063 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006005/3.812, allocations: 0.7911 MB / 2.063 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/3.819, allocations: 3.168 MB / 2.066 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/3.82, allocations: 1.23 MB / 2.068 GB, free: 8.625 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002522/3.823, allocations: 368.9 kB / 2.068 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/3.823, allocations: 135.4 kB / 2.068 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of SimCode: time 1.493e-06/3.823, allocations: 0 / 2.068 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of Templates: time 0.6743/4.498, allocations: 34.04 MB / 2.101 GB, free: 142.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)