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.9649/0.9649, allocations: 132.4 MB / 139.9 MB, free: 2.863 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.001102/0.001102, allocations: 168.8 kB / 171.8 MB, free: 4.957 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.484/1.484, allocations: 170.6 MB / 374.2 MB, free: 176 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.001655/0.001655, allocations: 100.8 kB / 444.8 MB, free: 14.17 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.1708/0.1708, allocations: 73.41 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/1.468, allocations: 385.9 MB / 1.043 GB, free: 70.34 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.468, allocations: 83.27 kB / 1.043 GB, free: 70.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.028/4.497, allocations: 0.7113 GB / 1.755 GB, free: 75.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/4.497, allocations: 0 / 1.755 GB, free: 75.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00136/4.498, allocations: 173.1 kB / 1.755 GB, free: 75.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.02179/4.52, allocations: 5.39 MB / 1.76 GB, free: 73.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/4.52, allocations: 11.72 kB / 1.76 GB, free: 73.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006383/4.526, allocations: 0.8064 MB / 1.761 GB, free: 73.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0566/4.583, allocations: 22.57 MB / 1.783 GB, free: 66.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000554/4.584, allocations: 235.9 kB / 1.783 GB, free: 66.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002693/4.586, allocations: 307.3 kB / 1.784 GB, free: 66.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01618/4.603, allocations: 4.925 MB / 1.788 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/4.622, allocations: 6.108 MB / 1.794 GB, free: 62.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004373/4.623, allocations: 28.41 kB / 1.794 GB, free: 62.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002/4.625, allocations: 12.81 kB / 1.794 GB, free: 62.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003017/4.625, allocations: 166.9 kB / 1.795 GB, free: 62.23 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.04526/4.67, allocations: 28.3 MB / 1.822 GB, free: 38.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004828/4.675, allocations: 2.977 MB / 1.825 GB, free: 35.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/4.678, allocations: 1.98 MB / 1.827 GB, free: 33.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009411/4.679, allocations: 0.6586 MB / 1.828 GB, free: 32.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.537e-05/4.68, allocations: 76.8 kB / 1.828 GB, free: 32.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=291): time 6.261e-06/4.68, allocations: 0 / 1.828 GB, free: 32.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=311): time 0.02959/4.709, allocations: 9.087 MB / 1.837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/4.709, allocations: 133.3 kB / 1.837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/4.72, allocations: 4.53 MB / 1.841 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001152/4.721, allocations: 25.7 kB / 1.841 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003514/4.725, allocations: 2.719 MB / 1.844 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002385/4.727, allocations: 1.051 MB / 1.845 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007626/4.728, allocations: 0 / 1.845 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004442/4.729, allocations: 453.7 kB / 1.845 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/4.732, allocations: 1.596 MB / 1.847 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/4.735, allocations: 2.579 MB / 1.849 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/4.74, allocations: 2.28 MB / 1.852 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.315e-05/4.74, allocations: 11.94 kB / 1.852 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of matching and sorting (n=465) (initialization): time 0.01066/4.75, allocations: 4.698 MB / 1.856 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.006115/4.757, allocations: 13.33 MB / 1.869 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-05/4.757, allocations: 31.95 kB / 1.869 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/4.757, allocations: 52 kB / 1.869 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006112/4.763, allocations: 1.24 MB / 1.87 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/4.764, allocations: 1.383 MB / 1.872 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/4.771, allocations: 251 kB / 1.872 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/4.772, allocations: 164 kB / 1.872 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/4.772, allocations: 4 kB / 1.872 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5735/5.346, allocations: 4.18 MB / 1.876 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.621e-05/5.346, allocations: 31.84 kB / 1.876 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/5.346, allocations: 51.72 kB / 1.876 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005188/5.351, allocations: 0.8362 MB / 1.877 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000165/5.351, allocations: 67.91 kB / 1.877 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008183/5.36, allocations: 229.9 kB / 1.877 GB, free: 90.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/5.361, allocations: 169.4 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.001976/5.363, allocations: 200.8 kB / 1.878 GB, free: 90.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003079/5.366, allocations: 494.4 kB / 1.878 GB, free: 90.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/5.385, allocations: 5.209 MB / 1.883 GB, free: 89.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/5.385, allocations: 43.31 kB / 1.883 GB, free: 89.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.437e-05/5.385, allocations: 4.75 kB / 1.883 GB, free: 89.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01182/5.397, allocations: 4.234 MB / 1.888 GB, free: 89.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03864/5.435, allocations: 10.8 MB / 1.898 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.996e-05/5.435, allocations: 10.19 kB / 1.898 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004857/5.44, allocations: 0.9572 MB / 1.899 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/5.443, allocations: 0.8623 MB / 1.9 GB, free: 88.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006382/5.443, allocations: 67.84 kB / 1.9 GB, free: 88.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/5.453, allocations: 14.69 MB / 1.914 GB, free: 75.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/5.454, allocations: 12.12 kB / 1.914 GB, free: 75.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/5.469, allocations: 8.507 MB / 1.923 GB, free: 73.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005248/5.474, allocations: 1.272 MB / 1.924 GB, free: 72.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002522/5.477, allocations: 33.78 kB / 1.924 GB, free: 72.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006243/5.483, allocations: 289.8 kB / 1.924 GB, free: 72.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007371/5.484, allocations: 238.4 kB / 1.924 GB, free: 72.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006994/5.485, allocations: 142.7 kB / 1.925 GB, free: 72.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.009489/5.494, allocations: 3.513 MB / 1.928 GB, free: 72.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/5.494, allocations: 0 / 1.928 GB, free: 72.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01718/5.512, allocations: 2.475 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.002846/5.514, allocations: 0.6512 MB / 1.931 GB, free: 72.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01459/5.529, allocations: 6.578 MB / 1.937 GB, free: 72.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-05/5.529, allocations: 8.094 kB / 1.937 GB, free: 72.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00749/5.537, allocations: 2.645 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.02032/5.557, allocations: 3.26 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.03339/5.59, 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.01244/5.603, allocations: 4.621 MB / 1.959 GB, free: 69.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01843/5.621, allocations: 4.312 MB / 1.964 GB, free: 68.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/5.623, allocations: 349.6 kB / 1.964 GB, free: 68.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.343e-06/5.623, allocations: 0 / 1.964 GB, free: 68.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.2041/5.828, allocations: 113.9 MB / 2.075 GB, free: 12.09 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)