Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7529/0.7529, allocations: 133.7 MB / 148.6 MB, free: 13.62 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.001052/0.001052, allocations: 180.1 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.407/1.407, allocations: 170.7 MB / 383.7 MB, free: 16.18 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.001705/0.001705, allocations: 106.8 kB / 454.6 MB, free: 9.73 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.1868/0.1873, allocations: 73.41 MB / 0.6812 GB, free: 5.559 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.487, allocations: 372.3 MB / 1.045 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/1.488, allocations: 89.95 kB / 1.045 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.11/3.598, allocations: 0.5707 GB / 1.616 GB, free: 37.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.905e-06/3.598, allocations: 0 / 1.616 GB, free: 37.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001508/3.598, allocations: 39.94 kB / 1.616 GB, free: 37.36 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.00483/3.603, allocations: 2.163 MB / 1.618 GB, free: 35.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/3.603, allocations: 12.03 kB / 1.618 GB, free: 35.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/3.607, allocations: 0.6494 MB / 1.618 GB, free: 34.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02523/3.632, allocations: 12.74 MB / 1.631 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/3.632, allocations: 159.9 kB / 1.631 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/3.632, allocations: 108 kB / 1.631 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/3.636, allocations: 1.624 MB / 1.633 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/3.636, allocations: 7.938 kB / 1.633 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/3.636, allocations: 44 kB / 1.633 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/3.636, allocations: 31.98 kB / 1.633 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/3.64, allocations: 1.553 MB / 1.634 GB, free: 17.88 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.00766/3.648, allocations: 6.864 MB / 1.641 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/3.651, allocations: 1.102 MB / 1.642 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/3.652, allocations: 0.5863 MB / 1.643 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001965/3.654, allocations: 0.7834 MB / 1.643 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 3.296e-06/3.654, allocations: 0 / 1.643 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69): time 0.005619/3.659, allocations: 1.93 MB / 1.645 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.54e-05/3.659, allocations: 218.2 kB / 1.645 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/3.661, allocations: 1.165 MB / 1.647 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002231/3.661, allocations: 41.7 kB / 1.647 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006041/3.662, allocations: 0.7625 MB / 1.647 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/3.662, allocations: 236.6 kB / 1.648 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/3.662, allocations: 20 kB / 1.648 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/3.662, allocations: 337.9 kB / 1.648 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/3.664, allocations: 0.5836 MB / 1.648 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/3.666, allocations: 1.011 MB / 1.649 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/3.667, allocations: 0.6638 MB / 1.65 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/3.667, allocations: 0 / 1.65 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.5067/4.174, allocations: 1.634 MB / 1.652 GB, free: 65.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009009/4.175, allocations: 3.17 MB / 1.655 GB, free: 61.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/4.175, allocations: 11.08 kB / 1.655 GB, free: 61.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/4.175, allocations: 11.75 kB / 1.655 GB, free: 61.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/4.178, allocations: 498.4 kB / 1.655 GB, free: 61.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/4.18, allocations: 2.45 MB / 1.658 GB, free: 59.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/4.183, allocations: 253.7 kB / 1.658 GB, free: 59.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/4.183, allocations: 57.22 kB / 1.658 GB, free: 59.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/4.183, allocations: 4.594 kB / 1.658 GB, free: 59.53 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004711/4.188, allocations: 1.456 MB / 1.659 GB, free: 59.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/4.188, allocations: 7.469 kB / 1.659 GB, free: 59.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.635e-05/4.188, allocations: 17.36 kB / 1.659 GB, free: 59.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/4.19, allocations: 362.3 kB / 1.66 GB, free: 59.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007557/4.19, allocations: 1.211 MB / 1.661 GB, free: 58.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/4.193, allocations: 236.8 kB / 1.661 GB, free: 58.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/4.193, allocations: 52.62 kB / 1.661 GB, free: 58.32 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.001347/4.194, allocations: 463 kB / 1.662 GB, free: 58.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/4.195, allocations: 153 kB / 1.662 GB, free: 58.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/4.2, allocations: 1.544 MB / 1.663 GB, free: 57.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/4.2, allocations: 12.02 kB / 1.663 GB, free: 57.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/4.2, allocations: 1.234 kB / 1.663 GB, free: 57.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00382/4.204, allocations: 1.374 MB / 1.665 GB, free: 57.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007503/4.212, allocations: 2.774 MB / 1.667 GB, free: 57.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/4.212, allocations: 0.875 kB / 1.667 GB, free: 57.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003004/4.215, allocations: 419.8 kB / 1.668 GB, free: 57.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/4.215, allocations: 54.14 kB / 1.668 GB, free: 57.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.453e-05/4.215, allocations: 26.23 kB / 1.668 GB, free: 57.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003757/4.219, allocations: 3.86 MB / 1.672 GB, free: 53.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/4.219, allocations: 5.172 kB / 1.672 GB, free: 53.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006828/4.226, allocations: 2.415 MB / 1.674 GB, free: 53.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/4.227, allocations: 467.8 kB / 1.674 GB, free: 53.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006323/4.228, allocations: 16.97 kB / 1.674 GB, free: 53.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/4.23, allocations: 178.5 kB / 1.675 GB, free: 53.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/4.23, allocations: 59.98 kB / 1.675 GB, free: 53.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/4.23, allocations: 43.73 kB / 1.675 GB, free: 53.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002286/4.232, allocations: 0.8967 MB / 1.676 GB, free: 52.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/4.233, allocations: 0 / 1.676 GB, free: 52.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004118/4.237, allocations: 0.8816 MB / 1.676 GB, free: 52.95 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.001739/4.238, allocations: 0.7459 MB / 1.677 GB, free: 52.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007599/4.246, allocations: 2.382 MB / 1.68 GB, free: 52.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/4.246, allocations: 0 / 1.68 GB, free: 52.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003822/4.25, allocations: 0.9116 MB / 1.68 GB, free: 52.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/4.254, allocations: 0.6874 MB / 1.681 GB, free: 52.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/4.264, allocations: 3.812 MB / 1.685 GB, free: 51.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/4.266, allocations: 1.3 MB / 1.686 GB, free: 50.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002815/4.269, allocations: 378.3 kB / 1.686 GB, free: 50.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/4.269, allocations: 118.6 kB / 1.687 GB, free: 50.53 MB / 0.6198 GB Notification: Performance of SimCode: time 1.533e-06/4.269, allocations: 0 / 1.687 GB, free: 50.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.06361/4.333, allocations: 32.8 MB / 1.719 GB, free: 48.81 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)