Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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_laminar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") [: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.001703/0.001703, allocations: 191 kB / 7.464 MB, free: 496 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.188/1.188, allocations: 194.2 MB / 202.1 MB, free: 12.92 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.096/0.096, allocations: 118 kB / 247.1 MB, free: 6.332 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1822/0.1822, allocations: 39.94 MB / 331.9 MB, free: 9.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.396e-06, allocations: 4 kB / 392.8 MB, free: 79.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 54.87 MB / 447.7 MB, free: 24.84 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.58/5.681, allocations: 2.648 GB / 3.085 GB, free: 154.4 MB / 478.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/5.682, allocations: 73.53 kB / 3.085 GB, free: 154.3 MB / 478.1 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.425/8.106, allocations: 0.7399 GB / 3.825 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001068/8.107, allocations: 38.48 kB / 3.825 GB, free: 43.14 MB / 0.4981 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.01162/8.118, allocations: 2.921 MB / 3.828 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/8.118, allocations: 10.16 kB / 3.828 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005191/8.123, allocations: 0.63 MB / 3.829 GB, free: 41.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/8.126, allocations: 1.081 MB / 3.83 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/8.126, allocations: 51.66 kB / 3.83 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/8.126, allocations: 64.31 kB / 3.83 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002686/8.129, allocations: 1.746 MB / 3.832 GB, free: 41.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/8.131, allocations: 1.553 MB / 3.833 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/8.131, allocations: 2.812 kB / 3.833 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/8.132, allocations: 3.438 kB / 3.833 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.052e-05/8.132, allocations: 92.09 kB / 3.833 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3203/8.452, allocations: 137.6 MB / 3.968 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/8.454, allocations: 1.037 MB / 3.969 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008703/8.455, allocations: 0.5436 MB / 3.969 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.253/8.708, allocations: 17.42 MB / 3.986 GB, free: 119.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/8.708, allocations: 47.16 kB / 3.986 GB, free: 119.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=91): time 3.627e-06/8.708, allocations: 0 / 3.986 GB, free: 119.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=129): time 0.0708/8.779, allocations: 10.66 MB / 3.997 GB, free: 119.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/8.779, allocations: 229.8 kB / 3.997 GB, free: 119.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/8.78, allocations: 0.7596 MB / 3.998 GB, free: 119 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002915/8.781, allocations: 25.7 kB / 3.998 GB, free: 118.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/8.781, allocations: 0.5131 MB / 3.998 GB, free: 118.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/8.781, allocations: 437.3 kB / 3.999 GB, free: 118.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/8.782, allocations: 0 / 3.999 GB, free: 118.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/8.782, allocations: 365.2 kB / 3.999 GB, free: 118.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/8.783, allocations: 1.345 MB / 4 GB, free: 118.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/8.785, allocations: 1.777 MB / 4.002 GB, free: 117.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006578/8.792, allocations: 1.978 MB / 4.004 GB, free: 117.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/8.792, allocations: 1.594 kB / 4.004 GB, free: 117.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01428/8.806, allocations: 5.473 MB / 4.009 GB, free: 117.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007818/8.807, allocations: 4.787 MB / 4.014 GB, free: 112.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/8.807, allocations: 19.81 kB / 4.014 GB, free: 112.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01314/8.82, allocations: 4.082 MB / 4.018 GB, free: 112.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/8.822, allocations: 324.4 kB / 4.018 GB, free: 112.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/8.837, allocations: 6.312 MB / 4.024 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/8.842, allocations: 286 kB / 4.025 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004144/8.842, allocations: 126.3 kB / 4.025 GB, free: 111.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/8.842, allocations: 7.062 kB / 4.025 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/8.854, allocations: 3.145 MB / 4.028 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/8.854, allocations: 12.44 kB / 4.028 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/8.856, allocations: 0.5958 MB / 4.029 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/8.858, allocations: 459.3 kB / 4.029 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/8.862, allocations: 1.933 MB / 4.031 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/8.864, allocations: 182.2 kB / 4.031 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/8.865, allocations: 107.8 kB / 4.031 GB, free: 110.3 MB / 0.545 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.0009404/8.866, allocations: 162.6 kB / 4.031 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/8.867, allocations: 0.506 MB / 4.032 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/8.881, allocations: 7.312 MB / 4.039 GB, free: 109.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/8.881, allocations: 39.98 kB / 4.039 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/8.881, allocations: 0 / 4.039 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/8.881, allocations: 6.047 kB / 4.039 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/8.898, allocations: 9.71 MB / 4.048 GB, free: 109.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/8.899, allocations: 5.5 kB / 4.048 GB, free: 109.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/8.899, allocations: 151.5 kB / 4.049 GB, free: 109.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/8.91, allocations: 5.057 MB / 4.054 GB, free: 109.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/8.91, allocations: 49.47 kB / 4.054 GB, free: 109.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/8.924, allocations: 7 MB / 4.06 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/8.924, allocations: 10.19 kB / 4.06 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0126/8.937, allocations: 6.182 MB / 4.066 GB, free: 107.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/8.938, allocations: 0.6497 MB / 4.067 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007482/8.939, allocations: 7.531 kB / 4.067 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003463/8.942, allocations: 192.8 kB / 4.067 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/8.943, allocations: 97.22 kB / 4.067 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002974/8.943, allocations: 77.23 kB / 4.067 GB, free: 107.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 0.001554/8.945, allocations: 0.8071 MB / 4.068 GB, free: 107 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009686/8.954, allocations: 2.091 MB / 4.07 GB, free: 106.9 MB / 0.545 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.01075/8.965, allocations: 2.59 MB / 4.073 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0136/8.979, allocations: 5.323 MB / 4.078 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/8.979, allocations: 3.906 kB / 4.078 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/8.985, allocations: 2.53 MB / 4.08 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/8.988, allocations: 465.9 kB / 4.081 GB, free: 106.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0476/9.036, allocations: 20.54 MB / 4.101 GB, free: 105.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/9.038, allocations: 1.577 MB / 4.103 GB, free: 105.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/9.038, allocations: 2.688 kB / 4.103 GB, free: 105.1 MB / 0.545 GB Notification: Performance of Templates: time 0.3206/9.358, allocations: 101.2 MB / 4.201 GB, free: 122.2 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1)