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.7118/0.7118, allocations: 132.3 MB / 144.9 MB, free: 10.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.001107/0.001107, allocations: 167.5 kB / 176.9 MB, free: 2.258 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.441/1.441, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.001616/0.001616, allocations: 110.1 kB / 450 MB, free: 5.855 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.4615/0.4615, allocations: 73.39 MB / 0.6736 GB, free: 47.63 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7427/1.204, allocations: 386.5 MB / 1.051 GB, free: 14.11 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004149/1.205, allocations: 90.56 kB / 1.051 GB, free: 14.06 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.697/3.901, allocations: 0.7158 GB / 1.767 GB, free: 54.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/3.901, allocations: 0 / 1.767 GB, free: 54.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.001195/3.903, allocations: 177 kB / 1.767 GB, free: 54.34 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.01822/3.921, allocations: 5.38 MB / 1.772 GB, free: 51.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/3.921, allocations: 10.31 kB / 1.772 GB, free: 51.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005646/3.927, allocations: 0.8133 MB / 1.773 GB, free: 50.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05001/3.977, allocations: 22.61 MB / 1.795 GB, free: 32.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003559/3.977, allocations: 403.1 kB / 1.796 GB, free: 32.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/3.979, allocations: 0.4917 MB / 1.796 GB, free: 31.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/3.991, allocations: 6.857 MB / 1.803 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001396/3.991, allocations: 27.72 kB / 1.803 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005957/3.992, allocations: 210.8 kB / 1.803 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/3.992, allocations: 167.9 kB / 1.803 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009038/4.001, allocations: 5.347 MB / 1.808 GB, free: 18.68 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.04463/4.046, allocations: 29.35 MB / 1.837 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006038/4.052, allocations: 3.188 MB / 1.84 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5067/4.559, allocations: 2.069 MB / 1.842 GB, free: 70.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008966/4.56, allocations: 0.6512 MB / 1.843 GB, free: 70.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.745e-05/4.56, allocations: 69.67 kB / 1.843 GB, free: 69.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=291): time 5.43e-06/4.56, allocations: 2.094 kB / 1.843 GB, free: 69.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=331): time 0.02654/4.586, allocations: 11.42 MB / 1.854 GB, free: 68.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/4.586, allocations: 139.9 kB / 1.854 GB, free: 68.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01539/4.602, allocations: 5.585 MB / 1.86 GB, free: 68.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001084/4.603, allocations: 87.2 kB / 1.86 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002943/4.606, allocations: 2.754 MB / 1.862 GB, free: 67.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001888/4.608, allocations: 1.154 MB / 1.864 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/4.608, allocations: 74.88 kB / 1.864 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002406/4.608, allocations: 466.7 kB / 1.864 GB, free: 66.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/4.612, allocations: 1.841 MB / 1.866 GB, free: 66.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/4.615, allocations: 2.857 MB / 1.869 GB, free: 65.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/4.619, allocations: 2.48 MB / 1.871 GB, free: 65.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/4.619, allocations: 8.031 kB / 1.871 GB, free: 65.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=485) (initialization): time 0.009772/4.629, allocations: 5.425 MB / 1.876 GB, free: 65.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.003332/4.632, allocations: 13.85 MB / 1.89 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.549e-05/4.632, allocations: 26.78 kB / 1.89 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/4.632, allocations: 53.22 kB / 1.89 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006133/4.638, allocations: 1.341 MB / 1.891 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/4.64, allocations: 1.377 MB / 1.893 GB, free: 49.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006639/4.646, allocations: 363.7 kB / 1.893 GB, free: 49.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/4.647, allocations: 172.9 kB / 1.893 GB, free: 49.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/4.647, allocations: 3.969 kB / 1.893 GB, free: 49.69 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007366/4.654, allocations: 4.906 MB / 1.898 GB, free: 49.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/4.654, allocations: 36.11 kB / 1.898 GB, free: 49.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.377e-05/4.654, allocations: 50.52 kB / 1.898 GB, free: 49.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/4.658, allocations: 0.9592 MB / 1.899 GB, free: 49.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.138e-05/4.658, allocations: 66.89 kB / 1.899 GB, free: 49.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005995/4.664, allocations: 365.2 kB / 1.899 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003815/4.664, allocations: 174.9 kB / 1.9 GB, free: 49.57 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 (485): * Single equations (assignments): 483 * 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.001195/4.665, allocations: 332.2 kB / 1.9 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001988/4.667, allocations: 0.5563 MB / 1.9 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008673/4.676, allocations: 5.249 MB / 1.906 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/4.676, allocations: 51.98 kB / 1.906 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/4.676, allocations: 0 / 1.906 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005951/4.682, allocations: 4.088 MB / 1.91 GB, free: 48.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0361/4.718, allocations: 11.46 MB / 1.921 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/4.718, allocations: 10.19 kB / 1.921 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004855/4.723, allocations: 1.154 MB / 1.922 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.632e-05/4.723, allocations: 32.98 kB / 1.922 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005091/4.724, allocations: 115.6 kB / 1.922 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/4.726, allocations: 2.908 MB / 1.925 GB, free: 45.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/4.726, allocations: 16.94 kB / 1.925 GB, free: 45.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/4.738, allocations: 8.393 MB / 1.933 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005544/4.744, allocations: 1.394 MB / 1.935 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002599/4.746, allocations: 100.8 kB / 1.935 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005975/4.752, allocations: 342.9 kB / 1.935 GB, free: 42.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005896/4.753, allocations: 250 kB / 1.935 GB, free: 42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005454/4.754, allocations: 151.6 kB / 1.935 GB, free: 42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.009392/4.763, allocations: 4.416 MB / 1.94 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.21e-07/4.763, allocations: 0 / 1.94 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01588/4.779, allocations: 2.683 MB / 1.942 GB, free: 41.79 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 22 (pip.port_a.h_outflow,pip.port_b.h_outflow,pip.vol[2].ports[2].h_outflow,pip.vol[3].ports[2].h_outflow,pip.vol[4].ports[2].h_outflow,pip.vol[5].ports[2].h_outflow,pip.vol[6].ports[2].h_outflow,pip.vol[7].ports[2].h_outflow,pip.vol[8].ports[2].h_outflow,pip.vol[9].ports[2].h_outflow,pip1.port_a.h_outflow,pip1.port_b.h_outflow,pip1.vol[2].ports[2].h_outflow,pip1.vol[3].ports[2].h_outflow,pip1.vol[4].ports[2].h_outflow,pip1.vol[5].ports[2].h_outflow,pip1.vol[6].ports[2].h_outflow,pip1.vol[7].ports[2].h_outflow,pip1.vol[8].ports[2].h_outflow,pip1.vol[9].ports[2].h_outflow,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (375): * Single equations (assignments): 349 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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 Backend phase and start with SimCode phase: time 0.002468/4.781, allocations: 0.713 MB / 1.943 GB, free: 41.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01541/4.797, allocations: 7.438 MB / 1.95 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.367e-05/4.797, allocations: 0.5625 kB / 1.95 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006802/4.804, allocations: 2.631 MB / 1.953 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02251/4.826, allocations: 3.966 MB / 1.957 GB, free: 41.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/4.858, allocations: 12.83 MB / 1.969 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005423/4.863, allocations: 4.665 MB / 1.974 GB, free: 37.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01561/4.879, allocations: 5.004 MB / 1.979 GB, free: 37.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/4.881, allocations: 403.2 kB / 1.979 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/4.881, allocations: 5.969 kB / 1.979 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.6828/5.564, allocations: 136.3 MB / 2.112 GB, free: 88.68 MB / 0.6667 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)