Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7413/0.7413, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001276/0.001276, allocations: 173.8 kB / 171.6 MB, free: 1.984 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.7/1.7, allocations: 170.5 MB / 373.9 MB, free: 15.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.001835/0.001835, allocations: 116.6 kB / 444.4 MB, free: 9.457 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.6079/0.6079, allocations: 73.39 MB / 0.666 GB, free: 62.55 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.066/5.674, allocations: 2.409 GB / 3.075 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/5.675, allocations: 87.95 kB / 3.075 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.986/7.661, allocations: 0.5088 GB / 3.584 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.001021/7.662, allocations: 111.9 kB / 3.584 GB, free: 5.66 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: 939 * Number of variables: 939 Notification: Performance of Generate backend data structure: time 0.0188/7.681, allocations: 4.407 MB / 3.588 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/7.681, allocations: 8.031 kB / 3.588 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4297/8.111, allocations: 1.496 MB / 3.59 GB, free: 133.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03312/8.144, allocations: 12.17 MB / 3.602 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/8.144, allocations: 127.8 kB / 3.602 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001726/8.146, allocations: 219.1 kB / 3.602 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01051/8.156, allocations: 4.409 MB / 3.606 GB, free: 133.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009686/8.166, allocations: 4.478 MB / 3.611 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/8.166, allocations: 12.62 kB / 3.611 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004529/8.167, allocations: 8.344 kB / 3.611 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/8.167, allocations: 118.2 kB / 3.611 GB, free: 132.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03287/8.2, allocations: 18.93 MB / 3.629 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/8.203, allocations: 1.971 MB / 3.631 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/8.206, allocations: 1.666 MB / 3.633 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/8.207, allocations: 1.039 MB / 3.634 GB, free: 123.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002903/8.21, allocations: 1.856 MB / 3.636 GB, free: 123.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=272): time 5.1e-06/8.21, allocations: 0 / 3.636 GB, free: 123.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=281): time 0.02757/8.238, allocations: 9.224 MB / 3.645 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/8.238, allocations: 290.5 kB / 3.645 GB, free: 121.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004873/8.243, allocations: 2.862 MB / 3.648 GB, free: 121.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006255/8.244, allocations: 32.08 kB / 3.648 GB, free: 121.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/8.245, allocations: 1.318 MB / 3.649 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/8.246, allocations: 0.9208 MB / 3.65 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/8.247, allocations: 3.969 kB / 3.65 GB, free: 120.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001864/8.247, allocations: 432.2 kB / 3.65 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/8.249, allocations: 1.504 MB / 3.652 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/8.252, allocations: 2.178 MB / 3.654 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006932/8.259, allocations: 2.597 MB / 3.656 GB, free: 119.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/8.259, allocations: 3.469 kB / 3.656 GB, free: 119.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.0135/8.272, allocations: 5.24 MB / 3.661 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001641/8.274, allocations: 7.201 MB / 3.669 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/8.274, allocations: 17.97 kB / 3.669 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/8.276, allocations: 0.5494 MB / 3.669 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006744/8.283, allocations: 1.071 MB / 3.67 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007066/8.29, allocations: 5.096 MB / 3.675 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/8.297, allocations: 261.7 kB / 3.675 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/8.298, allocations: 158.8 kB / 3.675 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/8.298, allocations: 4.625 kB / 3.675 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01365/8.311, allocations: 4.873 MB / 3.68 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.119e-05/8.311, allocations: 16.34 kB / 3.68 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/8.314, allocations: 0.5681 MB / 3.681 GB, free: 108.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/8.319, allocations: 0.8359 MB / 3.682 GB, free: 108.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006265/8.325, allocations: 4.404 MB / 3.686 GB, free: 105.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/8.331, allocations: 258 kB / 3.686 GB, free: 105.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006341/8.331, allocations: 160.8 kB / 3.686 GB, free: 105.7 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (384): * Single equations (assignments): 379 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 17,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001574/8.333, allocations: 184.2 kB / 3.687 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001866/8.335, allocations: 349.4 kB / 3.687 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/8.351, allocations: 5.227 MB / 3.692 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.872e-05/8.351, allocations: 30.94 kB / 3.692 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/8.351, allocations: 7.219 kB / 3.692 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01012/8.361, allocations: 4.213 MB / 3.696 GB, free: 104.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02401/8.385, allocations: 9.331 MB / 3.705 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/8.385, allocations: 3.719 kB / 3.705 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005111/8.39, allocations: 0.8876 MB / 3.706 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/8.392, allocations: 478 kB / 3.707 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002779/8.392, allocations: 73.64 kB / 3.707 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006435/8.398, allocations: 8.251 MB / 3.715 GB, free: 96.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/8.398, allocations: 15.84 kB / 3.715 GB, free: 96.65 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01499/8.413, allocations: 7.209 MB / 3.722 GB, free: 95.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004037/8.418, allocations: 1 MB / 3.723 GB, free: 95.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/8.419, allocations: 17.95 kB / 3.723 GB, free: 95.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004045/8.423, allocations: 293.6 kB / 3.723 GB, free: 95.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/8.423, allocations: 178.6 kB / 3.723 GB, free: 95.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000339/8.423, allocations: 130.6 kB / 3.723 GB, free: 95.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.004101/8.428, allocations: 2.199 MB / 3.725 GB, free: 94.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.008825/8.436, allocations: 1.929 MB / 3.727 GB, free: 94.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (288): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003525/8.44, allocations: 1.699 MB / 3.729 GB, free: 94.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01484/8.455, allocations: 6.975 MB / 3.736 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/8.455, allocations: 3.406 kB / 3.736 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.007098/8.462, allocations: 2.482 MB / 3.738 GB, free: 93.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01101/8.473, allocations: 1.646 MB / 3.74 GB, free: 93.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/8.505, allocations: 8.165 MB / 3.748 GB, free: 90.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01335/8.519, allocations: 3.526 MB / 3.751 GB, free: 89.35 MB / 0.6198 GB Notification: Performance of SimCode: time 3.377e-06/8.519, allocations: 0 / 3.751 GB, free: 89.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.1884/8.707, allocations: 110 MB / 3.859 GB, free: 10.22 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)