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.001031/0.001031, allocations: 170.4 kB / 12.72 MB, free: 2.594 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.139/1.139, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001549/0.001549, allocations: 103.5 kB / 223.2 MB, free: 4.113 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.1796/0.1796, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.906e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08093/0.08098, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.283/5.364, allocations: 2.538 GB / 2.934 GB, free: 73.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/5.365, allocations: 74.16 kB / 2.934 GB, free: 73.61 MB / 442.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.461/7.825, allocations: 0.7243 GB / 3.659 GB, free: 33.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.323e-06/7.825, allocations: 0 / 3.659 GB, free: 33.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001123/7.825, allocations: 36.3 kB / 3.659 GB, free: 33.4 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.01113/7.837, allocations: 2.624 MB / 3.661 GB, free: 31.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/7.837, allocations: 11.5 kB / 3.661 GB, free: 31.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/7.842, allocations: 0.5793 MB / 3.662 GB, free: 31.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/7.844, allocations: 1.089 MB / 3.663 GB, free: 31.19 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/7.844, allocations: 93.34 kB / 3.663 GB, free: 31.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/7.845, allocations: 108.7 kB / 3.663 GB, free: 31.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/7.849, allocations: 2.243 MB / 3.665 GB, free: 30.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/7.849, allocations: 7.312 kB / 3.665 GB, free: 30.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/7.849, allocations: 53.59 kB / 3.665 GB, free: 30.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-05/7.85, allocations: 85.23 kB / 3.665 GB, free: 30.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004376/7.854, allocations: 2.257 MB / 3.668 GB, free: 29.34 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.01053/7.864, allocations: 8.922 MB / 3.676 GB, free: 21.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/7.868, allocations: 1.662 MB / 3.678 GB, free: 20.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008249/7.869, allocations: 0.6435 MB / 3.679 GB, free: 19.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03241/7.901, allocations: 18.81 MB / 3.697 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.525e-05/7.901, allocations: 47.55 kB / 3.697 GB, free: 15.42 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001406/7.903, allocations: 210.6 kB / 3.697 GB, free: 15.22 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 4.809e-06/7.903, allocations: 3.516 kB / 3.697 GB, free: 15.22 MB / 474.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.06437/7.967, allocations: 11.91 MB / 3.709 GB, free: 3.227 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/7.967, allocations: 230.9 kB / 3.709 GB, free: 2.949 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/7.969, allocations: 0.7356 MB / 3.71 GB, free: 2.191 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002595/7.969, allocations: 53.7 kB / 3.71 GB, free: 2.133 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/7.969, allocations: 0.5965 MB / 3.71 GB, free: 1.531 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000569/7.97, allocations: 0.5329 MB / 3.711 GB, free: 1.004 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/7.97, allocations: 32 kB / 3.711 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/7.97, allocations: 377.9 kB / 3.711 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3111/8.281, allocations: 1.24 MB / 3.713 GB, free: 50.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/8.284, allocations: 1.695 MB / 3.714 GB, free: 49.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/8.286, allocations: 1.372 MB / 3.716 GB, free: 49.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/8.286, allocations: 5.031 kB / 3.716 GB, free: 49.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007511/8.294, allocations: 4.092 MB / 3.72 GB, free: 49.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008051/8.295, allocations: 4.792 MB / 3.724 GB, free: 44.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/8.295, allocations: 12.28 kB / 3.724 GB, free: 44.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08139/8.376, allocations: 7.95 MB / 3.732 GB, free: 44.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/8.378, allocations: 380.7 kB / 3.732 GB, free: 44.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009112/8.387, allocations: 4.643 MB / 3.737 GB, free: 43.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/8.39, allocations: 248.4 kB / 3.737 GB, free: 43.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/8.391, allocations: 131.8 kB / 3.737 GB, free: 43.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/8.391, allocations: 3.25 kB / 3.737 GB, free: 43.72 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007415/8.398, allocations: 3.89 MB / 3.741 GB, free: 43.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/8.398, allocations: 12.47 kB / 3.741 GB, free: 43.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007139/8.405, allocations: 2.637 MB / 3.744 GB, free: 43.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/8.407, allocations: 450.9 kB / 3.744 GB, free: 43.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007701/8.415, allocations: 4.075 MB / 3.748 GB, free: 42.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/8.419, allocations: 239.8 kB / 3.748 GB, free: 42.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003018/8.419, allocations: 125.6 kB / 3.748 GB, free: 42.61 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 () * 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.0007157/8.42, allocations: 221.7 kB / 3.749 GB, free: 42.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/8.42, allocations: 141 kB / 3.749 GB, free: 42.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/8.435, allocations: 8.912 MB / 3.758 GB, free: 42.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/8.436, allocations: 64.08 kB / 3.758 GB, free: 42.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/8.436, allocations: 2.938 kB / 3.758 GB, free: 42.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.002e-05/8.436, allocations: 10.17 kB / 3.758 GB, free: 42.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/8.454, allocations: 11.86 MB / 3.769 GB, free: 41.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/8.454, allocations: 6.109 kB / 3.769 GB, free: 41.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/8.456, allocations: 274.5 kB / 3.769 GB, free: 41.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07054/8.526, allocations: 8.884 MB / 3.778 GB, free: 41.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005539/8.527, allocations: 64.95 kB / 3.778 GB, free: 41.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009769/8.537, allocations: 5.506 MB / 3.784 GB, free: 40.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/8.537, allocations: 2.719 kB / 3.784 GB, free: 40.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/8.551, allocations: 6.751 MB / 3.79 GB, free: 39.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/8.553, allocations: 0.6837 MB / 3.791 GB, free: 39.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/8.553, allocations: 40.02 kB / 3.791 GB, free: 39.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/8.555, allocations: 228.7 kB / 3.791 GB, free: 39.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/8.556, allocations: 133.8 kB / 3.791 GB, free: 39.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/8.556, allocations: 79.08 kB / 3.791 GB, free: 39.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001/8.557, allocations: 0.7398 MB / 3.792 GB, free: 39 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/8.557, allocations: 0 / 3.792 GB, free: 39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008887/8.566, allocations: 2.244 MB / 3.794 GB, free: 39 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 () * 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.00949/8.575, allocations: 2.383 MB / 3.797 GB, free: 38.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0172/8.593, allocations: 6.029 MB / 3.802 GB, free: 38.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/8.593, allocations: 0 / 3.802 GB, free: 38.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007104/8.6, allocations: 2.829 MB / 3.805 GB, free: 38.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/8.603, allocations: 0.5844 MB / 3.806 GB, free: 38.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5044/9.108, allocations: 124 MB / 3.927 GB, free: 59.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/9.109, allocations: 1.654 MB / 3.928 GB, free: 58.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003523/9.112, allocations: 1.51 MB / 3.93 GB, free: 58.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/9.113, allocations: 123.9 kB / 3.93 GB, free: 58.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/9.113, allocations: 3.625 kB / 3.93 GB, free: 58.41 MB / 490.7 MB Notification: Performance of Templates: time 0.1353/9.248, allocations: 106.4 MB / 4.034 GB, free: 22.73 MB / 490.7 MB 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)