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.001133/0.001133, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.853/1.853, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001949/0.001949, allocations: 119.2 kB / 247.4 MB, free: 15.96 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.2166/0.2166, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.014e-05, allocations: 4 kB / 393.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3297, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.143/7.473, allocations: 2.648 GB / 3.086 GB, free: 116.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/7.473, allocations: 74.34 kB / 3.086 GB, free: 116.3 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.755/10.23, allocations: 0.737 GB / 3.823 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.823e-06/10.23, allocations: 0 / 3.823 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001057/10.23, allocations: 34.84 kB / 3.823 GB, free: 39.19 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.01218/10.24, allocations: 2.713 MB / 3.826 GB, free: 37.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/10.24, allocations: 9.625 kB / 3.826 GB, free: 37.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/10.25, allocations: 0.5923 MB / 3.826 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/10.25, allocations: 1.094 MB / 3.827 GB, free: 37.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/10.25, allocations: 44.72 kB / 3.827 GB, free: 37.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/10.25, allocations: 64.7 kB / 3.827 GB, free: 37.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002816/10.25, allocations: 1.739 MB / 3.829 GB, free: 37.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/10.25, allocations: 1.548 MB / 3.831 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/10.25, allocations: 7 kB / 3.831 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/10.25, allocations: 2.719 kB / 3.831 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/10.25, allocations: 86.75 kB / 3.831 GB, free: 37.13 MB / 0.4948 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.3061/10.56, allocations: 136.7 MB / 3.964 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/10.56, allocations: 1.051 MB / 3.965 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/10.56, allocations: 0.5338 MB / 3.966 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4465/11.01, allocations: 17.41 MB / 3.983 GB, free: 77.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/11.01, allocations: 42.89 kB / 3.983 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001549/11.01, allocations: 171.2 kB / 3.983 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 8.286e-06/11.01, allocations: 3.906 kB / 3.983 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=129): time 0.06072/11.07, allocations: 9.746 MB / 3.993 GB, free: 76.76 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/11.07, allocations: 221.3 kB / 3.993 GB, free: 76.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/11.07, allocations: 0.7508 MB / 3.994 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/11.08, allocations: 25.7 kB / 3.994 GB, free: 76.33 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/11.08, allocations: 0.6449 MB / 3.994 GB, free: 76.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004693/11.08, allocations: 432.8 kB / 3.995 GB, free: 75.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/11.08, allocations: 0 / 3.995 GB, free: 75.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001215/11.08, allocations: 376.5 kB / 3.995 GB, free: 75.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/11.08, allocations: 1.26 MB / 3.996 GB, free: 75.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/11.08, allocations: 1.71 MB / 3.998 GB, free: 75.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/11.09, allocations: 1.889 MB / 4 GB, free: 75.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/11.09, allocations: 3.688 kB / 4 GB, free: 75.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01094/11.1, allocations: 4.661 MB / 4.004 GB, free: 74.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001097/11.1, allocations: 4.8 MB / 4.009 GB, free: 69.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/11.1, allocations: 11.5 kB / 4.009 GB, free: 69.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/11.11, allocations: 3.967 MB / 4.013 GB, free: 69.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/11.11, allocations: 324.5 kB / 4.013 GB, free: 69.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/11.12, allocations: 5.749 MB / 4.019 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/11.13, allocations: 277 kB / 4.019 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003948/11.13, allocations: 123.2 kB / 4.019 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/11.13, allocations: 3.781 kB / 4.019 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009667/11.14, allocations: 2.902 MB / 4.022 GB, free: 68.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/11.14, allocations: 13.94 kB / 4.022 GB, free: 68.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/11.14, allocations: 0.5715 MB / 4.023 GB, free: 68.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/11.14, allocations: 455 kB / 4.023 GB, free: 68.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/11.14, allocations: 1.791 MB / 4.025 GB, free: 67.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/11.15, allocations: 176.2 kB / 4.025 GB, free: 67.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/11.15, allocations: 103 kB / 4.025 GB, free: 67.68 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0009781/11.15, allocations: 158.2 kB / 4.025 GB, free: 67.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/11.15, allocations: 134.4 kB / 4.025 GB, free: 67.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/11.16, allocations: 6.676 MB / 4.032 GB, free: 67.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.956e-05/11.16, allocations: 39.14 kB / 4.032 GB, free: 67.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/11.16, allocations: 0 / 4.032 GB, free: 67.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/11.16, allocations: 14.28 kB / 4.032 GB, free: 67.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/11.18, allocations: 8.991 MB / 4.041 GB, free: 66.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/11.18, allocations: 0 / 4.041 GB, free: 66.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/11.18, allocations: 150.2 kB / 4.041 GB, free: 66.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009884/11.19, allocations: 5.24 MB / 4.046 GB, free: 66.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/11.19, allocations: 43.03 kB / 4.046 GB, free: 66.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/11.2, allocations: 6.898 MB / 4.053 GB, free: 65.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/11.2, allocations: 4.172 kB / 4.053 GB, free: 65.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/11.21, allocations: 5.656 MB / 4.058 GB, free: 64.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/11.21, allocations: 0.623 MB / 4.059 GB, free: 64.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006414/11.21, allocations: 0 / 4.059 GB, free: 64.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/11.22, allocations: 201.6 kB / 4.059 GB, free: 64.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/11.22, allocations: 95.41 kB / 4.059 GB, free: 64.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/11.22, allocations: 70.39 kB / 4.059 GB, free: 64.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001439/11.22, allocations: 0.7803 MB / 4.06 GB, free: 64.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.6e-07/11.22, allocations: 0 / 4.06 GB, free: 64.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01069/11.23, allocations: 2.056 MB / 4.062 GB, free: 64.47 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.012/11.24, allocations: 2.481 MB / 4.064 GB, free: 64.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01288/11.25, allocations: 4.81 MB / 4.069 GB, free: 64.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/11.25, allocations: 0 / 4.069 GB, free: 64.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006333/11.26, allocations: 2.171 MB / 4.071 GB, free: 64.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/11.26, allocations: 486 kB / 4.072 GB, free: 64.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007374/11.27, allocations: 3.388 MB / 4.075 GB, free: 63.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/11.27, allocations: 1.466 MB / 4.076 GB, free: 62.78 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003984/11.28, allocations: 1.699 MB / 4.078 GB, free: 62.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/11.28, allocations: 93.59 kB / 4.078 GB, free: 62.74 MB / 0.5417 GB Notification: Performance of SimCode: time 1.183e-06/11.28, allocations: 0 / 4.078 GB, free: 62.74 MB / 0.5417 GB Notification: Performance of Templates: time 0.5149/11.79, allocations: 87.26 MB / 4.163 GB, free: 83.95 MB / 0.5417 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)