Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009341/0.000934, allocations: 182.4 kB / 327.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 0.5785 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008518/0.0008519, allocations: 86.36 kB / 0.6831 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 12.62 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.227, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9629/1.19, allocations: 409.7 MB / 1.301 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.19, allocations: 92.55 kB / 1.301 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.057/3.247, allocations: 0.6043 GB / 1.906 GB, free: 179 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.194e-06/3.247, allocations: 0 / 1.906 GB, free: 179 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002667/3.248, allocations: 46.14 kB / 1.906 GB, free: 178.9 MB / 0.8855 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.006149/3.254, allocations: 2.078 MB / 1.908 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/3.254, allocations: 10.72 kB / 1.908 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/3.257, allocations: 0.6376 MB / 1.908 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004324/3.262, allocations: 1.649 MB / 1.91 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/3.262, allocations: 150.3 kB / 1.91 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/3.262, allocations: 102.1 kB / 1.91 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/3.265, allocations: 1.346 MB / 1.912 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/3.265, allocations: 3.984 kB / 1.912 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.93e-05/3.265, allocations: 38.5 kB / 1.912 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/3.265, allocations: 28.98 kB / 1.912 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003164/3.269, allocations: 1.395 MB / 1.913 GB, free: 174.5 MB / 0.8855 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.008197/3.277, allocations: 5.392 MB / 1.918 GB, free: 170 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/3.279, allocations: 0.9529 MB / 1.919 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/3.281, allocations: 0.6624 MB / 1.92 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008774/3.282, allocations: 1.239 MB / 1.921 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001718/3.283, allocations: 0.7563 MB / 1.922 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=67): time 4.588e-06/3.283, allocations: 0 / 1.922 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67): time 0.004892/3.288, allocations: 1.855 MB / 1.924 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/3.288, allocations: 111.4 kB / 1.924 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/3.29, allocations: 1.308 MB / 1.925 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/3.29, allocations: 47.58 kB / 1.925 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/3.291, allocations: 0.6765 MB / 1.926 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/3.291, allocations: 226 kB / 1.926 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/3.291, allocations: 15.94 kB / 1.926 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/3.291, allocations: 345.1 kB / 1.926 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/3.292, allocations: 0.5607 MB / 1.927 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/3.294, allocations: 0.8218 MB / 1.928 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/3.296, allocations: 1.202 MB / 1.929 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/3.296, allocations: 0 / 1.929 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003287/3.3, allocations: 1.467 MB / 1.93 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/3.3, allocations: 210.7 kB / 1.93 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/3.3, allocations: 0 / 1.93 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/3.3, allocations: 8 kB / 1.93 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/3.301, allocations: 270.5 kB / 1.931 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/3.301, allocations: 11.94 kB / 1.931 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/3.303, allocations: 233.4 kB / 1.931 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/3.303, allocations: 51.97 kB / 1.931 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/3.303, allocations: 4 kB / 1.931 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002785/3.305, allocations: 1.307 MB / 1.932 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/3.305, allocations: 7.984 kB / 1.932 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/3.305, allocations: 4 kB / 1.932 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/3.307, allocations: 264.7 kB / 1.933 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/3.307, allocations: 4 kB / 1.933 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/3.308, allocations: 228.3 kB / 1.933 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/3.308, allocations: 47.97 kB / 1.933 GB, free: 155.1 MB / 0.8855 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.0007615/3.309, allocations: 421.3 kB / 1.933 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/3.309, allocations: 150.1 kB / 1.933 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/3.312, allocations: 1.525 MB / 1.935 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/3.312, allocations: 8 kB / 1.935 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/3.312, allocations: 11.81 kB / 1.935 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002667/3.315, allocations: 1.335 MB / 1.936 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005528/3.321, allocations: 3.535 MB / 1.94 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/3.321, allocations: 8.094 kB / 1.94 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000994/3.322, allocations: 235.7 kB / 1.94 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/3.322, allocations: 15.94 kB / 1.94 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/3.322, allocations: 31.98 kB / 1.94 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/3.322, allocations: 4 kB / 1.94 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/3.322, allocations: 19.86 kB / 1.94 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004464/3.326, allocations: 2.423 MB / 1.942 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006314/3.327, allocations: 475.8 kB / 1.943 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/3.327, allocations: 23.98 kB / 1.943 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/3.328, allocations: 175.7 kB / 1.943 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/3.328, allocations: 76.34 kB / 1.943 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/3.329, allocations: 43.97 kB / 1.943 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001072/3.33, allocations: 0.9293 MB / 1.944 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/3.33, allocations: 0 / 1.944 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002089/3.332, allocations: 0.8419 MB / 1.945 GB, free: 142.5 MB / 0.8855 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.001211/3.333, allocations: 0.7787 MB / 1.946 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004375/3.337, allocations: 2.054 MB / 1.948 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/3.337, allocations: 0 / 1.948 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/3.339, allocations: 0.7225 MB / 1.948 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/3.343, allocations: 0.7806 MB / 1.949 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/3.347, allocations: 3.234 MB / 1.952 GB, free: 135 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/3.347, allocations: 1.254 MB / 1.953 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001519/3.349, allocations: 375.3 kB / 1.954 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/3.349, allocations: 127.3 kB / 1.954 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/3.349, allocations: 3.938 kB / 1.954 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.04596/3.395, allocations: 34.19 MB / 1.987 GB, free: 100.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)