Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.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_turbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001977/0.001977, allocations: 182 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.602/1.602, allocations: 194.3 MB / 207.5 MB, free: 3.441 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.001698/0.001698, allocations: 104 kB / 252.6 MB, free: 4.824 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.2401/0.2401, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.539e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.256/7.387, allocations: 2.649 GB / 3.093 GB, free: 86.19 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/7.388, allocations: 83.55 kB / 3.093 GB, free: 86.11 MB / 490.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 3.144/10.53, allocations: 0.7436 GB / 3.837 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.593e-06/10.53, allocations: 0 / 3.837 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001091/10.53, allocations: 47.11 kB / 3.837 GB, free: 39.37 MB / 0.4948 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.01273/10.55, allocations: 2.706 MB / 3.84 GB, free: 38.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/10.55, allocations: 9.375 kB / 3.84 GB, free: 38.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/10.55, allocations: 0.5993 MB / 3.84 GB, free: 37.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/10.55, allocations: 1.09 MB / 3.841 GB, free: 37.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/10.55, allocations: 95.22 kB / 3.841 GB, free: 37.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/10.55, allocations: 107.8 kB / 3.842 GB, free: 37.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004832/10.56, allocations: 2.241 MB / 3.844 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/10.56, allocations: 6.75 kB / 3.844 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/10.56, allocations: 49.02 kB / 3.844 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/10.56, allocations: 84.86 kB / 3.844 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/10.56, allocations: 2.261 MB / 3.846 GB, free: 37.23 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.01115/10.57, allocations: 8.915 MB / 3.855 GB, free: 32.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/10.58, allocations: 1.67 MB / 3.856 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009201/10.58, allocations: 0.642 MB / 3.857 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03556/10.61, allocations: 18.84 MB / 3.875 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.723e-05/10.62, allocations: 46.19 kB / 3.876 GB, free: 19.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001751/10.62, allocations: 208.8 kB / 3.876 GB, free: 19.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=109): time 1.227e-05/10.62, allocations: 0 / 3.876 GB, free: 19.87 MB / 0.4948 GB 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.06535/10.68, allocations: 11.91 MB / 3.887 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/10.68, allocations: 229 kB / 3.888 GB, free: 18.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/10.68, allocations: 0.7378 MB / 3.888 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004321/10.68, allocations: 53.7 kB / 3.888 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/10.68, allocations: 0.5935 MB / 3.889 GB, free: 18.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005504/10.69, allocations: 0.5309 MB / 3.889 GB, free: 17.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/10.69, allocations: 37.47 kB / 3.889 GB, free: 17.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001251/10.69, allocations: 370.3 kB / 3.89 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/10.69, allocations: 1.242 MB / 3.891 GB, free: 17.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/10.69, allocations: 1.699 MB / 3.893 GB, free: 16.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/10.69, allocations: 1.371 MB / 3.894 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/10.69, allocations: 3.938 kB / 3.894 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007086/10.7, allocations: 4.101 MB / 3.898 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001433/10.7, allocations: 4.794 MB / 3.903 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/10.7, allocations: 11.44 kB / 3.903 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07634/10.78, allocations: 7.969 MB / 3.911 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/10.78, allocations: 377.2 kB / 3.911 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009716/10.79, allocations: 4.638 MB / 3.915 GB, free: 17.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/10.79, allocations: 246.7 kB / 3.916 GB, free: 16.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003372/10.79, allocations: 132 kB / 3.916 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/10.79, allocations: 8.625 kB / 3.916 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008192/10.8, allocations: 3.894 MB / 3.92 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/10.8, allocations: 12 kB / 3.92 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007757/10.81, allocations: 2.637 MB / 3.922 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/10.81, allocations: 445.1 kB / 3.923 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009162/10.82, allocations: 4.063 MB / 3.927 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/10.82, allocations: 244.4 kB / 3.927 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007185/10.82, allocations: 130.2 kB / 3.927 GB, free: 7.391 MB / 0.5105 GB 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.001217/10.83, allocations: 216.5 kB / 3.927 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007577/10.83, allocations: 134.4 kB / 3.927 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4614/11.29, allocations: 8.99 MB / 3.936 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001074/11.29, allocations: 72.31 kB / 3.936 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/11.29, allocations: 2.031 kB / 3.936 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.431e-05/11.29, allocations: 6.562 kB / 3.936 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/11.31, allocations: 11.88 MB / 3.948 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/11.31, allocations: 3.938 kB / 3.948 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/11.31, allocations: 272.8 kB / 3.948 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07237/11.38, allocations: 8.862 MB / 3.957 GB, free: 51.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005838/11.39, allocations: 68 kB / 3.957 GB, free: 51.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/11.4, allocations: 5.509 MB / 3.962 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/11.4, allocations: 0 / 3.962 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/11.41, allocations: 6.756 MB / 3.969 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002555/11.41, allocations: 0.6953 MB / 3.969 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005674/11.41, allocations: 35.91 kB / 3.969 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/11.42, allocations: 224.8 kB / 3.97 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/11.42, allocations: 129.9 kB / 3.97 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002147/11.42, allocations: 82.86 kB / 3.97 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0012/11.42, allocations: 0.7356 MB / 3.971 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/11.42, allocations: 1.312 kB / 3.971 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01032/11.43, allocations: 2.266 MB / 3.973 GB, free: 49.89 MB / 0.5105 GB 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.01217/11.44, allocations: 2.407 MB / 3.975 GB, free: 49.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01853/11.46, allocations: 6.019 MB / 3.981 GB, free: 49.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/11.46, allocations: 0 / 3.981 GB, free: 49.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007204/11.47, allocations: 2.828 MB / 3.984 GB, free: 49.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/11.47, allocations: 0.5784 MB / 3.984 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2003/11.67, allocations: 126.1 MB / 4.107 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009865/11.67, allocations: 1.656 MB / 4.109 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00351/11.67, allocations: 1.509 MB / 4.111 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/11.68, allocations: 124.6 kB / 4.111 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of SimCode: time 2.023e-06/11.68, allocations: 0 / 4.111 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.5503/12.23, allocations: 106.6 MB / 4.215 GB, free: 63.21 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1)