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.7397/0.7397, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.001212/0.001212, allocations: 177.9 kB / 176.9 MB, free: 2.184 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.447/1.447, allocations: 170.5 MB / 379.3 MB, free: 11.91 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.001582/0.001582, allocations: 112.2 kB / 450 MB, free: 5.84 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.4288/0.4288, allocations: 73.39 MB / 0.6736 GB, free: 47.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7103/1.139, allocations: 366 MB / 1.031 GB, free: 34 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/1.139, allocations: 93.75 kB / 1.031 GB, free: 33.95 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.654/9.793, allocations: 2.346 GB / 3.377 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.344e-06/9.793, allocations: 0 / 3.377 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009258/9.794, allocations: 169.8 kB / 3.377 GB, free: 26.66 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.01872/9.813, allocations: 5.872 MB / 3.383 GB, free: 23.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/9.813, allocations: 11 kB / 3.383 GB, free: 23.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/9.818, allocations: 0.7657 MB / 3.383 GB, free: 23.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1119/9.93, allocations: 57.26 MB / 3.439 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000523/9.93, allocations: 0.6073 MB / 3.44 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/9.931, allocations: 423.2 kB / 3.44 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009866/9.941, allocations: 4.615 MB / 3.445 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.891e-05/9.941, allocations: 15.88 kB / 3.445 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/9.942, allocations: 176 kB / 3.445 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.691e-05/9.942, allocations: 122.1 kB / 3.445 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006889/9.949, allocations: 3.128 MB / 3.448 GB, free: 7.363 MB / 0.7448 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.03046/9.979, allocations: 24.42 MB / 3.472 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007075/9.986, allocations: 2.949 MB / 3.475 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/9.989, allocations: 1.152 MB / 3.476 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0032/9.992, allocations: 3.611 MB / 3.479 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.131e-05/9.992, allocations: 60.56 kB / 3.48 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=224): time 4.829e-06/9.992, allocations: 0 / 3.48 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=240): time 0.7704/10.76, allocations: 8.124 MB / 3.487 GB, free: 57.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/10.76, allocations: 131.7 kB / 3.488 GB, free: 56.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007939/10.77, allocations: 3.433 MB / 3.491 GB, free: 56.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0009523/10.77, allocations: 84.89 kB / 3.491 GB, free: 56.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002362/10.77, allocations: 2.695 MB / 3.494 GB, free: 55.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/10.77, allocations: 0.834 MB / 3.494 GB, free: 55.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/10.78, allocations: 58.91 kB / 3.495 GB, free: 55.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001654/10.78, allocations: 410.5 kB / 3.495 GB, free: 55.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/10.78, allocations: 0.8736 MB / 3.496 GB, free: 55.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/10.78, allocations: 2.071 MB / 3.498 GB, free: 53.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/10.78, allocations: 1.185 MB / 3.499 GB, free: 53.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/10.78, allocations: 5.906 kB / 3.499 GB, free: 53.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=358) (initialization): time 0.01475/10.8, allocations: 4.337 MB / 3.503 GB, free: 53.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00215/10.8, allocations: 11.2 MB / 3.514 GB, free: 41.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-05/10.8, allocations: 23.31 kB / 3.514 GB, free: 41.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/10.8, allocations: 0.5941 MB / 3.515 GB, free: 41.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/10.8, allocations: 0.6309 MB / 3.515 GB, free: 41.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/10.81, allocations: 5.041 MB / 3.52 GB, free: 37.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007563/10.81, allocations: 0.571 MB / 3.521 GB, free: 37.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009908/10.81, allocations: 139.3 kB / 3.521 GB, free: 37.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/10.81, allocations: 6.688 kB / 3.521 GB, free: 37.38 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006611/10.82, allocations: 2.894 MB / 3.524 GB, free: 37.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.366e-05/10.82, allocations: 24.78 kB / 3.524 GB, free: 37.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009414/10.82, allocations: 404.8 kB / 3.524 GB, free: 37.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/10.82, allocations: 0.6317 MB / 3.525 GB, free: 37.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009114/10.83, allocations: 11.63 MB / 3.536 GB, free: 27.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006333/10.84, allocations: 496.5 kB / 3.537 GB, free: 27.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006572/10.84, allocations: 135.8 kB / 3.537 GB, free: 27.52 MB / 0.7761 GB Warning: Assuming fixed start value for the following 2 variables: hea8.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.01506650354665494 * hea8.vol.rho_start unit = "kg" protected = true final = true ) "Mass of fluid" type: Real hea4.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.01506650354665494 * hea4.vol.rho_start unit = "kg" protected = true final = true ) "Mass 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (312): * Single equations (assignments): 304 * 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 8,1 4,1 8,1 4,1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001692/10.84, allocations: 309.3 kB / 3.537 GB, free: 27.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00216/10.84, allocations: 0.5003 MB / 3.538 GB, free: 27.15 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/10.86, allocations: 4.996 MB / 3.542 GB, free: 26.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001242/10.86, allocations: 44.77 kB / 3.542 GB, free: 26.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/10.86, allocations: 2.984 kB / 3.543 GB, free: 26.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01151/10.87, allocations: 3.762 MB / 3.546 GB, free: 26.61 MB / 0.7761 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 postOpt removeSimpleEquations (simulation): time 0.03409/10.91, allocations: 10.02 MB / 3.556 GB, free: 25.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/10.91, allocations: 4.781 kB / 3.556 GB, free: 25.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/10.91, allocations: 414.5 kB / 3.556 GB, free: 25.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/10.91, allocations: 0.5131 MB / 3.557 GB, free: 24.95 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005051/10.91, allocations: 85.27 kB / 3.557 GB, free: 24.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/10.93, allocations: 12.17 MB / 3.569 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/10.93, allocations: 8.719 kB / 3.569 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/10.94, allocations: 6.447 MB / 3.575 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004667/10.95, allocations: 0.971 MB / 3.576 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001929/10.95, allocations: 60.72 kB / 3.576 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006138/10.95, allocations: 0.5673 MB / 3.577 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005811/10.95, allocations: 202.6 kB / 3.577 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005352/10.95, allocations: 136.9 kB / 3.577 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00644/10.96, allocations: 2.602 MB / 3.58 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.62e-07/10.96, allocations: 0.9375 kB / 3.58 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01997/10.98, allocations: 3.161 MB / 3.583 GB, free: 13.55 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.ports[1].h_outflow,hea2.vol.ports[1].h_outflow,hea3.vol.ports[1].h_outflow,hea4.vol.dynBal.U,hea4.vol.dynBal.m,mix1.ports[2].h_outflow,hea5.vol.ports[1].h_outflow,hea6.vol.ports[1].h_outflow,hea7.vol.ports[1].h_outflow,hea8.vol.dynBal.U,hea8.vol.dynBal.m,mix2.ports[2].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 7,1 5,1 3,1 1,1 7,1 5,1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008307/10.99, allocations: 3.362 MB / 3.586 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01212/11, allocations: 5.184 MB / 3.591 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/11, allocations: 3.469 kB / 3.591 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003842/11.01, allocations: 2.212 MB / 3.593 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01717/11.02, allocations: 2.794 MB / 3.596 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/11.04, allocations: 7.677 MB / 3.603 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/11.05, allocations: 3.007 MB / 3.606 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.009208/11.05, allocations: 1.551 MB / 3.608 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008988/11.06, allocations: 332.5 kB / 3.608 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of SimCode: time 1.493e-06/11.06, allocations: 0 / 3.608 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of Templates: time 0.2367/11.29, allocations: 145.9 MB / 3.751 GB, free: 6.672 MB / 0.8073 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)