Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json 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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/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) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004739/0.004739, allocations: 183.8 kB / 7.452 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.556/1.556, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001952/0.001952, allocations: 107.8 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2194/0.2194, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.375e-05/1.377e-05, allocations: 1.188 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1688, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.273/7.442, allocations: 2.537 GB / 2.926 GB, free: 116.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/7.442, allocations: 74.48 kB / 2.926 GB, free: 116.7 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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: time 2.889/10.33, allocations: 0.7208 GB / 3.647 GB, free: 35.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002215/10.33, allocations: 35.78 kB / 3.647 GB, free: 35.55 MB / 458.7 MB 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.01562/10.35, allocations: 2.816 MB / 3.65 GB, free: 34.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/10.35, allocations: 11.56 kB / 3.65 GB, free: 34.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005686/10.35, allocations: 0.6063 MB / 3.651 GB, free: 34.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/10.36, allocations: 1.085 MB / 3.652 GB, free: 33.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/10.36, allocations: 47.28 kB / 3.652 GB, free: 33.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005583/10.36, allocations: 69.27 kB / 3.652 GB, free: 33.83 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004015/10.36, allocations: 1.737 MB / 3.653 GB, free: 33.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/10.36, allocations: 1.555 MB / 3.655 GB, free: 33.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/10.36, allocations: 7.438 kB / 3.655 GB, free: 33.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/10.36, allocations: 3.562 kB / 3.655 GB, free: 33.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/10.36, allocations: 91.2 kB / 3.655 GB, free: 33.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6654/11.03, allocations: 137.5 MB / 3.789 GB, free: 52.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/11.03, allocations: 1.034 MB / 3.79 GB, free: 52.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/11.03, allocations: 0.547 MB / 3.791 GB, free: 52.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03603/11.07, allocations: 17.42 MB / 3.808 GB, free: 40.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/11.07, allocations: 54.62 kB / 3.808 GB, free: 40.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=91): time 3.356e-06/11.07, allocations: 0 / 3.808 GB, free: 40.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=129): time 0.07721/11.15, allocations: 10.66 MB / 3.818 GB, free: 40.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/11.15, allocations: 225.5 kB / 3.819 GB, free: 39.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/11.15, allocations: 0.7599 MB / 3.819 GB, free: 39.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005569/11.15, allocations: 25.7 kB / 3.819 GB, free: 39.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/11.15, allocations: 0.5128 MB / 3.82 GB, free: 39.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000995/11.15, allocations: 435.7 kB / 3.82 GB, free: 39.19 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/11.15, allocations: 0 / 3.82 GB, free: 39.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/11.15, allocations: 372 kB / 3.821 GB, free: 38.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/11.15, allocations: 1.337 MB / 3.822 GB, free: 38.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/11.16, allocations: 1.779 MB / 3.824 GB, free: 38.38 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008509/11.17, allocations: 1.982 MB / 3.826 GB, free: 38.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/11.17, allocations: 3.594 kB / 3.826 GB, free: 38.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01695/11.18, allocations: 5.474 MB / 3.831 GB, free: 38.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001364/11.18, allocations: 4.794 MB / 3.836 GB, free: 33.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.826e-05/11.18, allocations: 11.25 kB / 3.836 GB, free: 33.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01455/11.2, allocations: 4.093 MB / 3.84 GB, free: 33.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/11.2, allocations: 324.4 kB / 3.84 GB, free: 33.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/11.22, allocations: 6.312 MB / 3.846 GB, free: 31.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/11.22, allocations: 284.5 kB / 3.846 GB, free: 31.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/11.22, allocations: 124.8 kB / 3.846 GB, free: 31.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/11.22, allocations: 3.719 kB / 3.846 GB, free: 31.9 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01507/11.24, allocations: 3.153 MB / 3.85 GB, free: 31.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.137e-05/11.24, allocations: 11.34 kB / 3.85 GB, free: 31.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/11.24, allocations: 0.5901 MB / 3.85 GB, free: 31.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/11.24, allocations: 462.3 kB / 3.851 GB, free: 31.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003683/11.25, allocations: 1.935 MB / 3.852 GB, free: 30.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/11.25, allocations: 180.8 kB / 3.853 GB, free: 30.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005872/11.25, allocations: 108 kB / 3.853 GB, free: 30.7 MB / 474.7 MB 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.001427/11.25, allocations: 161.9 kB / 3.853 GB, free: 30.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002275/11.26, allocations: 0.4972 MB / 3.853 GB, free: 30.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/11.27, allocations: 7.326 MB / 3.861 GB, free: 30.13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.214e-05/11.27, allocations: 31.45 kB / 3.861 GB, free: 30.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/11.27, allocations: 0 / 3.861 GB, free: 30.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.074e-05/11.27, allocations: 15.2 kB / 3.861 GB, free: 30.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/11.29, allocations: 9.714 MB / 3.87 GB, free: 29.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/11.29, allocations: 2.906 kB / 3.87 GB, free: 29.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009457/11.3, allocations: 146.8 kB / 3.87 GB, free: 29.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01278/11.31, allocations: 5.057 MB / 3.875 GB, free: 29.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005582/11.31, allocations: 44.02 kB / 3.875 GB, free: 29.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/11.32, allocations: 6.997 MB / 3.882 GB, free: 28.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/11.32, allocations: 7.891 kB / 3.882 GB, free: 28.15 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01409/11.34, allocations: 6.194 MB / 3.888 GB, free: 27.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/11.34, allocations: 0.6507 MB / 3.889 GB, free: 27.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008898/11.34, allocations: 6.938 kB / 3.889 GB, free: 27.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003846/11.35, allocations: 200.8 kB / 3.889 GB, free: 27.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/11.35, allocations: 96.03 kB / 3.889 GB, free: 27.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003086/11.35, allocations: 78.61 kB / 3.889 GB, free: 27.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001814/11.35, allocations: 0.804 MB / 3.89 GB, free: 27.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01397/11.36, allocations: 2.076 MB / 3.892 GB, free: 26.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01653/11.38, allocations: 2.574 MB / 3.894 GB, free: 24.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01672/11.4, allocations: 5.326 MB / 3.9 GB, free: 21.49 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/11.4, allocations: 4.062 kB / 3.9 GB, free: 21.49 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007266/11.4, allocations: 2.53 MB / 3.902 GB, free: 20.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/11.41, allocations: 472.3 kB / 3.903 GB, free: 19.97 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05516/11.46, allocations: 19.96 MB / 3.922 GB, free: 5.348 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002249/11.46, allocations: 1.58 MB / 3.924 GB, free: 4.016 MB / 474.7 MB Notification: Performance of SimCode: time 1.754e-06/11.46, allocations: 0 / 3.924 GB, free: 4.016 MB / 474.7 MB Notification: Performance of Templates: time 0.4846/11.95, allocations: 101.2 MB / 4.022 GB, free: 69 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1)