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: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.663/2.663, allocations: 287.5 MB / 303.2 MB, free: 8.227 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.001325/0.001325, allocations: 180.7 kB / 371.8 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 2.063/2.063, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0009853/0.0009846, allocations: 100.9 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 12.02 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.269/1.489, allocations: 417 MB / 1.386 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/1.489, allocations: 97.45 kB / 1.387 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.315/4.804, allocations: 0.6211 GB / 2.008 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.735e-06/4.804, allocations: 0 / 2.008 GB, free: 126.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002228/4.804, allocations: 43.98 kB / 2.008 GB, free: 126.7 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.007176/4.812, allocations: 2.052 MB / 2.01 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/4.812, allocations: 8.031 kB / 2.01 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006317/4.818, allocations: 0.631 MB / 2.01 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005394/4.823, allocations: 1.633 MB / 2.012 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/4.824, allocations: 149.9 kB / 2.012 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/4.824, allocations: 108.5 kB / 2.012 GB, free: 122 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004998/4.829, allocations: 1.338 MB / 2.013 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/4.829, allocations: 3.656 kB / 2.013 GB, free: 120.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/4.829, allocations: 36 kB / 2.014 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/4.829, allocations: 28 kB / 2.014 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006797/4.836, allocations: 1.382 MB / 2.015 GB, free: 119.1 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.01208/4.848, allocations: 5.358 MB / 2.02 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009975/4.858, allocations: 1.513 MB / 2.022 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/4.861, allocations: 0.6531 MB / 2.022 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/4.862, allocations: 1.236 MB / 2.023 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003051/4.865, allocations: 0.7173 MB / 2.024 GB, free: 109 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=69): time 4.498e-06/4.866, allocations: 0 / 2.024 GB, free: 109 MB / 0.9323 GB Notification: Performance of matching and sorting (n=69): time 0.009046/4.875, allocations: 1.832 MB / 2.026 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/4.875, allocations: 59.97 kB / 2.026 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/4.877, allocations: 1.247 MB / 2.027 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003267/4.877, allocations: 45.7 kB / 2.027 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007054/4.878, allocations: 0.6581 MB / 2.028 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/4.879, allocations: 236.6 kB / 2.028 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.149e-05/4.879, allocations: 16 kB / 2.028 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/4.879, allocations: 330 kB / 2.028 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002703/4.881, allocations: 0.5484 MB / 2.029 GB, free: 104 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/4.884, allocations: 0.8166 MB / 2.03 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005262/4.89, allocations: 1.192 MB / 2.031 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/4.89, allocations: 0 / 2.031 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006369/4.896, allocations: 1.442 MB / 2.032 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/4.896, allocations: 206 kB / 2.033 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/4.896, allocations: 4 kB / 2.033 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/4.896, allocations: 8 kB / 2.033 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/4.899, allocations: 263.7 kB / 2.033 GB, free: 99.85 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/4.899, allocations: 11.88 kB / 2.033 GB, free: 99.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/4.902, allocations: 231.1 kB / 2.033 GB, free: 99.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/4.902, allocations: 47.97 kB / 2.033 GB, free: 99.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/4.902, allocations: 6.188 kB / 2.033 GB, free: 99.56 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005836/4.908, allocations: 1.29 MB / 2.034 GB, free: 98.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/4.908, allocations: 4 kB / 2.034 GB, free: 98.26 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/4.908, allocations: 8 kB / 2.034 GB, free: 98.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/4.91, allocations: 259.9 kB / 2.035 GB, free: 98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/4.91, allocations: 8 kB / 2.035 GB, free: 97.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/4.913, allocations: 231.1 kB / 2.035 GB, free: 97.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/4.913, allocations: 47.97 kB / 2.035 GB, free: 97.72 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.001068/4.914, allocations: 416.8 kB / 2.035 GB, free: 97.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004001/4.915, allocations: 146.2 kB / 2.035 GB, free: 97.16 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006486/4.921, allocations: 1.551 MB / 2.037 GB, free: 95.59 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/4.921, allocations: 11.98 kB / 2.037 GB, free: 95.58 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/4.921, allocations: 0 / 2.037 GB, free: 95.58 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005659/4.927, allocations: 1.324 MB / 2.038 GB, free: 94.22 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/4.938, allocations: 3.344 MB / 2.042 GB, free: 90.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/4.938, allocations: 4 kB / 2.042 GB, free: 90.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/4.94, allocations: 239.8 kB / 2.042 GB, free: 90.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/4.94, allocations: 8 kB / 2.042 GB, free: 90.47 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/4.941, allocations: 31.97 kB / 2.042 GB, free: 90.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/4.941, allocations: 11.94 kB / 2.042 GB, free: 90.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/4.941, allocations: 4 kB / 2.042 GB, free: 90.43 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009385/4.95, allocations: 2.391 MB / 2.044 GB, free: 87.96 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/4.951, allocations: 475.8 kB / 2.045 GB, free: 87.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003347/4.952, allocations: 16 kB / 2.045 GB, free: 87.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/4.954, allocations: 183.1 kB / 2.045 GB, free: 87.26 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/4.955, allocations: 76.34 kB / 2.045 GB, free: 87.19 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/4.955, allocations: 47.97 kB / 2.045 GB, free: 87.14 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001772/4.957, allocations: 0.8929 MB / 2.046 GB, free: 86.25 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.31e-07/4.957, allocations: 0 / 2.046 GB, free: 86.25 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003329/4.96, allocations: 0.8226 MB / 2.047 GB, free: 85.43 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.00187/4.962, allocations: 0.7818 MB / 2.047 GB, free: 84.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008704/4.971, allocations: 2.031 MB / 2.049 GB, free: 82.64 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/4.971, allocations: 0 / 2.049 GB, free: 82.64 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00317/4.974, allocations: 0.7147 MB / 2.05 GB, free: 81.93 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008103/4.982, allocations: 0.7798 MB / 2.051 GB, free: 81.18 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007094/4.989, allocations: 3.165 MB / 2.054 GB, free: 77.93 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/4.99, allocations: 1.234 MB / 2.055 GB, free: 76.68 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002976/4.993, allocations: 363.6 kB / 2.055 GB, free: 76.34 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/4.994, allocations: 131.4 kB / 2.056 GB, free: 76.21 MB / 0.9323 GB Notification: Performance of SimCode: time 1.223e-06/4.994, allocations: 4 kB / 2.056 GB, free: 76.21 MB / 0.9323 GB Notification: Performance of Templates: time 0.08289/5.077, allocations: 33.67 MB / 2.088 GB, free: 43.08 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)