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.644/1.644, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001514/0.001514, allocations: 176.1 kB / 371.6 MB, free: 3.395 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.694/1.694, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001126/0.001126, allocations: 91.42 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.087e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2881, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.856/2.144, allocations: 418.2 MB / 1.388 GB, free: 257 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/2.145, allocations: 89.39 kB / 1.388 GB, free: 257 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.876/4.021, allocations: 0.6235 GB / 2.012 GB, free: 93.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/4.021, allocations: 0 / 2.012 GB, free: 93.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001422/4.021, allocations: 42.66 kB / 2.012 GB, free: 93.48 MB / 0.948 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.003638/4.025, allocations: 1.771 MB / 2.014 GB, free: 91.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/4.025, allocations: 8.031 kB / 2.014 GB, free: 91.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/4.028, allocations: 0.631 MB / 2.014 GB, free: 91.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/4.032, allocations: 1.658 MB / 2.016 GB, free: 89.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/4.032, allocations: 153.4 kB / 2.016 GB, free: 89.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/4.032, allocations: 104 kB / 2.016 GB, free: 89.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/4.034, allocations: 1.112 MB / 2.017 GB, free: 87.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/4.034, allocations: 11.94 kB / 2.017 GB, free: 87.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/4.034, allocations: 39.98 kB / 2.017 GB, free: 87.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.822e-05/4.034, allocations: 28.86 kB / 2.017 GB, free: 87.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/4.035, allocations: 0.9722 MB / 2.018 GB, free: 86.86 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.00658/4.042, allocations: 5.425 MB / 2.023 GB, free: 81.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/4.043, allocations: 0.7031 MB / 2.024 GB, free: 80.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/4.044, allocations: 468.4 kB / 2.025 GB, free: 79.92 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/4.045, allocations: 1.243 MB / 2.026 GB, free: 78.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007337/4.045, allocations: 0.5455 MB / 2.026 GB, free: 77.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 3.447e-06/4.045, allocations: 0 / 2.026 GB, free: 77.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.001513/4.047, allocations: 0.8994 MB / 2.027 GB, free: 76.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/4.047, allocations: 119.4 kB / 2.027 GB, free: 76.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/4.048, allocations: 1.171 MB / 2.028 GB, free: 75.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/4.048, allocations: 45.7 kB / 2.028 GB, free: 75.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/4.049, allocations: 0.6781 MB / 2.029 GB, free: 74.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/4.049, allocations: 228.7 kB / 2.029 GB, free: 74.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/4.049, allocations: 16 kB / 2.029 GB, free: 74.63 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/4.049, allocations: 334 kB / 2.03 GB, free: 74.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/4.05, allocations: 357.4 kB / 2.03 GB, free: 73.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/4.05, allocations: 0.6158 MB / 2.031 GB, free: 73.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/4.051, allocations: 417.6 kB / 2.031 GB, free: 72.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/4.051, allocations: 4 kB / 2.031 GB, free: 72.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001426/4.052, allocations: 1.047 MB / 2.032 GB, free: 71.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002449/4.052, allocations: 1.206 MB / 2.033 GB, free: 70.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/4.052, allocations: 7.938 kB / 2.033 GB, free: 70.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/4.052, allocations: 4 kB / 2.033 GB, free: 70.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/4.054, allocations: 275.6 kB / 2.034 GB, free: 70.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/4.054, allocations: 11.98 kB / 2.034 GB, free: 70.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/4.055, allocations: 243 kB / 2.034 GB, free: 69.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/4.055, allocations: 47.97 kB / 2.034 GB, free: 69.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/4.055, allocations: 4 kB / 2.034 GB, free: 69.85 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001237/4.057, allocations: 0.8982 MB / 2.035 GB, free: 68.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/4.057, allocations: 8.359 kB / 2.035 GB, free: 68.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/4.057, allocations: 8 kB / 2.035 GB, free: 68.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/4.058, allocations: 271.7 kB / 2.035 GB, free: 68.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/4.058, allocations: 11.94 kB / 2.035 GB, free: 68.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/4.059, allocations: 231.1 kB / 2.035 GB, free: 68.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/4.06, allocations: 55.92 kB / 2.035 GB, free: 68.37 MB / 0.948 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 () * 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.0002515/4.06, allocations: 141.6 kB / 2.035 GB, free: 68.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/4.06, allocations: 154.1 kB / 2.036 GB, free: 68.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/4.062, allocations: 1.112 MB / 2.037 GB, free: 66.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/4.062, allocations: 15.98 kB / 2.037 GB, free: 66.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/4.062, allocations: 0 / 2.037 GB, free: 66.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/4.063, allocations: 0.9208 MB / 2.038 GB, free: 65.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/4.067, allocations: 3.148 MB / 2.041 GB, free: 62.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/4.067, allocations: 4 kB / 2.041 GB, free: 62.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/4.068, allocations: 244.2 kB / 2.041 GB, free: 62.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/4.068, allocations: 8 kB / 2.041 GB, free: 62.42 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/4.068, allocations: 27.98 kB / 2.041 GB, free: 62.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/4.069, allocations: 11.98 kB / 2.041 GB, free: 62.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/4.069, allocations: 15.89 kB / 2.041 GB, free: 62.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/4.071, allocations: 2.097 MB / 2.043 GB, free: 60.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/4.071, allocations: 483.8 kB / 2.043 GB, free: 59.51 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/4.072, allocations: 27.98 kB / 2.043 GB, free: 59.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/4.073, allocations: 175.7 kB / 2.044 GB, free: 59.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/4.073, allocations: 72.38 kB / 2.044 GB, free: 59.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-05/4.073, allocations: 51.95 kB / 2.044 GB, free: 59.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001198/4.074, allocations: 0.9478 MB / 2.045 GB, free: 58.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/4.074, allocations: 0 / 2.045 GB, free: 58.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002336/4.077, allocations: 0.8538 MB / 2.045 GB, free: 57.38 MB / 0.948 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) * 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.00142/4.078, allocations: 0.8151 MB / 2.046 GB, free: 56.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00205/4.08, allocations: 1.484 MB / 2.048 GB, free: 55.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/4.08, allocations: 448 / 2.048 GB, free: 55.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007247/4.081, allocations: 0.5223 MB / 2.048 GB, free: 54.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/4.085, allocations: 0.7619 MB / 2.049 GB, free: 53.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/4.088, allocations: 2.066 MB / 2.051 GB, free: 51.64 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/4.088, allocations: 1.276 MB / 2.052 GB, free: 50.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00214/4.091, allocations: 0.4901 MB / 2.053 GB, free: 49.85 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/4.091, allocations: 99.39 kB / 2.053 GB, free: 49.75 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/4.091, allocations: 0 / 2.053 GB, free: 49.75 MB / 0.948 GB Notification: Performance of Templates: time 0.05144/4.142, allocations: 36.95 MB / 2.089 GB, free: 13.07 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)