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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9288/0.9288, allocations: 132.4 MB / 139.9 MB, free: 2.84 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001226/0.001226, allocations: 182 kB / 171.8 MB, free: 4.926 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.682/1.682, allocations: 170.6 MB / 374.2 MB, free: 192 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001827/0.001827, allocations: 110.5 kB / 444.8 MB, free: 14.18 MB / 314.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.1813/0.1813, allocations: 73.42 MB / 0.6666 GB, free: 15.67 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.406/1.587, allocations: 385.9 MB / 1.043 GB, free: 70.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.587, allocations: 86.08 kB / 1.044 GB, free: 70.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.077/4.665, allocations: 0.7112 GB / 1.755 GB, free: 76.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/4.665, allocations: 0 / 1.755 GB, free: 76.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.001843/4.667, allocations: 173.5 kB / 1.755 GB, free: 76 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.02596/4.693, allocations: 5.383 MB / 1.76 GB, free: 73.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/4.693, allocations: 9.719 kB / 1.76 GB, free: 73.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007837/4.701, allocations: 0.8047 MB / 1.761 GB, free: 73.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0633/4.764, allocations: 22.57 MB / 1.783 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007626/4.765, allocations: 240.9 kB / 1.783 GB, free: 67.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003233/4.768, allocations: 304.2 kB / 1.784 GB, free: 67.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01975/4.788, allocations: 4.929 MB / 1.788 GB, free: 65.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02821/4.816, allocations: 6.099 MB / 1.794 GB, free: 62.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006424/4.817, allocations: 37.7 kB / 1.794 GB, free: 62.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002702/4.82, allocations: 10.22 kB / 1.794 GB, free: 62.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002936/4.82, allocations: 173.8 kB / 1.795 GB, free: 62.51 MB / 0.6198 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.05526/4.875, allocations: 28.3 MB / 1.822 GB, free: 38.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005347/4.881, allocations: 2.977 MB / 1.825 GB, free: 35.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003318/4.884, allocations: 1.98 MB / 1.827 GB, free: 33.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009913/4.885, allocations: 0.6601 MB / 1.828 GB, free: 32.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.408e-05/4.885, allocations: 72.86 kB / 1.828 GB, free: 32.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=291): time 7.113e-06/4.885, allocations: 0 / 1.828 GB, free: 32.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=311): time 0.0263/4.911, allocations: 9.08 MB / 1.837 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/4.911, allocations: 141.2 kB / 1.837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/4.923, allocations: 4.522 MB / 1.841 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/4.924, allocations: 33.7 kB / 1.841 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003085/4.928, allocations: 2.715 MB / 1.844 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002166/4.93, allocations: 1.043 MB / 1.845 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006965/4.93, allocations: 0 / 1.845 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003748/4.931, allocations: 461.7 kB / 1.845 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002921/4.934, allocations: 1.592 MB / 1.847 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/4.937, allocations: 2.579 MB / 1.849 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/4.942, allocations: 2.284 MB / 1.852 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-05/4.942, allocations: 8 kB / 1.852 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of matching and sorting (n=465) (initialization): time 0.01102/4.953, allocations: 4.706 MB / 1.856 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.006286/4.959, allocations: 13.31 MB / 1.869 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/4.96, allocations: 35.95 kB / 1.869 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/4.96, allocations: 48 kB / 1.869 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00638/4.966, allocations: 1.244 MB / 1.87 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/4.968, allocations: 1.378 MB / 1.872 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007279/4.975, allocations: 262.9 kB / 1.872 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/4.976, allocations: 168 kB / 1.872 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/4.976, allocations: 4 kB / 1.872 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6201/5.597, allocations: 4.185 MB / 1.876 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-05/5.597, allocations: 29 kB / 1.876 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.972e-05/5.597, allocations: 54.23 kB / 1.876 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/5.601, allocations: 0.8382 MB / 1.877 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001369/5.601, allocations: 67.92 kB / 1.877 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006457/5.607, allocations: 229.1 kB / 1.877 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009606/5.608, allocations: 167.6 kB / 1.878 GB, free: 90.31 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.001171/5.61, allocations: 202.9 kB / 1.878 GB, free: 90.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002253/5.612, allocations: 491 kB / 1.878 GB, free: 90.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/5.626, allocations: 5.21 MB / 1.883 GB, free: 89.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-05/5.626, allocations: 41.3 kB / 1.883 GB, free: 89.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/5.626, allocations: 3.953 kB / 1.883 GB, free: 89.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0083/5.635, allocations: 4.23 MB / 1.888 GB, free: 89.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03483/5.67, allocations: 10.79 MB / 1.898 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/5.67, allocations: 10.16 kB / 1.898 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00471/5.674, allocations: 0.9584 MB / 1.899 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/5.677, allocations: 0.8653 MB / 1.9 GB, free: 88.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006275/5.677, allocations: 62.05 kB / 1.9 GB, free: 88.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/5.689, allocations: 14.69 MB / 1.914 GB, free: 75.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.208e-05/5.689, allocations: 16.78 kB / 1.914 GB, free: 75.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/5.708, allocations: 8.509 MB / 1.923 GB, free: 73.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006545/5.715, allocations: 1.273 MB / 1.924 GB, free: 72.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003249/5.718, allocations: 31.12 kB / 1.924 GB, free: 72.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007518/5.726, allocations: 286 kB / 1.924 GB, free: 72.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/5.727, allocations: 241.6 kB / 1.924 GB, free: 72.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009139/5.728, allocations: 145.4 kB / 1.925 GB, free: 72.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.01107/5.739, allocations: 3.509 MB / 1.928 GB, free: 72.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.123e-06/5.739, allocations: 0 / 1.928 GB, free: 72.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0198/5.759, allocations: 2.481 MB / 1.93 GB, free: 72.63 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.003374/5.762, allocations: 0.6584 MB / 1.931 GB, free: 72.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01876/5.781, allocations: 6.582 MB / 1.937 GB, free: 72.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.858e-05/5.781, allocations: 4.375 kB / 1.937 GB, free: 72.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.008116/5.789, allocations: 2.642 MB / 1.94 GB, free: 72.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02458/5.814, allocations: 3.256 MB / 1.943 GB, free: 72.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03799/5.852, allocations: 12 MB / 1.955 GB, free: 69.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01148/5.863, allocations: 4.618 MB / 1.959 GB, free: 69.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01876/5.882, allocations: 4.318 MB / 1.964 GB, free: 68.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002335/5.885, allocations: 348.5 kB / 1.964 GB, free: 68.79 MB / 0.6355 GB Notification: Performance of SimCode: time 1.673e-06/5.885, allocations: 0 / 1.964 GB, free: 68.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.2032/6.088, allocations: 113.8 MB / 2.075 GB, free: 12.43 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)