Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.831/1.831, allocations: 297.8 MB / 313.7 MB, free: 96 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 190.4 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007666/0.0007666, allocations: 93.61 kB / 0.7808 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004592, allocations: 13.19 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.747, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.393/5.14, allocations: 2.199 GB / 3.225 GB, free: 9.219 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/5.14, allocations: 108.5 kB / 3.225 GB, free: 9.113 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.864/11, allocations: 1.607 GB / 4.833 GB, free: 103.4 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.103e-05/11, allocations: 0 / 4.833 GB, free: 103.4 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0005677/11, allocations: 78.67 kB / 4.833 GB, free: 103.4 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.01585/11.02, allocations: 3.743 MB / 4.836 GB, free: 102.1 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/11.02, allocations: 8.719 kB / 4.836 GB, free: 102.1 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007222/11.03, allocations: 0.8095 MB / 4.837 GB, free: 101.9 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02551/11.05, allocations: 9.749 MB / 4.847 GB, free: 101.1 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003812/11.05, allocations: 164.9 kB / 4.847 GB, free: 101.1 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/11.06, allocations: 223.5 kB / 4.847 GB, free: 101.1 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009865/11.06, allocations: 2.517 MB / 4.849 GB, free: 100.8 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/11.07, allocations: 5.375 kB / 4.849 GB, free: 100.8 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007703/11.07, allocations: 89.28 kB / 4.85 GB, free: 100.8 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001964/11.07, allocations: 84.56 kB / 4.85 GB, free: 100.8 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00591/11.07, allocations: 1.952 MB / 4.851 GB, free: 100.7 MB / 1.042 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.02086/11.09, allocations: 12.23 MB / 4.863 GB, free: 94.39 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/11.1, allocations: 1.48 MB / 4.865 GB, free: 94.16 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/11.1, allocations: 0.7519 MB / 4.866 GB, free: 94.14 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/11.1, allocations: 1.983 MB / 4.868 GB, free: 91.99 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/11.1, allocations: 50.8 kB / 4.868 GB, free: 91.95 MB / 1.042 GB Notification: Performance of pre-optimization done (n=150): time 5.641e-06/11.1, allocations: 3.891 kB / 4.868 GB, free: 91.95 MB / 1.042 GB Notification: Performance of matching and sorting (n=152): time 0.01467/11.11, allocations: 4.966 MB / 4.872 GB, free: 90.69 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/11.11, allocations: 67.38 kB / 4.873 GB, free: 90.63 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005926/11.12, allocations: 2.029 MB / 4.875 GB, free: 90.4 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003446/11.12, allocations: 56.05 kB / 4.875 GB, free: 90.37 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/11.12, allocations: 1.241 MB / 4.876 GB, free: 89.96 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007817/11.12, allocations: 0.5293 MB / 4.876 GB, free: 89.61 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/11.12, allocations: 37.97 kB / 4.876 GB, free: 89.61 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001816/11.12, allocations: 366.3 kB / 4.877 GB, free: 89.31 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/11.12, allocations: 0.5894 MB / 4.877 GB, free: 89.3 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/11.13, allocations: 1.008 MB / 4.878 GB, free: 88.86 MB / 1.042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/11.15, allocations: 5.34 MB / 4.883 GB, free: 88.37 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/11.15, allocations: 6.5 kB / 4.883 GB, free: 88.37 MB / 1.042 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006621/11.15, allocations: 2.091 MB / 4.885 GB, free: 88.16 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002818/11.15, allocations: 399 kB / 4.886 GB, free: 87.71 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-05/11.15, allocations: 18.39 kB / 4.886 GB, free: 87.71 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/11.15, allocations: 209.2 kB / 4.886 GB, free: 87.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/11.16, allocations: 354.6 kB / 4.886 GB, free: 87.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/11.16, allocations: 1.776 MB / 4.888 GB, free: 86.07 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/11.16, allocations: 202.7 kB / 4.888 GB, free: 86.05 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003459/11.16, allocations: 85.62 kB / 4.888 GB, free: 86.05 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/11.16, allocations: 3.25 kB / 4.888 GB, free: 86.05 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004142/11.17, allocations: 1.836 MB / 4.89 GB, free: 86 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/11.17, allocations: 17.41 kB / 4.89 GB, free: 86 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008897/11.17, allocations: 214.1 kB / 4.89 GB, free: 85.98 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/11.17, allocations: 337.7 kB / 4.891 GB, free: 85.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000765/11.17, allocations: 1.189 MB / 4.892 GB, free: 84.95 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/11.17, allocations: 201.5 kB / 4.892 GB, free: 84.92 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/11.17, allocations: 83.69 kB / 4.892 GB, free: 84.92 MB / 1.042 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00219/11.17, allocations: 0.7101 MB / 4.893 GB, free: 84.73 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/11.17, allocations: 258.9 kB / 4.893 GB, free: 84.59 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005621/11.18, allocations: 2.341 MB / 4.895 GB, free: 84.43 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/11.18, allocations: 22.27 kB / 4.895 GB, free: 84.43 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/11.18, allocations: 0.6562 kB / 4.895 GB, free: 84.43 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003597/11.18, allocations: 2.079 MB / 4.897 GB, free: 83.9 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/11.2, allocations: 5.29 MB / 4.903 GB, free: 83.05 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/11.2, allocations: 16.2 kB / 4.903 GB, free: 83.05 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/11.2, allocations: 291 kB / 4.903 GB, free: 83.05 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009864/11.2, allocations: 249.7 kB / 4.903 GB, free: 83.02 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/11.2, allocations: 54.47 kB / 4.903 GB, free: 83.02 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/11.2, allocations: 4.643 MB / 4.908 GB, free: 78.9 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/11.2, allocations: 15.44 kB / 4.908 GB, free: 78.89 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006131/11.21, allocations: 3.272 MB / 4.911 GB, free: 78.29 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/11.21, allocations: 0.5541 MB / 4.912 GB, free: 78.05 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/11.21, allocations: 41.2 kB / 4.912 GB, free: 78.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/11.21, allocations: 189.5 kB / 4.912 GB, free: 78.04 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/11.22, allocations: 148.2 kB / 4.912 GB, free: 78.04 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/11.22, allocations: 77.62 kB / 4.912 GB, free: 78.04 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.00368/11.22, allocations: 1.422 MB / 4.913 GB, free: 77.89 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.7e-07/11.22, allocations: 3.375 kB / 4.913 GB, free: 77.89 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.008687/11.23, allocations: 1.626 MB / 4.915 GB, free: 77.82 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 13 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,duc.del.x,duc.timDel.x,duc.vol_b.dynBal.U,duc.vol_b.dynBal.mXi[1],duc.vol_b.dynBal.mC[1],duc.vol_a.dynBal.U,duc.vol_a.dynBal.m,duc.vol_a.dynBal.mXi[1],duc.vol_a.dynBal.mC[1]) * 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 (156): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007099/11.24, allocations: 3.584 MB / 4.918 GB, free: 76.36 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.005741/11.24, allocations: 2.868 MB / 4.921 GB, free: 75.95 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/11.24, allocations: 0 / 4.921 GB, free: 75.95 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00225/11.24, allocations: 1.431 MB / 4.923 GB, free: 75.53 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0113/11.25, allocations: 1.483 MB / 4.924 GB, free: 75.52 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/11.27, allocations: 6.844 MB / 4.931 GB, free: 72.73 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002711/11.27, allocations: 1.894 MB / 4.933 GB, free: 71.97 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.004331/11.28, allocations: 0.7567 MB / 4.933 GB, free: 71.95 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008613/11.28, allocations: 216.1 kB / 4.934 GB, free: 71.95 MB / 1.042 GB Notification: Performance of SimCode: time 1.994e-06/11.28, allocations: 0 / 4.934 GB, free: 71.95 MB / 1.042 GB Notification: Performance of Templates: time 0.1372/11.41, allocations: 88.28 MB / 5.02 GB, free: 66.86 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe 2>&1)