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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001215/0.001215, allocations: 194.4 kB / 377.1 MB, free: 1.523 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.019/2.019, allocations: 205.4 MB / 0.6367 GB, free: 8.594 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.001033/0.001033, allocations: 92.05 kB / 0.751 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004542, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3174, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.757/2.075, allocations: 418.2 MB / 1.397 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/2.075, allocations: 94.25 kB / 1.397 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.958/4.033, allocations: 0.6253 GB / 2.022 GB, free: 56.19 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.679e-06/4.033, allocations: 3.938 kB / 2.022 GB, free: 56.18 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000323/4.033, allocations: 54.83 kB / 2.022 GB, free: 56.14 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.007294/4.041, allocations: 2.092 MB / 2.024 GB, free: 54.01 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/4.041, allocations: 12.03 kB / 2.024 GB, free: 54 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003978/4.045, allocations: 0.634 MB / 2.025 GB, free: 53.36 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004873/4.05, allocations: 1.679 MB / 2.027 GB, free: 51.66 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/4.05, allocations: 141.4 kB / 2.027 GB, free: 51.52 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004733/4.05, allocations: 107.8 kB / 2.027 GB, free: 51.41 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/4.054, allocations: 1.338 MB / 2.028 GB, free: 50.04 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/4.054, allocations: 0 / 2.028 GB, free: 50.04 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/4.054, allocations: 40 kB / 2.028 GB, free: 50 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/4.054, allocations: 28 kB / 2.028 GB, free: 49.97 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/4.058, allocations: 1.398 MB / 2.03 GB, free: 48.57 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.008413/4.066, allocations: 5.427 MB / 2.035 GB, free: 42.86 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/4.069, allocations: 0.9715 MB / 2.036 GB, free: 41.88 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007754/4.069, allocations: 1.243 MB / 2.037 GB, free: 40.36 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/4.071, allocations: 0.7135 MB / 2.038 GB, free: 39.64 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 4.849e-06/4.071, allocations: 0 / 2.038 GB, free: 39.64 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.005072/4.076, allocations: 1.852 MB / 2.04 GB, free: 37.78 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/4.076, allocations: 71.86 kB / 2.04 GB, free: 37.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/4.079, allocations: 1.188 MB / 2.041 GB, free: 36.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/4.079, allocations: 41.7 kB / 2.041 GB, free: 36.46 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/4.08, allocations: 0.6901 MB / 2.041 GB, free: 35.76 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/4.08, allocations: 226.9 kB / 2.042 GB, free: 35.54 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/4.08, allocations: 16 kB / 2.042 GB, free: 35.53 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.594e-05/4.08, allocations: 337.9 kB / 2.042 GB, free: 35.19 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/4.081, allocations: 0.5602 MB / 2.043 GB, free: 34.63 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/4.083, allocations: 0.8269 MB / 2.043 GB, free: 33.69 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/4.085, allocations: 0.6124 MB / 2.044 GB, free: 33.08 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/4.085, allocations: 4 kB / 2.044 GB, free: 33.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004042/4.089, allocations: 1.469 MB / 2.045 GB, free: 31.59 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003246/4.089, allocations: 1.199 MB / 2.047 GB, free: 30.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/4.089, allocations: 11.98 kB / 2.047 GB, free: 30.27 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/4.089, allocations: 4 kB / 2.047 GB, free: 30.26 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/4.091, allocations: 275.7 kB / 2.047 GB, free: 29.99 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/4.091, allocations: 11.94 kB / 2.047 GB, free: 29.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/4.093, allocations: 238.9 kB / 2.047 GB, free: 29.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/4.093, allocations: 47.97 kB / 2.047 GB, free: 29.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/4.093, allocations: 4 kB / 2.047 GB, free: 29.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003467/4.097, allocations: 1.325 MB / 2.048 GB, free: 28.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/4.097, allocations: 7.938 kB / 2.048 GB, free: 28.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/4.097, allocations: 4 kB / 2.048 GB, free: 28.35 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/4.098, allocations: 279.3 kB / 2.049 GB, free: 28.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/4.098, allocations: 11.98 kB / 2.049 GB, free: 28.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/4.1, allocations: 223.2 kB / 2.049 GB, free: 27.85 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/4.1, allocations: 51.97 kB / 2.049 GB, free: 27.8 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.001248/4.102, allocations: 416.8 kB / 2.049 GB, free: 27.38 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007994/4.102, allocations: 150.1 kB / 2.05 GB, free: 27.23 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004384/4.107, allocations: 1.535 MB / 2.051 GB, free: 25.68 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/4.107, allocations: 19.92 kB / 2.051 GB, free: 25.66 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/4.107, allocations: 0 / 2.051 GB, free: 25.66 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003012/4.11, allocations: 1.351 MB / 2.052 GB, free: 24.28 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008233/4.118, allocations: 3.416 MB / 2.056 GB, free: 20.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/4.118, allocations: 8 kB / 2.056 GB, free: 20.71 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/4.12, allocations: 240.2 kB / 2.056 GB, free: 20.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/4.12, allocations: 8 kB / 2.056 GB, free: 20.47 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.166e-05/4.12, allocations: 27.97 kB / 2.056 GB, free: 20.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/4.12, allocations: 11.94 kB / 2.056 GB, free: 20.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/4.12, allocations: 11.95 kB / 2.056 GB, free: 20.42 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/4.125, allocations: 2.729 MB / 2.059 GB, free: 17.45 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/4.127, allocations: 495.7 kB / 2.059 GB, free: 16.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006041/4.128, allocations: 16 kB / 2.059 GB, free: 16.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/4.13, allocations: 191.7 kB / 2.059 GB, free: 16.72 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/4.13, allocations: 72.38 kB / 2.059 GB, free: 16.65 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/4.13, allocations: 55.89 kB / 2.059 GB, free: 16.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002158/4.132, allocations: 0.9566 MB / 2.06 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/4.132, allocations: 0 / 2.06 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004287/4.136, allocations: 0.8577 MB / 2.061 GB, free: 14.79 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.002394/4.139, allocations: 0.8104 MB / 2.062 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005528/4.144, allocations: 2.074 MB / 2.064 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/4.144, allocations: 0 / 2.064 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/4.146, allocations: 0.7225 MB / 2.065 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/4.151, allocations: 0.7449 MB / 2.065 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/4.158, allocations: 3.248 MB / 2.069 GB, free: 7.195 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/4.159, allocations: 1.281 MB / 2.07 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002576/4.162, allocations: 378.8 kB / 2.07 GB, free: 5.523 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/4.162, allocations: 127.4 kB / 2.07 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of SimCode: time 1.413e-06/4.162, allocations: 0 / 2.07 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of Templates: time 0.6618/4.824, allocations: 33.45 MB / 2.103 GB, free: 142.8 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)