Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 190.7 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 274.7 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.974/0.974, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 100.8 kB / 0.5945 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1701, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01498/0.1851, allocations: 14.99 MB / 0.6941 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005895/0.1911, allocations: 3.923 MB / 0.6979 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.1916, allocations: 15.94 kB / 0.6979 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000559/0.1922, allocations: 159 kB / 0.6981 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.1939, allocations: 0.6173 MB / 0.6987 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1953, allocations: 425.5 kB / 0.6991 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001856/0.1972, allocations: 1.368 MB / 0.7004 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.1976, allocations: 241.1 kB / 0.7006 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006649/0.1982, allocations: 370.3 kB / 0.701 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.1986, allocations: 278.7 kB / 0.7013 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.1986, allocations: 16 kB / 0.7013 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.1998, allocations: 0.6861 MB / 0.7019 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.1999, allocations: 67.67 kB / 0.702 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.2001, allocations: 179 kB / 0.7022 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.2011, allocations: 0.7089 MB / 0.7029 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2011, allocations: 0 / 0.7029 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2011, allocations: 0 / 0.7029 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.2012, allocations: 0 / 0.7029 GB, free: 9.129 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001336/0.2025, allocations: 0.7474 MB / 0.7036 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.2026, allocations: 8.031 kB / 0.7036 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.516e-05/0.2027, allocations: 44.47 kB / 0.7037 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.2035, allocations: 0.494 MB / 0.7041 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2036, allocations: 16.33 kB / 0.7042 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.2036, allocations: 20 kB / 0.7042 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.204, allocations: 176.8 kB / 0.7043 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.204, allocations: 0 / 0.7043 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.204, allocations: 8 kB / 0.7043 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.204, allocations: 11.94 kB / 0.7044 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.2044, allocations: 143.8 kB / 0.7045 GB, free: 7.379 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001026/0.2054, allocations: 0.8606 MB / 0.7053 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.2056, allocations: 118.6 kB / 0.7054 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.2058, allocations: 72.81 kB / 0.7055 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.2061, allocations: 336.4 kB / 0.7058 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2062, allocations: 38.55 kB / 0.7059 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.2062, allocations: 0 / 0.7059 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005389/0.2067, allocations: 217.1 kB / 0.7061 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.2068, allocations: 51.41 kB / 0.7061 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.2071, allocations: 349.7 kB / 0.7065 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.2071, allocations: 29.7 kB / 0.7065 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.2073, allocations: 196.2 kB / 0.7067 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.2073, allocations: 35.45 kB / 0.7067 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.2074, allocations: 37.64 kB / 0.7067 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2075, allocations: 346.8 kB / 0.7071 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2077, allocations: 44.83 kB / 0.7071 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2079, allocations: 100.6 kB / 0.7072 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.2081, allocations: 117.6 kB / 0.7073 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2081, allocations: 0 / 0.7073 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003566/0.2085, allocations: 181.1 kB / 0.7075 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2085, allocations: 7.938 kB / 0.7075 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2085, allocations: 4 kB / 0.7075 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2085, allocations: 0 / 0.7075 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.2087, allocations: 27.97 kB / 0.7075 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2087, allocations: 3.984 kB / 0.7075 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.2089, allocations: 28.02 kB / 0.7076 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.209, allocations: 11.92 kB / 0.7076 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002028/0.2092, allocations: 156.8 kB / 0.7077 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001534/0.2093, allocations: 84.19 kB / 0.7078 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000234/0.2096, allocations: 113.7 kB / 0.7079 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.2096, allocations: 0 / 0.7079 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003603/0.21, allocations: 177.1 kB / 0.7081 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.954e-06/0.21, allocations: 4 kB / 0.7081 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.21, allocations: 3.984 kB / 0.7081 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-06/0.21, allocations: 3.938 kB / 0.7081 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2101, allocations: 27.92 kB / 0.7081 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-06/0.2101, allocations: 0 / 0.7081 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.2103, allocations: 32.06 kB / 0.7082 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2103, allocations: 4 kB / 0.7082 GB, free: 3.309 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.2104, allocations: 184.3 kB / 0.7083 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.2105, allocations: 39.55 kB / 0.7084 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.211, allocations: 231.2 kB / 0.7086 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.211, allocations: 4.094 kB / 0.7086 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.211, allocations: 4.062 kB / 0.7086 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.211, allocations: 7.938 kB / 0.7086 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.2119, allocations: 0.6372 MB / 0.7092 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2119, allocations: 3.984 kB / 0.7092 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.212, allocations: 23.98 kB / 0.7093 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.212, allocations: 4 kB / 0.7093 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2121, allocations: 4 kB / 0.7093 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2121, allocations: 4 kB / 0.7093 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2121, allocations: 0 / 0.7093 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.2125, allocations: 317.6 kB / 0.7096 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.2126, allocations: 124.6 kB / 0.7097 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.2127, allocations: 4 kB / 0.7097 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.2129, allocations: 27.91 kB / 0.7097 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.213, allocations: 15.98 kB / 0.7097 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.213, allocations: 4 kB / 0.7097 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002438/0.2132, allocations: 247.2 kB / 0.71 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2133, allocations: 0 / 0.71 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006108/0.2139, allocations: 191.6 kB / 0.7102 GB, free: 1.141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005668/0.2144, allocations: 251.7 kB / 0.7104 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.215, allocations: 183.8 kB / 0.7106 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.215, allocations: 0 / 0.7106 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.2152, allocations: 79.89 kB / 0.7107 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.216, allocations: 152.7 kB / 0.7108 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2171, allocations: 0.6743 MB / 0.7115 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.2175, allocations: 0.7882 MB / 0.7122 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.2177, allocations: 71.09 kB / 0.7123 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.2178, allocations: 39.38 kB / 0.7123 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.884e-06/0.2178, allocations: 0 / 0.7123 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.01261/0.2304, allocations: 6.305 MB / 0.7185 GB, free: 8.664 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)