Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 293 MB / 309 MB, free: 4.801 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.001031/0.001031, allocations: 176.5 kB / 378.7 MB, free: 1.031 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.789/1.789, allocations: 205.4 MB / 0.6383 GB, free: 8.227 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.000793/0.0007932, allocations: 88.17 kB / 0.7527 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004227, allocations: 16 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2629, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.641/1.904, allocations: 418.4 MB / 1.399 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.904, allocations: 92.77 kB / 1.399 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.986/3.89, allocations: 0.6217 GB / 2.021 GB, free: 57.84 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.776e-06/3.891, allocations: 0 / 2.021 GB, free: 57.84 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002827/3.891, allocations: 44.92 kB / 2.021 GB, free: 57.8 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.006423/3.897, allocations: 2.087 MB / 2.023 GB, free: 55.68 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/3.897, allocations: 11.97 kB / 2.023 GB, free: 55.66 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003769/3.901, allocations: 0.6271 MB / 2.023 GB, free: 55.04 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/3.906, allocations: 1.656 MB / 2.025 GB, free: 53.37 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/3.906, allocations: 153.9 kB / 2.025 GB, free: 53.21 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/3.907, allocations: 104.5 kB / 2.025 GB, free: 53.11 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/3.91, allocations: 1.354 MB / 2.027 GB, free: 51.72 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/3.91, allocations: 0 / 2.027 GB, free: 51.72 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/3.91, allocations: 39.94 kB / 2.027 GB, free: 51.68 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/3.91, allocations: 28 kB / 2.027 GB, free: 51.66 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/3.914, allocations: 1.393 MB / 2.028 GB, free: 50.26 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.008323/3.922, allocations: 5.405 MB / 2.033 GB, free: 44.57 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/3.924, allocations: 0.9538 MB / 2.034 GB, free: 43.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/3.926, allocations: 0.6622 MB / 2.035 GB, free: 42.94 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007693/3.927, allocations: 1.243 MB / 2.036 GB, free: 41.43 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/3.928, allocations: 0.7591 MB / 2.037 GB, free: 40.65 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 3.928e-06/3.928, allocations: 0 / 2.037 GB, free: 40.65 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.0048/3.933, allocations: 1.848 MB / 2.039 GB, free: 38.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/3.933, allocations: 111.4 kB / 2.039 GB, free: 38.66 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/3.936, allocations: 1.316 MB / 2.04 GB, free: 37.33 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/3.936, allocations: 41.7 kB / 2.04 GB, free: 37.29 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000704/3.937, allocations: 0.6898 MB / 2.041 GB, free: 36.59 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/3.937, allocations: 235.3 kB / 2.041 GB, free: 36.36 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/3.937, allocations: 16 kB / 2.041 GB, free: 36.34 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/3.937, allocations: 329.9 kB / 2.041 GB, free: 36.02 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/3.938, allocations: 0.5562 MB / 2.042 GB, free: 35.46 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/3.94, allocations: 0.8308 MB / 2.043 GB, free: 34.52 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/3.943, allocations: 1.2 MB / 2.044 GB, free: 33.28 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/3.943, allocations: 4 kB / 2.044 GB, free: 33.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003582/3.946, allocations: 1.461 MB / 2.045 GB, free: 31.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/3.946, allocations: 210.3 kB / 2.046 GB, free: 31.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/3.946, allocations: 4 kB / 2.046 GB, free: 31.54 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/3.946, allocations: 4 kB / 2.046 GB, free: 31.54 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/3.948, allocations: 267.5 kB / 2.046 GB, free: 31.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/3.948, allocations: 11.98 kB / 2.046 GB, free: 31.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/3.95, allocations: 235.1 kB / 2.046 GB, free: 31.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/3.95, allocations: 47.97 kB / 2.046 GB, free: 30.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/3.95, allocations: 4 kB / 2.046 GB, free: 30.98 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002986/3.953, allocations: 1.309 MB / 2.047 GB, free: 29.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/3.953, allocations: 4 kB / 2.047 GB, free: 29.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/3.953, allocations: 4 kB / 2.047 GB, free: 29.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/3.954, allocations: 263.6 kB / 2.048 GB, free: 29.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/3.954, allocations: 11.98 kB / 2.048 GB, free: 29.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/3.956, allocations: 231.1 kB / 2.048 GB, free: 29.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/3.956, allocations: 51.97 kB / 2.048 GB, free: 29.11 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.0009898/3.957, allocations: 416.8 kB / 2.048 GB, free: 28.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/3.957, allocations: 146.2 kB / 2.048 GB, free: 28.55 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/3.961, allocations: 1.53 MB / 2.05 GB, free: 27 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/3.961, allocations: 11.98 kB / 2.05 GB, free: 26.99 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/3.961, allocations: 0 / 2.05 GB, free: 26.99 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002783/3.964, allocations: 1.331 MB / 2.051 GB, free: 25.63 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007157/3.971, allocations: 3.547 MB / 2.055 GB, free: 21.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/3.971, allocations: 4 kB / 2.055 GB, free: 21.94 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/3.972, allocations: 236.2 kB / 2.055 GB, free: 21.71 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/3.972, allocations: 8 kB / 2.055 GB, free: 21.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/3.972, allocations: 31.97 kB / 2.055 GB, free: 21.67 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/3.972, allocations: 8 kB / 2.055 GB, free: 21.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/3.972, allocations: 11.94 kB / 2.055 GB, free: 21.65 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005289/3.978, allocations: 2.427 MB / 2.057 GB, free: 19.14 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/3.979, allocations: 475.9 kB / 2.058 GB, free: 18.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005229/3.979, allocations: 20.06 kB / 2.058 GB, free: 18.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/3.981, allocations: 191.6 kB / 2.058 GB, free: 18.43 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/3.981, allocations: 64.36 kB / 2.058 GB, free: 18.37 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/3.982, allocations: 59.83 kB / 2.058 GB, free: 18.32 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001812/3.983, allocations: 0.9176 MB / 2.059 GB, free: 17.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.6e-07/3.983, allocations: 0 / 2.059 GB, free: 17.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003389/3.987, allocations: 0.845 MB / 2.06 GB, free: 16.56 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.001834/3.989, allocations: 0.7871 MB / 2.061 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004969/3.994, allocations: 2.058 MB / 2.063 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/3.994, allocations: 0 / 2.063 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/3.995, allocations: 0.7186 MB / 2.063 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/4.001, allocations: 0.7815 MB / 2.064 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/4.007, allocations: 3.246 MB / 2.067 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009824/4.008, allocations: 1.242 MB / 2.068 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002254/4.01, allocations: 385.3 kB / 2.069 GB, free: 7.336 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/4.011, allocations: 131.4 kB / 2.069 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of SimCode: time 1.132e-06/4.011, allocations: 0 / 2.069 GB, free: 7.207 MB / 0.9323 GB Notification: Performance of Templates: time 0.6643/4.675, allocations: 34.29 MB / 2.102 GB, free: 142.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)