Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7468/0.7468, 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.001106/0.001106, allocations: 176 kB / 180.9 MB, free: 15.07 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.358/1.358, allocations: 170.7 MB / 383.7 MB, free: 16.15 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.001566/0.001566, allocations: 112.5 kB / 454.6 MB, free: 9.727 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.1674/0.1679, allocations: 73.41 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.359, allocations: 366.1 MB / 1.039 GB, free: 120 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/1.359, allocations: 99.19 kB / 1.039 GB, free: 120 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.514/10.87, allocations: 2.353 GB / 3.392 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.036e-06/10.87, allocations: 0 / 3.392 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.00121/10.87, allocations: 165.7 kB / 3.392 GB, free: 30.12 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1007 * Number of variables: 1007 Notification: Performance of Generate backend data structure: time 0.02384/10.9, allocations: 7.061 MB / 3.399 GB, free: 26.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/10.9, allocations: 9.281 kB / 3.399 GB, free: 26.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/10.9, allocations: 0.763 MB / 3.4 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1149/11.02, allocations: 57.58 MB / 3.456 GB, free: 22.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007381/11.02, allocations: 0.5949 MB / 3.457 GB, free: 21.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/11.02, allocations: 433.5 kB / 3.457 GB, free: 21.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/11.04, allocations: 4.916 MB / 3.462 GB, free: 20.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/11.04, allocations: 17.42 kB / 3.462 GB, free: 20.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006154/11.04, allocations: 179.9 kB / 3.462 GB, free: 20.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/11.04, allocations: 115.2 kB / 3.462 GB, free: 20.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/11.05, allocations: 3.392 MB / 3.466 GB, free: 20.62 MB / 0.7448 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.03095/11.08, allocations: 24.41 MB / 3.49 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006839/11.09, allocations: 3.148 MB / 3.493 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002824/11.09, allocations: 3.613 MB / 3.496 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.561e-05/11.09, allocations: 62.41 kB / 3.496 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=224): time 4.819e-06/11.09, allocations: 96 / 3.496 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=240): time 0.04014/11.13, allocations: 10.79 MB / 3.507 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.204e-05/11.13, allocations: 130 kB / 3.507 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009257/11.14, allocations: 3.504 MB / 3.51 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/11.14, allocations: 85.7 kB / 3.51 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0033/11.14, allocations: 2.696 MB / 3.513 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/11.14, allocations: 0.8373 MB / 3.514 GB, free: 4.559 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004974/11.14, allocations: 56 kB / 3.514 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003176/11.15, allocations: 411.6 kB / 3.514 GB, free: 4.129 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/11.15, allocations: 1.069 MB / 3.515 GB, free: 3.223 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004094/11.15, allocations: 2.277 MB / 3.518 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/11.16, allocations: 1.371 MB / 3.519 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/11.16, allocations: 8 kB / 3.519 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=358) (initialization): time 0.01649/11.17, allocations: 4.65 MB / 3.523 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.7309/11.9, allocations: 11.19 MB / 3.534 GB, free: 58.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/11.9, allocations: 23.75 kB / 3.534 GB, free: 58.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/11.91, allocations: 0.7231 MB / 3.535 GB, free: 58.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/11.91, allocations: 0.6806 MB / 3.536 GB, free: 58.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/11.91, allocations: 5.216 MB / 3.541 GB, free: 54.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007687/11.92, allocations: 0.524 MB / 3.541 GB, free: 54.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008705/11.92, allocations: 144.5 kB / 3.541 GB, free: 54.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/11.92, allocations: 3.781 kB / 3.541 GB, free: 54.32 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006647/11.93, allocations: 2.906 MB / 3.544 GB, free: 54.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.265e-05/11.93, allocations: 25.23 kB / 3.544 GB, free: 54.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008073/11.93, allocations: 304.8 kB / 3.545 GB, free: 54.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/11.93, allocations: 0.6628 MB / 3.545 GB, free: 54.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009315/11.94, allocations: 10.7 MB / 3.556 GB, free: 45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007046/11.95, allocations: 453.8 kB / 3.556 GB, free: 45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008047/11.95, allocations: 132.8 kB / 3.556 GB, free: 45 MB / 0.7761 GB Warning: Assuming fixed start value for the following 2 variables: mix2.dynBal.U:VARIABLE(start = 1e-06 * mix2.dynBal.rho_start * Buildings.Fluid.Interfaces.ConservationEquation$mix2$dynBal.Medium.specificInternalEnergy(Buildings.Fluid.Interfaces.ConservationEquation$mix2$dynBal.Medium.setState_pTX(mix2.dynBal.p_start, mix2.dynBal.T_start, {})) + (-273.15 + mix2.dynBal.T_start) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real mix1.dynBal.U:VARIABLE(start = 1e-06 * mix1.dynBal.rho_start * Buildings.Fluid.Interfaces.ConservationEquation$mix1$dynBal.Medium.specificInternalEnergy(Buildings.Fluid.Interfaces.ConservationEquation$mix1$dynBal.Medium.setState_pTX(mix1.dynBal.p_start, mix1.dynBal.T_start, {})) + (-273.15 + mix1.dynBal.T_start) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (328): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 6 {1 3,1 3,1 3,1 3,1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004697/11.96, allocations: 1.056 MB / 3.557 GB, free: 44.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002029/11.96, allocations: 0.4998 MB / 3.558 GB, free: 44.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/11.97, allocations: 5.719 MB / 3.563 GB, free: 44.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000118/11.97, allocations: 46.88 kB / 3.563 GB, free: 44.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/11.97, allocations: 3.688 kB / 3.563 GB, free: 44.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0139/11.99, allocations: 4.484 MB / 3.568 GB, free: 44.16 MB / 0.7761 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 postOpt removeSimpleEquations (simulation): time 0.0307/12.02, allocations: 10.23 MB / 3.578 GB, free: 43.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/12.02, allocations: 6.375 kB / 3.578 GB, free: 43.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/12.02, allocations: 367.6 kB / 3.578 GB, free: 43.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/12.02, allocations: 1.126 MB / 3.579 GB, free: 42.96 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004097/12.02, allocations: 86.92 kB / 3.579 GB, free: 42.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/12.05, allocations: 18.69 MB / 3.598 GB, free: 29.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/12.05, allocations: 7.281 kB / 3.598 GB, free: 29.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/12.07, allocations: 7.573 MB / 3.605 GB, free: 28.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005054/12.08, allocations: 0.9742 MB / 3.606 GB, free: 28.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001958/12.08, allocations: 59.59 kB / 3.606 GB, free: 28.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006271/12.09, allocations: 0.5594 MB / 3.607 GB, free: 28.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006796/12.09, allocations: 209.5 kB / 3.607 GB, free: 28.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005193/12.09, allocations: 132.7 kB / 3.607 GB, free: 28.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.006654/12.09, allocations: 2.68 MB / 3.61 GB, free: 27.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.11e-07/12.09, allocations: 0.7188 kB / 3.61 GB, free: 27.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.02403/12.12, allocations: 3.156 MB / 3.613 GB, free: 27.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,hea4.vol.dynBal.m,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,hea8.vol.dynBal.m,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (236): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 16 {1 3,1 3,1 7,1 3,1 3,1 5,1 3,1 1,1 3,1 3,1 7,1 3,1 3,1 5,1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008287/12.13, allocations: 3.36 MB / 3.616 GB, free: 26.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01171/12.14, allocations: 5.39 MB / 3.621 GB, free: 25.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/12.14, allocations: 2.969 kB / 3.621 GB, free: 25.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004406/12.14, allocations: 2.5 MB / 3.624 GB, free: 25.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01598/12.16, allocations: 2.791 MB / 3.626 GB, free: 25.15 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/12.18, allocations: 11.72 MB / 3.638 GB, free: 19.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/12.19, allocations: 3.007 MB / 3.641 GB, free: 18.81 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.007939/12.19, allocations: 1.241 MB / 3.642 GB, free: 18.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/12.2, allocations: 422.2 kB / 3.642 GB, free: 18.62 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/12.2, allocations: 0 / 3.642 GB, free: 18.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.2162/12.41, allocations: 133.2 MB / 3.772 GB, free: 13.82 MB / 0.7917 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)