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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00211/0.00211, allocations: 180.5 kB / 7.651 MB, free: 1.402 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.813/1.813, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.001632/0.001632, allocations: 114 kB / 247.4 MB, free: 6.211 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.2479/0.2479, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.679e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1304, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.239/7.37, allocations: 2.648 GB / 3.086 GB, free: 19.44 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/7.37, allocations: 82.02 kB / 3.086 GB, free: 19.4 MB / 474.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.818/10.19, allocations: 0.737 GB / 3.823 GB, free: 4.574 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.325e-06/10.19, allocations: 0 / 3.823 GB, free: 4.574 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000189/10.19, allocations: 36.69 kB / 3.823 GB, free: 4.543 MB / 490.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.01387/10.2, allocations: 2.72 MB / 3.826 GB, free: 1.781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/10.2, allocations: 8.031 kB / 3.826 GB, free: 1.773 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005308/10.21, allocations: 0.5919 MB / 3.826 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00352/10.21, allocations: 1.091 MB / 3.827 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/10.21, allocations: 47.98 kB / 3.827 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/10.21, allocations: 60.05 kB / 3.827 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004502/10.22, allocations: 1.746 MB / 3.829 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004397/10.22, allocations: 1.545 MB / 3.831 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/10.22, allocations: 3.938 kB / 3.831 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/10.22, allocations: 8 kB / 3.831 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/10.22, allocations: 86 kB / 3.831 GB, free: 12.44 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.7189/10.94, allocations: 136.7 MB / 3.964 GB, free: 25.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/10.94, allocations: 1.047 MB / 3.965 GB, free: 25.55 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009381/10.94, allocations: 0.5322 MB / 3.966 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03468/10.98, allocations: 17.43 MB / 3.983 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.854e-05/10.98, allocations: 42.66 kB / 3.983 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001674/10.98, allocations: 177.4 kB / 3.983 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 9.448e-06/10.98, allocations: 0 / 3.983 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=129): time 0.06386/11.04, allocations: 9.742 MB / 3.993 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/11.04, allocations: 221.8 kB / 3.993 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/11.05, allocations: 0.7434 MB / 3.994 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000386/11.05, allocations: 29.7 kB / 3.994 GB, free: 13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006318/11.05, allocations: 0.6501 MB / 3.994 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/11.05, allocations: 428.3 kB / 3.995 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/11.05, allocations: 0 / 3.995 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002618/11.05, allocations: 373.4 kB / 3.995 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/11.05, allocations: 1.264 MB / 3.996 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/11.05, allocations: 1.707 MB / 3.998 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006708/11.06, allocations: 1.888 MB / 4 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/11.06, allocations: 5.719 kB / 4 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01195/11.07, allocations: 4.659 MB / 4.004 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.003622/11.08, allocations: 4.8 MB / 4.009 GB, free: 22.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.866e-05/11.08, allocations: 11.84 kB / 4.009 GB, free: 22.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01224/11.09, allocations: 3.963 MB / 4.013 GB, free: 20.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/11.09, allocations: 325.2 kB / 4.013 GB, free: 20.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/11.1, allocations: 5.755 MB / 4.019 GB, free: 17.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/11.11, allocations: 282.3 kB / 4.019 GB, free: 17.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006598/11.11, allocations: 122.8 kB / 4.019 GB, free: 16.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/11.11, allocations: 4 kB / 4.019 GB, free: 16.95 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01096/11.12, allocations: 2.909 MB / 4.022 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/11.12, allocations: 12 kB / 4.022 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/11.12, allocations: 0.5719 MB / 4.023 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/11.12, allocations: 451.8 kB / 4.023 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/11.13, allocations: 1.782 MB / 4.025 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/11.13, allocations: 182.9 kB / 4.025 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003632/11.13, allocations: 100 kB / 4.025 GB, free: 13.19 MB / 0.5573 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.00107/11.13, allocations: 167.9 kB / 4.025 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005829/11.13, allocations: 126.5 kB / 4.025 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/11.14, allocations: 6.677 MB / 4.032 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/11.15, allocations: 38.56 kB / 4.032 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/11.15, allocations: 3.953 kB / 4.032 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/11.15, allocations: 7.031 kB / 4.032 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/11.16, allocations: 8.991 MB / 4.041 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/11.16, allocations: 4.156 kB / 4.041 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/11.16, allocations: 141.3 kB / 4.041 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/11.18, allocations: 5.237 MB / 4.046 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/11.18, allocations: 45.81 kB / 4.046 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4998/11.68, allocations: 6.89 MB / 4.053 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/11.68, allocations: 1.688 kB / 4.053 GB, free: 102.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/11.69, allocations: 5.648 MB / 4.058 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/11.69, allocations: 0.629 MB / 4.059 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003561/11.69, allocations: 5.172 kB / 4.059 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/11.69, allocations: 200 kB / 4.059 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/11.69, allocations: 94.39 kB / 4.059 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/11.69, allocations: 72.39 kB / 4.059 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001077/11.69, allocations: 0.7793 MB / 4.06 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/11.69, allocations: 0 / 4.06 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009187/11.7, allocations: 2.064 MB / 4.062 GB, free: 102.2 MB / 0.5573 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.01171/11.72, allocations: 2.478 MB / 4.064 GB, free: 102 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01262/11.73, allocations: 4.802 MB / 4.069 GB, free: 102 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/11.73, allocations: 2.609 kB / 4.069 GB, free: 102 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006769/11.73, allocations: 2.172 MB / 4.071 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/11.74, allocations: 499.3 kB / 4.072 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/11.74, allocations: 3.394 MB / 4.075 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/11.74, allocations: 1.458 MB / 4.076 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003161/11.75, allocations: 1.701 MB / 4.078 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/11.75, allocations: 96.38 kB / 4.078 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.413e-06/11.75, allocations: 1.75 kB / 4.078 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.1187/11.87, allocations: 87.26 MB / 4.163 GB, free: 96.51 MB / 0.5573 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)