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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001276/0.001276, allocations: 166.8 kB / 7.636 MB, free: 1.418 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.661/1.661, allocations: 170.6 MB / 178.7 MB, free: 15.57 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.001979/0.00198, allocations: 107.5 kB / 218 MB, free: 8.344 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.2548/0.2548, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.208e-05, allocations: 2.188 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.15, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.173/7.323, allocations: 2.538 GB / 2.927 GB, free: 63.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/7.323, allocations: 80.77 kB / 2.927 GB, free: 63.9 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 - DAE generated: time 2.951/10.27, allocations: 0.718 GB / 3.645 GB, free: 1.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.694e-06/10.27, allocations: 4 kB / 3.645 GB, free: 1.477 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002004/10.27, allocations: 39.94 kB / 3.645 GB, free: 1.438 MB / 442.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.01408/10.29, allocations: 2.618 MB / 3.648 GB, free: 14.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/10.29, allocations: 8.031 kB / 3.648 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005283/10.29, allocations: 0.5836 MB / 3.648 GB, free: 14.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/10.3, allocations: 1.093 MB / 3.649 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/10.3, allocations: 48 kB / 3.649 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007772/10.3, allocations: 60 kB / 3.649 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004699/10.3, allocations: 1.742 MB / 3.651 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003999/10.31, allocations: 1.545 MB / 3.653 GB, free: 9.547 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/10.31, allocations: 3.938 kB / 3.653 GB, free: 9.543 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/10.31, allocations: 4 kB / 3.653 GB, free: 9.539 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/10.31, allocations: 86 kB / 3.653 GB, free: 9.453 MB / 458.7 MB 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.715/11.02, allocations: 136.6 MB / 3.786 GB, free: 20.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/11.03, allocations: 1.049 MB / 3.787 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009982/11.03, allocations: 0.5336 MB / 3.788 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03581/11.06, allocations: 17.41 MB / 3.805 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.256e-05/11.06, allocations: 42.62 kB / 3.805 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00169/11.06, allocations: 182.8 kB / 3.805 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=91): time 8.546e-06/11.06, allocations: 0 / 3.805 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.06286/11.13, allocations: 9.745 MB / 3.814 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/11.13, allocations: 223.4 kB / 3.815 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/11.13, allocations: 0.7399 MB / 3.815 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003296/11.13, allocations: 30.95 kB / 3.815 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00059/11.13, allocations: 0.6452 MB / 3.816 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006849/11.13, allocations: 431.4 kB / 3.816 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/11.13, allocations: 4 kB / 3.816 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002336/11.13, allocations: 370.5 kB / 3.817 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/11.13, allocations: 1.259 MB / 3.818 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/11.14, allocations: 1.707 MB / 3.82 GB, free: 19.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006222/11.14, allocations: 1.888 MB / 3.821 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/11.14, allocations: 8 kB / 3.821 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01153/11.15, allocations: 4.664 MB / 3.826 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002352/11.16, allocations: 4.788 MB / 3.831 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-05/11.16, allocations: 12 kB / 3.831 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01288/11.17, allocations: 3.963 MB / 3.835 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/11.17, allocations: 321.2 kB / 3.835 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/11.18, allocations: 5.764 MB / 3.84 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004564/11.19, allocations: 281.8 kB / 3.841 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006598/11.19, allocations: 115.8 kB / 3.841 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/11.19, allocations: 4 kB / 3.841 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01146/11.2, allocations: 2.908 MB / 3.844 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.865e-05/11.2, allocations: 12 kB / 3.844 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/11.2, allocations: 0.5665 MB / 3.844 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/11.21, allocations: 458.8 kB / 3.845 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/11.21, allocations: 1.788 MB / 3.846 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/11.21, allocations: 178.1 kB / 3.847 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004687/11.21, allocations: 100.2 kB / 3.847 GB, free: 1.488 MB / 0.5105 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.001199/11.21, allocations: 164.9 kB / 3.847 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006506/11.21, allocations: 136.9 kB / 3.847 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3986/11.61, allocations: 6.73 MB / 3.854 GB, free: 99.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/11.61, allocations: 36.88 kB / 3.854 GB, free: 99.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/11.61, allocations: 3.812 kB / 3.854 GB, free: 99.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/11.61, allocations: 12.17 kB / 3.854 GB, free: 99.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01769/11.63, allocations: 8.978 MB / 3.862 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/11.63, allocations: 5.969 kB / 3.862 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007137/11.63, allocations: 145.8 kB / 3.863 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01131/11.64, allocations: 5.241 MB / 3.868 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004609/11.64, allocations: 46.33 kB / 3.868 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/11.66, allocations: 6.9 MB / 3.874 GB, free: 98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/11.66, allocations: 0.8594 kB / 3.874 GB, free: 98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/11.67, allocations: 5.652 MB / 3.88 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/11.67, allocations: 0.6292 MB / 3.881 GB, free: 97.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006735/11.67, allocations: 6.594 kB / 3.881 GB, free: 97.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/11.67, allocations: 198.4 kB / 3.881 GB, free: 97.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/11.67, allocations: 92.17 kB / 3.881 GB, free: 97.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/11.67, allocations: 71.36 kB / 3.881 GB, free: 97.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001438/11.67, allocations: 0.7822 MB / 3.882 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/11.67, allocations: 0 / 3.882 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01279/11.69, allocations: 2.045 MB / 3.884 GB, free: 97.3 MB / 0.5105 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.01306/11.7, allocations: 2.477 MB / 3.886 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01555/11.72, allocations: 4.804 MB / 3.891 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/11.72, allocations: 0 / 3.891 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006984/11.72, allocations: 2.176 MB / 3.893 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/11.73, allocations: 480.4 kB / 3.893 GB, free: 97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/11.73, allocations: 3.39 MB / 3.897 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/11.74, allocations: 1.467 MB / 3.898 GB, free: 95.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003933/11.74, allocations: 1.695 MB / 3.9 GB, free: 95.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/11.74, allocations: 95.88 kB / 3.9 GB, free: 95.63 MB / 0.5105 GB Notification: Performance of SimCode: time 3.166e-06/11.74, allocations: 0 / 3.9 GB, free: 95.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.1233/11.86, allocations: 87.1 MB / 3.985 GB, free: 75.83 MB / 0.5105 GB 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)