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.008898/0.008898, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.498/1.498, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001695/0.001695, allocations: 103.3 kB / 226.2 MB, free: 10.09 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.3893/0.3893, allocations: 38.05 MB / 303.7 MB, free: 42.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005375/0.0005376, allocations: 12 kB / 362.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1619, allocations: 48.71 MB / 411.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.734/7.896, allocations: 2.538 GB / 2.94 GB, free: 67.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/7.896, allocations: 82.77 kB / 2.94 GB, free: 67.42 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.976/10.87, allocations: 0.7264 GB / 3.667 GB, free: 18.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.186e-06/10.87, allocations: 4 kB / 3.667 GB, free: 18.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001453/10.87, allocations: 37.72 kB / 3.667 GB, free: 18.84 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.01556/10.89, allocations: 2.766 MB / 3.669 GB, free: 16.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/10.89, allocations: 8.031 kB / 3.669 GB, free: 16.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/10.89, allocations: 0.5883 MB / 3.67 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/10.9, allocations: 1.087 MB / 3.671 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-05/10.9, allocations: 90.77 kB / 3.671 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/10.9, allocations: 113.9 kB / 3.671 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005007/10.9, allocations: 2.273 MB / 3.673 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/10.9, allocations: 8 kB / 3.673 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/10.9, allocations: 47.92 kB / 3.673 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/10.9, allocations: 85.94 kB / 3.674 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/10.91, allocations: 2.393 MB / 3.676 GB, free: 9.199 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.382/11.29, allocations: 8.908 MB / 3.685 GB, free: 27.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006469/11.3, allocations: 1.766 MB / 3.686 GB, free: 27.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03711/11.33, allocations: 18.76 MB / 3.705 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/11.33, allocations: 46.12 kB / 3.705 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00255/11.34, allocations: 200 kB / 3.705 GB, free: 15.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 7.183e-06/11.34, allocations: 0 / 3.705 GB, free: 15.46 MB / 458.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.09953/11.44, allocations: 16.22 MB / 3.721 GB, free: 14.42 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009052/11.44, allocations: 224.3 kB / 3.721 GB, free: 30.17 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/11.44, allocations: 0.7552 MB / 3.722 GB, free: 30.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007594/11.44, allocations: 52.45 kB / 3.722 GB, free: 29.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/11.44, allocations: 0.5909 MB / 3.722 GB, free: 29.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008095/11.44, allocations: 0.5387 MB / 3.723 GB, free: 29.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/11.44, allocations: 33.44 kB / 3.723 GB, free: 29.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/11.44, allocations: 372.7 kB / 3.723 GB, free: 29.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004362/11.44, allocations: 1.489 MB / 3.725 GB, free: 29.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004573/11.45, allocations: 1.946 MB / 3.727 GB, free: 28.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00455/11.45, allocations: 1.61 MB / 3.728 GB, free: 28.67 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/11.45, allocations: 3.219 kB / 3.728 GB, free: 28.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01661/11.47, allocations: 4.738 MB / 3.733 GB, free: 28.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00276/11.47, allocations: 4.789 MB / 3.737 GB, free: 23.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.386e-05/11.47, allocations: 12.12 kB / 3.737 GB, free: 23.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09934/11.57, allocations: 8.319 MB / 3.746 GB, free: 23.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/11.58, allocations: 383.4 kB / 3.746 GB, free: 23.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/11.59, allocations: 5.078 MB / 3.751 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00434/11.6, allocations: 249 kB / 3.751 GB, free: 22.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007866/11.6, allocations: 129.9 kB / 3.751 GB, free: 22.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/11.6, allocations: 3.375 kB / 3.751 GB, free: 22.44 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01616/11.61, allocations: 4.521 MB / 3.756 GB, free: 22.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.62e-05/11.61, allocations: 13.94 kB / 3.756 GB, free: 22.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01134/11.62, allocations: 2.959 MB / 3.759 GB, free: 22.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/11.63, allocations: 451.2 kB / 3.759 GB, free: 22.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/11.64, allocations: 4.457 MB / 3.763 GB, free: 21.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/11.65, allocations: 243.6 kB / 3.764 GB, free: 21.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007874/11.65, allocations: 123.5 kB / 3.764 GB, free: 21.32 MB / 474.7 MB 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,source.medium.phase,pump.heatTransfer.states[1].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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 164 * 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 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.002577/11.65, allocations: 493.7 kB / 3.764 GB, free: 21.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009517/11.65, allocations: 134.7 kB / 3.764 GB, free: 21.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02975/11.68, allocations: 9.516 MB / 3.774 GB, free: 20.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001145/11.68, allocations: 63.41 kB / 3.774 GB, free: 20.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.64e-05/11.68, allocations: 0 / 3.774 GB, free: 20.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.363e-05/11.68, allocations: 16.06 kB / 3.774 GB, free: 20.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03521/11.72, allocations: 12.42 MB / 3.786 GB, free: 19.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/11.72, allocations: 4.156 kB / 3.786 GB, free: 19.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/11.72, allocations: 274.3 kB / 3.786 GB, free: 19.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08796/11.81, allocations: 8.9 MB / 3.795 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006147/11.81, allocations: 62.97 kB / 3.795 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0159/11.82, allocations: 5.937 MB / 3.801 GB, free: 18.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/11.82, allocations: 3.531 kB / 3.801 GB, free: 18.24 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02391/11.85, allocations: 7.368 MB / 3.808 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002746/11.85, allocations: 0.688 MB / 3.808 GB, free: 17.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/11.85, allocations: 33.11 kB / 3.809 GB, free: 17.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003989/11.85, allocations: 227.2 kB / 3.809 GB, free: 17.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006678/11.85, allocations: 136.9 kB / 3.809 GB, free: 17.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004386/11.86, allocations: 80.27 kB / 3.809 GB, free: 17.17 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001701/11.86, allocations: 0.7517 MB / 3.81 GB, free: 17.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.71e-07/11.86, allocations: 0 / 3.81 GB, free: 17.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01451/11.87, allocations: 2.24 MB / 3.812 GB, free: 16.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01585/11.89, allocations: 2.39 MB / 3.814 GB, free: 16.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02568/11.91, allocations: 6.724 MB / 3.821 GB, free: 14.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/11.91, allocations: 0 / 3.821 GB, free: 14.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01044/11.92, allocations: 3.072 MB / 3.824 GB, free: 13.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004477/11.93, allocations: 0.588 MB / 3.824 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5687/12.5, allocations: 127.6 MB / 3.949 GB, free: 45.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/12.5, allocations: 1.647 MB / 3.951 GB, free: 45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003244/12.5, allocations: 1.462 MB / 3.952 GB, free: 44.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/12.5, allocations: 128.2 kB / 3.952 GB, free: 44.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/12.5, allocations: 0 / 3.952 GB, free: 44.91 MB / 490.7 MB Notification: Performance of Templates: time 0.502/13, allocations: 102.3 MB / 4.052 GB, free: 66.45 MB / 0.4948 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)