Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7361/0.7361, allocations: 133.7 MB / 148.6 MB, free: 13.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001062/0.001062, allocations: 174.9 kB / 180.9 MB, free: 15.06 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.309/1.309, allocations: 170.7 MB / 383.7 MB, free: 16.14 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001662/0.001662, allocations: 107.2 kB / 454.6 MB, free: 9.719 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1691/0.1697, allocations: 73.4 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.379, allocations: 372.3 MB / 1.045 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.38, allocations: 95.86 kB / 1.045 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.003/3.383, allocations: 0.5702 GB / 1.615 GB, free: 37.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/3.383, allocations: 0 / 1.615 GB, free: 37.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001381/3.383, allocations: 51.86 kB / 1.615 GB, free: 37.89 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.004508/3.388, allocations: 2.132 MB / 1.617 GB, free: 35.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/3.388, allocations: 12.56 kB / 1.617 GB, free: 35.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/3.391, allocations: 0.6457 MB / 1.618 GB, free: 35.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02498/3.416, allocations: 12.71 MB / 1.63 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/3.417, allocations: 157.6 kB / 1.63 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/3.417, allocations: 108 kB / 1.63 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/3.421, allocations: 1.608 MB / 1.632 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/3.421, allocations: 14.28 kB / 1.632 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/3.421, allocations: 44 kB / 1.632 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.357e-05/3.421, allocations: 35.98 kB / 1.632 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/3.425, allocations: 1.53 MB / 1.634 GB, free: 18.5 MB / 0.6198 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.007741/3.433, allocations: 6.82 MB / 1.64 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005893/3.439, allocations: 1.473 MB / 1.642 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/3.439, allocations: 0.5941 MB / 1.642 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001984/3.441, allocations: 0.7756 MB / 1.643 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 3.617e-06/3.441, allocations: 0 / 1.643 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69): time 0.005546/3.447, allocations: 1.895 MB / 1.645 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/3.447, allocations: 214.2 kB / 1.645 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/3.448, allocations: 1.116 MB / 1.646 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/3.448, allocations: 41.69 kB / 1.646 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006324/3.449, allocations: 0.7387 MB / 1.647 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/3.449, allocations: 244.5 kB / 1.647 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/3.449, allocations: 16 kB / 1.647 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/3.449, allocations: 345.9 kB / 1.648 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/3.451, allocations: 0.5719 MB / 1.648 GB, free: 3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/3.453, allocations: 1.003 MB / 1.649 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/3.454, allocations: 0.6482 MB / 1.65 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/3.454, allocations: 4 kB / 1.65 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.5518/4.006, allocations: 1.605 MB / 1.651 GB, free: 65.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009494/4.007, allocations: 3.166 MB / 1.654 GB, free: 62.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/4.007, allocations: 7.562 kB / 1.654 GB, free: 62.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.281e-05/4.007, allocations: 13.59 kB / 1.654 GB, free: 62.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/4.011, allocations: 499.5 kB / 1.655 GB, free: 62.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/4.012, allocations: 2.451 MB / 1.657 GB, free: 59.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/4.015, allocations: 250.7 kB / 1.657 GB, free: 59.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/4.015, allocations: 58.19 kB / 1.658 GB, free: 59.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/4.015, allocations: 6.781 kB / 1.658 GB, free: 59.78 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004355/4.02, allocations: 1.428 MB / 1.659 GB, free: 59.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/4.02, allocations: 9.125 kB / 1.659 GB, free: 59.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/4.02, allocations: 12.94 kB / 1.659 GB, free: 59.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/4.022, allocations: 362.5 kB / 1.659 GB, free: 59.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007163/4.023, allocations: 1.21 MB / 1.66 GB, free: 58.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/4.025, allocations: 237.3 kB / 1.661 GB, free: 58.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/4.025, allocations: 51.44 kB / 1.661 GB, free: 58.58 MB / 0.6198 GB Warning: Assuming fixed start value for the following 2 variables: chi.vol2.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.3118766234157572 * chi.vol2.rho_start unit = "kg" fixed = true protected = true final = true ) "Mass of fluid" type: Real chi.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.5797590564752818 * chi.vol1.rho_start unit = "kg" fixed = true protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (113): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001872/4.027, allocations: 455.6 kB / 1.661 GB, free: 58.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/4.028, allocations: 152.2 kB / 1.661 GB, free: 58.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005262/4.033, allocations: 1.506 MB / 1.663 GB, free: 58.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/4.033, allocations: 11.59 kB / 1.663 GB, free: 58.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/4.033, allocations: 4.5 kB / 1.663 GB, free: 58.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004189/4.037, allocations: 1.348 MB / 1.664 GB, free: 58.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007819/4.045, allocations: 2.73 MB / 1.667 GB, free: 57.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/4.045, allocations: 1.375 kB / 1.667 GB, free: 57.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003007/4.048, allocations: 410.3 kB / 1.667 GB, free: 57.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/4.049, allocations: 58.03 kB / 1.667 GB, free: 57.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/4.049, allocations: 24.94 kB / 1.667 GB, free: 57.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/4.053, allocations: 3.869 MB / 1.671 GB, free: 54.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/4.053, allocations: 3.656 kB / 1.671 GB, free: 54.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008255/4.061, allocations: 2.37 MB / 1.673 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/4.063, allocations: 455.7 kB / 1.674 GB, free: 53.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/4.063, allocations: 23.14 kB / 1.674 GB, free: 53.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/4.065, allocations: 177.2 kB / 1.674 GB, free: 53.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/4.065, allocations: 64.53 kB / 1.674 GB, free: 53.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/4.065, allocations: 36.88 kB / 1.674 GB, free: 53.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001584/4.067, allocations: 0.8675 MB / 1.675 GB, free: 53.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/4.067, allocations: 0 / 1.675 GB, free: 53.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003715/4.071, allocations: 0.8673 MB / 1.676 GB, free: 53.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U,chi.vol2.dynBal.m) * 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: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001935/4.073, allocations: 0.7351 MB / 1.676 GB, free: 53.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007885/4.081, allocations: 2.357 MB / 1.679 GB, free: 53.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/4.081, allocations: 3.719 kB / 1.679 GB, free: 53.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00405/4.085, allocations: 0.908 MB / 1.68 GB, free: 53.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/4.089, allocations: 0.6834 MB / 1.68 GB, free: 53.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/4.098, allocations: 3.749 MB / 1.684 GB, free: 51.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/4.099, allocations: 1.283 MB / 1.685 GB, free: 50.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002522/4.101, allocations: 375.9 kB / 1.686 GB, free: 50.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/4.102, allocations: 117.5 kB / 1.686 GB, free: 50.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.434e-06/4.102, allocations: 0 / 1.686 GB, free: 50.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.06188/4.164, allocations: 32.51 MB / 1.717 GB, free: 49.23 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)