Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 181.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009436, allocations: 105.6 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.407/0.407, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 8 kB / 460 MB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4229, allocations: 61.89 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.084/8.507, allocations: 2.823 GB / 3.333 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/8.508, allocations: 91.19 kB / 3.333 GB, free: 125.2 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:306:3-308: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.897/11.4, allocations: 0.7584 GB / 4.092 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.225e-06/11.4, allocations: 0 / 4.092 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001788/11.4, allocations: 35.12 kB / 4.092 GB, free: 9.375 MB / 0.5417 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.01376/11.42, allocations: 2.879 MB / 4.094 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/11.42, allocations: 8.562 kB / 4.094 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008699/11.42, allocations: 176.4 kB / 4.095 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/11.42, allocations: 0.5976 MB / 4.095 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/11.43, allocations: 1.077 MB / 4.096 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/11.43, allocations: 93.89 kB / 4.096 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005028/11.43, allocations: 107.9 kB / 4.096 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00583/11.43, allocations: 2.282 MB / 4.099 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/11.43, allocations: 0 / 4.099 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/11.43, allocations: 55.86 kB / 4.099 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/11.43, allocations: 82 kB / 4.099 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/11.44, allocations: 2.395 MB / 4.101 GB, free: 15.45 MB / 0.5573 GB 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.01632/11.46, allocations: 9.205 MB / 4.11 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005359/11.46, allocations: 1.905 MB / 4.112 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4872/11.95, allocations: 24.43 MB / 4.136 GB, free: 37.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/11.95, allocations: 47.97 kB / 4.136 GB, free: 37.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001548/11.95, allocations: 207.2 kB / 4.136 GB, free: 37.07 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=109): time 3.978e-06/11.95, allocations: 0 / 4.136 GB, free: 37.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=109): time 0.01753/11.97, allocations: 4.467 MB / 4.14 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/11.97, allocations: 219.5 kB / 4.141 GB, free: 36.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/11.97, allocations: 0.8386 MB / 4.141 GB, free: 36.51 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/11.97, allocations: 48.48 kB / 4.142 GB, free: 36.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/11.97, allocations: 0.5598 MB / 4.142 GB, free: 36.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000409/11.97, allocations: 374.5 kB / 4.142 GB, free: 36.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/11.97, allocations: 23.28 kB / 4.142 GB, free: 36.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001078/11.97, allocations: 358.4 kB / 4.143 GB, free: 35.79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/11.97, allocations: 0.6539 MB / 4.143 GB, free: 35.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/11.97, allocations: 1.014 MB / 4.144 GB, free: 35.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/11.98, allocations: 0.7654 MB / 4.145 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/11.98, allocations: 1.438 kB / 4.145 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00402/11.98, allocations: 2.072 MB / 4.147 GB, free: 35.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000845/11.98, allocations: 3.753 MB / 4.151 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/11.98, allocations: 14.11 kB / 4.151 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02958/12.01, allocations: 3.021 MB / 4.154 GB, free: 31.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/12.01, allocations: 278.4 kB / 4.154 GB, free: 31.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003689/12.02, allocations: 1.444 MB / 4.155 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/12.02, allocations: 151.3 kB / 4.156 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/12.02, allocations: 69.22 kB / 4.156 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/12.02, allocations: 3.5 kB / 4.156 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004293/12.02, allocations: 1.8 MB / 4.157 GB, free: 30.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/12.02, allocations: 10.16 kB / 4.157 GB, free: 30.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008445/12.02, allocations: 191.9 kB / 4.158 GB, free: 30.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/12.03, allocations: 349.6 kB / 4.158 GB, free: 30.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008115/12.03, allocations: 0.737 MB / 4.159 GB, free: 30.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/12.03, allocations: 145 kB / 4.159 GB, free: 30.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/12.03, allocations: 72.8 kB / 4.159 GB, free: 30.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (129): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0009524/12.03, allocations: 431.1 kB / 4.159 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/12.03, allocations: 130.1 kB / 4.159 GB, free: 29.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008063/12.04, allocations: 5.652 MB / 4.165 GB, free: 29.53 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-05/12.04, allocations: 62.78 kB / 4.165 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/12.04, allocations: 1.453 kB / 4.165 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/12.04, allocations: 6.469 kB / 4.165 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/12.05, allocations: 7.707 MB / 4.173 GB, free: 28.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/12.05, allocations: 1.094 kB / 4.173 GB, free: 28.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/12.05, allocations: 208.7 kB / 4.173 GB, free: 28.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0276/12.08, allocations: 4.003 MB / 4.177 GB, free: 28.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003616/12.08, allocations: 34.23 kB / 4.177 GB, free: 28.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/12.08, allocations: 2.38 MB / 4.179 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/12.08, allocations: 4.812 kB / 4.179 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005948/12.09, allocations: 3.687 MB / 4.183 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/12.09, allocations: 0.6413 MB / 4.183 GB, free: 27.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/12.09, allocations: 24.09 kB / 4.183 GB, free: 27.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/12.09, allocations: 130.1 kB / 4.183 GB, free: 27.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/12.09, allocations: 103.5 kB / 4.183 GB, free: 27.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.846e-05/12.09, allocations: 47.86 kB / 4.184 GB, free: 27.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001774/12.09, allocations: 1.057 MB / 4.185 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.11e-07/12.09, allocations: 0 / 4.185 GB, free: 27.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009711/12.1, allocations: 1.957 MB / 4.186 GB, free: 27.35 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.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 (93): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01681/12.12, allocations: 5.999 MB / 4.192 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007325/12.13, allocations: 3.023 MB / 4.195 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/12.13, allocations: 3.312 kB / 4.195 GB, free: 26.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002661/12.13, allocations: 1.487 MB / 4.197 GB, free: 26.01 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/12.13, allocations: 0.6796 MB / 4.197 GB, free: 25.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/12.15, allocations: 13.36 MB / 4.21 GB, free: 16.49 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/12.15, allocations: 1.627 MB / 4.212 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003009/12.15, allocations: 1.467 MB / 4.213 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009612/12.15, allocations: 0.8041 MB / 4.214 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of SimCode: time 1.483e-06/12.15, allocations: 0 / 4.214 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/12.32, allocations: 88.14 MB / 4.3 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/12.32, allocations: 295.2 kB / 4.301 GB, free: 248 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.592/17.91, allocations: 4.062 kB / 4.301 GB, free: 244 kB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat