Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.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.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe") [: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.7585/0.7585, allocations: 132.4 MB / 139.7 MB, free: 15.59 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.001195/0.001196, allocations: 168.2 kB / 171.6 MB, free: 1.992 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.615/1.615, allocations: 170.5 MB / 373.9 MB, free: 15.89 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.001841/0.001841, allocations: 108.9 kB / 444.4 MB, free: 9.441 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.5783/0.5784, allocations: 73.4 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8138/1.392, allocations: 385.8 MB / 1.043 GB, free: 50.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.393, allocations: 91.05 kB / 1.043 GB, free: 50.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.995/4.387, allocations: 0.7148 GB / 1.758 GB, free: 71.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00199/4.389, allocations: 180.1 kB / 1.758 GB, free: 71.69 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: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02779/4.417, allocations: 5.325 MB / 1.763 GB, free: 69.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.834e-05/4.417, allocations: 9.875 kB / 1.763 GB, free: 69.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009353/4.427, allocations: 0.815 MB / 1.764 GB, free: 68.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07903/4.506, allocations: 22.78 MB / 1.786 GB, free: 59.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00113/4.507, allocations: 234.2 kB / 1.786 GB, free: 59.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003815/4.511, allocations: 293.3 kB / 1.787 GB, free: 59.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01903/4.53, allocations: 5.091 MB / 1.792 GB, free: 56.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02457/4.554, allocations: 6.227 MB / 1.798 GB, free: 49.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005718/4.555, allocations: 27.8 kB / 1.798 GB, free: 49.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002716/4.558, allocations: 15.91 kB / 1.798 GB, free: 49.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002975/4.558, allocations: 167.9 kB / 1.798 GB, free: 49.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05472/4.613, allocations: 28.46 MB / 1.826 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004673/4.618, allocations: 2.221 MB / 1.828 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00394/4.622, allocations: 2.058 MB / 1.83 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/4.623, allocations: 0.6582 MB / 1.83 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.81e-05/4.623, allocations: 68.86 kB / 1.83 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=291): time 6.563e-06/4.623, allocations: 0 / 1.83 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=311): time 0.02925/4.652, allocations: 9.365 MB / 1.84 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/4.652, allocations: 133.3 kB / 1.84 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01354/4.666, allocations: 4.647 MB / 1.844 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/4.667, allocations: 29.7 kB / 1.844 GB, free: 484 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003578/4.671, allocations: 1.878 MB / 1.846 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.004102/4.675, allocations: 1.043 MB / 1.847 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009581/4.676, allocations: 0 / 1.847 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0006221/4.677, allocations: 461.7 kB / 1.848 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004379/4.681, allocations: 1.67 MB / 1.849 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005583/4.687, allocations: 2.661 MB / 1.852 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006834/4.694, allocations: 2.397 MB / 1.854 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.905e-05/4.694, allocations: 8 kB / 1.854 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=465) (initialization): time 0.01629/4.71, allocations: 4.864 MB / 1.859 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.4083/5.118, allocations: 13.3 MB / 1.872 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/5.119, allocations: 28.78 kB / 1.872 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.712e-05/5.119, allocations: 49 kB / 1.872 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006699/5.125, allocations: 1.288 MB / 1.873 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/5.127, allocations: 1.447 MB / 1.875 GB, free: 124 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007377/5.134, allocations: 232.2 kB / 1.875 GB, free: 124 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/5.136, allocations: 167.3 kB / 1.875 GB, free: 124 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/5.136, allocations: 7 kB / 1.875 GB, free: 124 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008615/5.144, allocations: 4.351 MB / 1.879 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/5.144, allocations: 32.89 kB / 1.879 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.537e-05/5.145, allocations: 52.25 kB / 1.879 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/5.148, allocations: 0.8274 MB / 1.88 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.916e-05/5.148, allocations: 69.95 kB / 1.88 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006025/5.154, allocations: 223.1 kB / 1.88 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007492/5.155, allocations: 171.1 kB / 1.881 GB, free: 123.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (465): * Single equations (assignments): 463 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.001199/5.156, allocations: 199.2 kB / 1.881 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/5.158, allocations: 488.5 kB / 1.881 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/5.169, allocations: 5.495 MB / 1.887 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.054e-05/5.169, allocations: 46.72 kB / 1.887 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/5.169, allocations: 0 / 1.887 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007428/5.177, allocations: 4.386 MB / 1.891 GB, free: 123.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02713/5.204, allocations: 10.98 MB / 1.902 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/5.204, allocations: 7.344 kB / 1.902 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004705/5.209, allocations: 0.996 MB / 1.903 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/5.211, allocations: 0.8767 MB / 1.904 GB, free: 122 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004626/5.211, allocations: 64.73 kB / 1.904 GB, free: 122 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/5.221, allocations: 14.86 MB / 1.918 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-05/5.221, allocations: 17.44 kB / 1.918 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01464/5.236, allocations: 8.779 MB / 1.927 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005743/5.242, allocations: 1.267 MB / 1.928 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002563/5.244, allocations: 32.7 kB / 1.928 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00679/5.251, allocations: 276.9 kB / 1.928 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008264/5.252, allocations: 215.7 kB / 1.928 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001049/5.253, allocations: 145.5 kB / 1.929 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.01242/5.266, allocations: 3.612 MB / 1.932 GB, free: 106.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01895/5.285, allocations: 2.479 MB / 1.935 GB, free: 106.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 20 * 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: 20 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002933/5.288, allocations: 0.6522 MB / 1.935 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01905/5.307, allocations: 7.164 MB / 1.942 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.989e-05/5.307, allocations: 4.375 kB / 1.942 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01036/5.317, allocations: 3.007 MB / 1.945 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02073/5.338, allocations: 3.105 MB / 1.948 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03923/5.377, allocations: 12.27 MB / 1.96 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01162/5.389, allocations: 5.117 MB / 1.965 GB, free: 103 MB / 0.6355 GB Notification: Performance of SimCode: time 3.206e-06/5.389, allocations: 4.062 kB / 1.965 GB, free: 103 MB / 0.6355 GB Notification: Performance of Templates: time 0.2291/5.618, allocations: 131.9 MB / 2.094 GB, free: 39.93 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)