Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002649/0.002649, allocations: 202.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 98.56 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5487/0.5487, allocations: 45.22 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 8 kB / 468.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5392, allocations: 63.24 MB / 0.5193 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.009/8.548, allocations: 2.824 GB / 3.344 GB, free: 85.69 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/8.548, allocations: 82.59 kB / 3.344 GB, free: 85.65 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 3.386/11.93, allocations: 0.7586 GB / 4.102 GB, free: 42.14 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.855e-06/11.93, allocations: 2.625 kB / 4.102 GB, free: 42.14 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002246/11.93, allocations: 41.45 kB / 4.102 GB, free: 42.14 MB / 0.5573 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.0154/11.95, allocations: 2.888 MB / 4.105 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/11.95, allocations: 12.28 kB / 4.105 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001121/11.95, allocations: 175.6 kB / 4.105 GB, free: 40.86 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005757/11.96, allocations: 0.6042 MB / 4.106 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004318/11.96, allocations: 1.069 MB / 4.107 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/11.96, allocations: 94.42 kB / 4.107 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006501/11.96, allocations: 111.1 kB / 4.107 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007932/11.97, allocations: 2.278 MB / 4.109 GB, free: 40.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/11.97, allocations: 10.28 kB / 4.109 GB, free: 40.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004313/11.97, allocations: 45.58 kB / 4.11 GB, free: 40.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/11.97, allocations: 90.77 kB / 4.11 GB, free: 40.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007785/11.98, allocations: 2.388 MB / 4.112 GB, free: 40.09 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.01868/12, allocations: 9.204 MB / 4.121 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00539/12, allocations: 1.901 MB / 4.123 GB, free: 35.04 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05249/12.06, allocations: 27 MB / 4.149 GB, free: 33.48 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.467e-05/12.06, allocations: 52.12 kB / 4.149 GB, free: 33.43 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002008/12.06, allocations: 206.1 kB / 4.149 GB, free: 33.38 MB / 0.573 GB Notification: Performance of pre-optimization done (n=109): time 1.063e-05/12.06, allocations: 3.938 kB / 4.149 GB, free: 33.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=109): time 0.02112/12.08, allocations: 4.453 MB / 4.154 GB, free: 33.15 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/12.08, allocations: 217.9 kB / 4.154 GB, free: 32.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/12.08, allocations: 0.8415 MB / 4.155 GB, free: 32.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004126/12.08, allocations: 42.23 kB / 4.155 GB, free: 32.71 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/12.08, allocations: 0.5604 MB / 4.155 GB, free: 32.47 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006308/12.08, allocations: 373.4 kB / 4.156 GB, free: 32.24 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/12.08, allocations: 26.34 kB / 4.156 GB, free: 32.24 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002355/12.08, allocations: 356 kB / 4.156 GB, free: 31.93 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/12.09, allocations: 0.6481 MB / 4.157 GB, free: 31.93 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/12.09, allocations: 1.017 MB / 4.158 GB, free: 31.52 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/12.09, allocations: 0.7661 MB / 4.158 GB, free: 31.51 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/12.09, allocations: 3.938 kB / 4.158 GB, free: 31.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005524/12.09, allocations: 2.077 MB / 4.16 GB, free: 31.38 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002756/12.1, allocations: 3.752 MB / 4.164 GB, free: 27.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.192e-05/12.1, allocations: 11.31 kB / 4.164 GB, free: 27.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03127/12.13, allocations: 3.06 MB / 4.167 GB, free: 27.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/12.13, allocations: 277.3 kB / 4.167 GB, free: 27.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/12.13, allocations: 1.45 MB / 4.169 GB, free: 26.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/12.14, allocations: 141.3 kB / 4.169 GB, free: 26.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006578/12.14, allocations: 73.59 kB / 4.169 GB, free: 26.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/12.14, allocations: 2.906 kB / 4.169 GB, free: 26.88 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006276/12.14, allocations: 1.801 MB / 4.171 GB, free: 26.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-05/12.14, allocations: 9.625 kB / 4.171 GB, free: 26.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009512/12.15, allocations: 194.5 kB / 4.171 GB, free: 26.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/12.15, allocations: 350.3 kB / 4.171 GB, free: 26.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/12.15, allocations: 0.7347 MB / 4.172 GB, free: 26.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/12.15, allocations: 145.6 kB / 4.172 GB, free: 26.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002939/12.15, allocations: 67.69 kB / 4.172 GB, free: 26.27 MB / 0.573 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.001367/12.15, allocations: 432.1 kB / 4.173 GB, free: 26.06 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/12.15, allocations: 132 kB / 4.173 GB, free: 26 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009471/12.16, allocations: 5.668 MB / 4.178 GB, free: 25.38 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.604e-05/12.16, allocations: 59.23 kB / 4.178 GB, free: 25.38 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/12.16, allocations: 0 / 4.178 GB, free: 25.38 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/12.16, allocations: 7.219 kB / 4.178 GB, free: 25.38 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/12.18, allocations: 7.718 MB / 4.186 GB, free: 24.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/12.18, allocations: 0 / 4.186 GB, free: 24.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/12.18, allocations: 218.7 kB / 4.186 GB, free: 24.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02858/12.2, allocations: 4.035 MB / 4.19 GB, free: 24.54 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000515/12.21, allocations: 36.05 kB / 4.19 GB, free: 24.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004188/12.21, allocations: 2.381 MB / 4.192 GB, free: 23.95 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/12.21, allocations: 0 / 4.192 GB, free: 23.95 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007914/12.22, allocations: 3.679 MB / 4.196 GB, free: 23.45 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/12.22, allocations: 0.6468 MB / 4.197 GB, free: 23.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007474/12.22, allocations: 22.59 kB / 4.197 GB, free: 23.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/12.22, allocations: 135.3 kB / 4.197 GB, free: 23.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/12.22, allocations: 103 kB / 4.197 GB, free: 23.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/12.22, allocations: 42.34 kB / 4.197 GB, free: 23.13 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00236/12.23, allocations: 1.064 MB / 4.198 GB, free: 23.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/12.23, allocations: 0 / 4.198 GB, free: 23.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0138/12.24, allocations: 1.967 MB / 4.2 GB, free: 22.75 MB / 0.573 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.02116/12.26, allocations: 6.014 MB / 4.206 GB, free: 21.19 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009524/12.27, allocations: 3.022 MB / 4.209 GB, free: 21.11 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/12.27, allocations: 1.062 kB / 4.209 GB, free: 21.11 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/12.27, allocations: 1.485 MB / 4.21 GB, free: 21.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/12.28, allocations: 0.6914 MB / 4.211 GB, free: 21.03 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/12.3, allocations: 13.36 MB / 4.224 GB, free: 11.26 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002799/12.31, allocations: 1.625 MB / 4.225 GB, free: 26.49 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003686/12.31, allocations: 1.473 MB / 4.227 GB, free: 26.44 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/12.31, allocations: 0.8112 MB / 4.228 GB, free: 26.43 MB / 0.5886 GB Notification: Performance of SimCode: time 1.373e-06/12.31, allocations: 0 / 4.228 GB, free: 26.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6017/12.91, allocations: 88.29 MB / 4.314 GB, free: 68.53 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/12.91, allocations: 279.3 kB / 4.314 GB, free: 68.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.07/18.98, allocations: 0 / 4.314 GB, free: 68.18 MB / 0.5886 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat