Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009751/0.009751, allocations: 174.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.881/1.881, allocations: 194.5 MB / 210.3 MB, free: 7.617 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001972/0.001972, allocations: 116.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2498/0.2498, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005152, allocations: 10.78 kB / 406.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1455, allocations: 54.87 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.923/8.068, allocations: 2.649 GB / 3.099 GB, free: 17.02 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/8.069, allocations: 80.55 kB / 3.099 GB, free: 16.97 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.966/11.03, allocations: 0.7457 GB / 3.845 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.444e-06/11.03, allocations: 4 kB / 3.845 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001086/11.03, allocations: 43.69 kB / 3.845 GB, free: 34.37 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01366/11.05, allocations: 2.864 MB / 3.848 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/11.05, allocations: 11.97 kB / 3.848 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/11.05, allocations: 0.5977 MB / 3.848 GB, free: 31.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/11.06, allocations: 1.102 MB / 3.849 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/11.06, allocations: 92.73 kB / 3.85 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/11.06, allocations: 106.2 kB / 3.85 GB, free: 29.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004989/11.06, allocations: 2.266 MB / 3.852 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/11.06, allocations: 7.938 kB / 3.852 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/11.06, allocations: 49.62 kB / 3.852 GB, free: 27.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.885e-05/11.06, allocations: 86 kB / 3.852 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005019/11.07, allocations: 2.388 MB / 3.854 GB, free: 25.05 MB / 0.4948 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.01013/11.08, allocations: 8.917 MB / 3.863 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/11.08, allocations: 1.766 MB / 3.865 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03492/11.12, allocations: 18.78 MB / 3.883 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.998e-05/11.12, allocations: 59.22 kB / 3.883 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00178/11.12, allocations: 202.4 kB / 3.883 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 8.797e-06/11.12, allocations: 0 / 3.883 GB, free: 8.484 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.4956/11.61, allocations: 16.21 MB / 3.899 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/11.61, allocations: 224.8 kB / 3.899 GB, free: 53.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/11.62, allocations: 0.7561 MB / 3.9 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006902/11.62, allocations: 56.86 kB / 3.9 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/11.62, allocations: 0.5874 MB / 3.901 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007317/11.62, allocations: 0.5325 MB / 3.901 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/11.62, allocations: 33.41 kB / 3.901 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001636/11.62, allocations: 376.9 kB / 3.902 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004614/11.62, allocations: 1.489 MB / 3.903 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005218/11.63, allocations: 1.95 MB / 3.905 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005224/11.63, allocations: 1.61 MB / 3.907 GB, free: 51.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/11.63, allocations: 4.25 kB / 3.907 GB, free: 51.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01486/11.65, allocations: 4.737 MB / 3.911 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001226/11.65, allocations: 4.793 MB / 3.916 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/11.65, allocations: 13.19 kB / 3.916 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09511/11.74, allocations: 8.314 MB / 3.924 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/11.75, allocations: 384.1 kB / 3.924 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/11.76, allocations: 5.088 MB / 3.929 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00438/11.77, allocations: 244.3 kB / 3.93 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008303/11.77, allocations: 131.5 kB / 3.93 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/11.77, allocations: 4.719 kB / 3.93 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01615/11.78, allocations: 4.512 MB / 3.934 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.291e-05/11.78, allocations: 12.06 kB / 3.934 GB, free: 45.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01106/11.79, allocations: 2.958 MB / 3.937 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/11.8, allocations: 447.5 kB / 3.938 GB, free: 45.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/11.81, allocations: 4.458 MB / 3.942 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00408/11.81, allocations: 242 kB / 3.942 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006919/11.82, allocations: 130.8 kB / 3.942 GB, free: 44.22 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.001812/11.82, allocations: 486.3 kB / 3.943 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007548/11.82, allocations: 134.8 kB / 3.943 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02372/11.84, allocations: 9.511 MB / 3.952 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.99e-05/11.84, allocations: 72.23 kB / 3.952 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/11.84, allocations: 0 / 3.952 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.614e-05/11.84, allocations: 10.22 kB / 3.952 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03098/11.87, allocations: 12.41 MB / 3.964 GB, free: 42.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/11.87, allocations: 3.5 kB / 3.964 GB, free: 42.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/11.87, allocations: 275.1 kB / 3.965 GB, free: 42.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08483/11.96, allocations: 8.901 MB / 3.973 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005789/11.96, allocations: 67.55 kB / 3.973 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/11.98, allocations: 5.918 MB / 3.979 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/11.98, allocations: 2.062 kB / 3.979 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02082/12, allocations: 7.376 MB / 3.986 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/12, allocations: 0.6986 MB / 3.987 GB, free: 40.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007276/12, allocations: 31 kB / 3.987 GB, free: 40.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003471/12, allocations: 233 kB / 3.987 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/12, allocations: 124.6 kB / 3.987 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002866/12, allocations: 81.86 kB / 3.987 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001346/12.01, allocations: 0.753 MB / 3.988 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/12.01, allocations: 2.281 kB / 3.988 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01209/12.02, allocations: 2.255 MB / 3.99 GB, free: 40.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01445/12.03, allocations: 2.393 MB / 3.993 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02731/12.06, allocations: 6.727 MB / 3.999 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/12.06, allocations: 3 kB / 3.999 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01148/12.07, allocations: 3.069 MB / 4.002 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/12.07, allocations: 0.5806 MB / 4.003 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.551/12.63, allocations: 128.3 MB / 4.128 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/12.63, allocations: 1.644 MB / 4.13 GB, free: 59.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003087/12.63, allocations: 1.462 MB / 4.131 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/12.63, allocations: 140.5 kB / 4.131 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/12.63, allocations: 1.969 kB / 4.131 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.1265/12.76, allocations: 102.5 MB / 4.231 GB, free: 37.64 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1)