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") [: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.2+maint.om/package.mo): time 0.004133/0.004133, allocations: 181.4 kB / 7.455 MB, free: 2.508 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.53/1.53, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001838/0.001838, allocations: 123.9 kB / 247.1 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2139/0.2139, allocations: 39.94 MB / 331.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.133e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.961/5.083, allocations: 2.648 GB / 3.085 GB, free: 122.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/5.084, allocations: 78.17 kB / 3.085 GB, free: 122.2 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: time 2.65/7.734, allocations: 0.7399 GB / 3.825 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002099/7.734, allocations: 36.75 kB / 3.825 GB, free: 36.91 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.01698/7.751, allocations: 2.924 MB / 3.828 GB, free: 35.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.156e-05/7.751, allocations: 7.469 kB / 3.828 GB, free: 35.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006218/7.758, allocations: 0.6285 MB / 3.829 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004497/7.762, allocations: 1.087 MB / 3.83 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/7.762, allocations: 43.78 kB / 3.83 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006712/7.763, allocations: 63.66 kB / 3.83 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004388/7.767, allocations: 1.746 MB / 3.832 GB, free: 35.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/7.772, allocations: 1.56 MB / 3.833 GB, free: 34.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/7.772, allocations: 7.75 kB / 3.833 GB, free: 34.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/7.772, allocations: 3.531 kB / 3.833 GB, free: 34.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/7.772, allocations: 95.91 kB / 3.833 GB, free: 34.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6642/8.437, allocations: 137.6 MB / 3.968 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/8.439, allocations: 1.031 MB / 3.969 GB, free: 121 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006942/8.439, allocations: 0.5408 MB / 3.969 GB, free: 121 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03173/8.471, allocations: 17.42 MB / 3.986 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/8.471, allocations: 45.62 kB / 3.986 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 2.976e-06/8.471, allocations: 1.938 kB / 3.986 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=129): time 0.07425/8.546, allocations: 10.67 MB / 3.997 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.808e-05/8.546, allocations: 218.6 kB / 3.997 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/8.547, allocations: 0.7547 MB / 3.998 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004142/8.548, allocations: 29.55 kB / 3.998 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/8.548, allocations: 0.5131 MB / 3.998 GB, free: 109 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008408/8.549, allocations: 434.8 kB / 3.999 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/8.55, allocations: 0 / 3.999 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001966/8.55, allocations: 373.7 kB / 3.999 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/8.552, allocations: 1.337 MB / 4 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/8.555, allocations: 1.78 MB / 4.002 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007792/8.563, allocations: 1.979 MB / 4.004 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/8.563, allocations: 3.781 kB / 4.004 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.0162/8.579, allocations: 5.468 MB / 4.009 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00149/8.581, allocations: 4.789 MB / 4.014 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.094e-05/8.581, allocations: 12.81 kB / 4.014 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/8.595, allocations: 4.083 MB / 4.018 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/8.597, allocations: 335.3 kB / 4.018 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/8.614, allocations: 6.309 MB / 4.024 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005208/8.619, allocations: 283.4 kB / 4.025 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008401/8.62, allocations: 124.9 kB / 4.025 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/8.62, allocations: 7.531 kB / 4.025 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01456/8.635, allocations: 3.151 MB / 4.028 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.59e-05/8.635, allocations: 13.62 kB / 4.028 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/8.637, allocations: 0.5934 MB / 4.029 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/8.64, allocations: 461 kB / 4.029 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003847/8.644, allocations: 1.93 MB / 4.031 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/8.647, allocations: 181 kB / 4.031 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004583/8.647, allocations: 102.6 kB / 4.031 GB, free: 100.6 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.001215/8.649, allocations: 159.9 kB / 4.031 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002126/8.651, allocations: 0.5057 MB / 4.032 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/8.667, allocations: 7.331 MB / 4.039 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/8.667, allocations: 29.86 kB / 4.039 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/8.667, allocations: 0 / 4.039 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-05/8.667, allocations: 9.141 kB / 4.039 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/8.688, allocations: 9.714 MB / 4.048 GB, free: 99.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/8.688, allocations: 7.297 kB / 4.048 GB, free: 99.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007652/8.688, allocations: 149.1 kB / 4.049 GB, free: 99.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01137/8.7, allocations: 5.056 MB / 4.054 GB, free: 99.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/8.7, allocations: 53.33 kB / 4.054 GB, free: 99.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/8.716, allocations: 6.993 MB / 4.06 GB, free: 98.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-05/8.716, allocations: 5.188 kB / 4.06 GB, free: 98.29 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01492/8.731, allocations: 6.18 MB / 4.066 GB, free: 97.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00223/8.733, allocations: 0.6564 MB / 4.067 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008657/8.734, allocations: 4.531 kB / 4.067 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003586/8.738, allocations: 199.8 kB / 4.067 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/8.738, allocations: 99.48 kB / 4.067 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00028/8.738, allocations: 75.33 kB / 4.067 GB, free: 97.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001581/8.74, allocations: 0.8057 MB / 4.068 GB, free: 97.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01133/8.751, allocations: 2.09 MB / 4.07 GB, free: 97.22 MB / 0.5417 GB 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.01412/8.765, allocations: 2.583 MB / 4.073 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01578/8.781, allocations: 5.328 MB / 4.078 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/8.781, allocations: 0 / 4.078 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006758/8.788, allocations: 2.527 MB / 4.08 GB, free: 96.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/8.792, allocations: 469.2 kB / 4.081 GB, free: 96.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05215/8.844, allocations: 20.54 MB / 4.101 GB, free: 95.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002323/8.846, allocations: 1.581 MB / 4.103 GB, free: 95.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.483e-06/8.846, allocations: 0 / 4.103 GB, free: 95.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.4649/9.311, allocations: 101.2 MB / 4.201 GB, free: 118.4 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)