Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 183.3 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.2 MB / 218.9 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001106, allocations: 90.17 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5382/0.5382, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.692e-05/4.696e-05, allocations: 4 kB / 425.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 58.84 MB / 484.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.886/9.055, allocations: 2.818 GB / 3.291 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/9.056, allocations: 75.47 kB / 3.291 GB, free: 9.738 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 3.194/12.25, allocations: 0.7481 GB / 4.039 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.527e-06/12.25, allocations: 0 / 4.039 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002791/12.25, allocations: 41.25 kB / 4.039 GB, free: 45.32 MB / 0.5261 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.01745/12.27, allocations: 2.721 MB / 4.042 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/12.27, allocations: 7.75 kB / 4.042 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007007/12.27, allocations: 174.3 kB / 4.042 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004986/12.27, allocations: 0.5956 MB / 4.043 GB, free: 43.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/12.28, allocations: 1.064 MB / 4.044 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.671e-05/12.28, allocations: 91.62 kB / 4.044 GB, free: 42.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/12.28, allocations: 113.2 kB / 4.044 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/12.28, allocations: 2.257 MB / 4.046 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/12.28, allocations: 0 / 4.046 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/12.28, allocations: 49.83 kB / 4.046 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/12.28, allocations: 80.52 kB / 4.046 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004798/12.29, allocations: 2.275 MB / 4.048 GB, free: 41.11 MB / 0.5261 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.01221/12.3, allocations: 9.207 MB / 4.057 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003562/12.3, allocations: 1.751 MB / 4.059 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009382/12.3, allocations: 0.6795 MB / 4.06 GB, free: 30.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04742/12.35, allocations: 24.52 MB / 4.084 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.19e-05/12.35, allocations: 47.56 kB / 4.084 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001692/12.35, allocations: 214.5 kB / 4.084 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 8.766e-06/12.35, allocations: 4 kB / 4.084 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.009707/12.36, allocations: 2.596 MB / 4.087 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/12.36, allocations: 218.6 kB / 4.087 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/12.36, allocations: 0.8219 MB / 4.088 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002937/12.36, allocations: 49.7 kB / 4.088 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005947/12.37, allocations: 0.5578 MB / 4.088 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/12.37, allocations: 377.2 kB / 4.088 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/12.37, allocations: 24 kB / 4.089 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001946/12.37, allocations: 353.9 kB / 4.089 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/12.37, allocations: 0.5493 MB / 4.089 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/12.37, allocations: 0.9118 MB / 4.09 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/12.37, allocations: 0.6723 MB / 4.091 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/12.37, allocations: 4 kB / 4.091 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003935/12.37, allocations: 1.855 MB / 4.093 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00183/12.38, allocations: 3.76 MB / 4.096 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/12.38, allocations: 8 kB / 4.096 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02776/12.4, allocations: 2.984 MB / 4.099 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/12.41, allocations: 287 kB / 4.1 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/12.41, allocations: 1.395 MB / 4.101 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/12.41, allocations: 143.8 kB / 4.101 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/12.41, allocations: 75.92 kB / 4.101 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/12.41, allocations: 4 kB / 4.101 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4555/12.87, allocations: 1.578 MB / 4.103 GB, free: 63.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.204e-05/12.87, allocations: 10.14 kB / 4.103 GB, free: 63.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009109/12.87, allocations: 197.1 kB / 4.103 GB, free: 63.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/12.87, allocations: 348.9 kB / 4.103 GB, free: 63.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008928/12.87, allocations: 0.7388 MB / 4.104 GB, free: 63.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/12.87, allocations: 142.2 kB / 4.104 GB, free: 63.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/12.87, allocations: 67.42 kB / 4.104 GB, free: 63.41 MB / 0.5417 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 () * 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.0005276/12.87, allocations: 191.1 kB / 4.104 GB, free: 63.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/12.87, allocations: 129.9 kB / 4.104 GB, free: 63.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008942/12.88, allocations: 5.489 MB / 4.11 GB, free: 62.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.086e-05/12.88, allocations: 57.47 kB / 4.11 GB, free: 62.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/12.88, allocations: 2.344 kB / 4.11 GB, free: 62.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/12.88, allocations: 6 kB / 4.11 GB, free: 62.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/12.89, allocations: 7.538 MB / 4.117 GB, free: 62.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/12.89, allocations: 2.375 kB / 4.117 GB, free: 62.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/12.9, allocations: 206.9 kB / 4.117 GB, free: 62.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02364/12.92, allocations: 4.289 MB / 4.122 GB, free: 62.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004187/12.92, allocations: 27.16 kB / 4.122 GB, free: 62.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/12.92, allocations: 2.349 MB / 4.124 GB, free: 61.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/12.92, allocations: 4.984 kB / 4.124 GB, free: 61.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/12.93, allocations: 3.501 MB / 4.127 GB, free: 61.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/12.93, allocations: 0.6479 MB / 4.128 GB, free: 61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/12.93, allocations: 24.03 kB / 4.128 GB, free: 61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/12.93, allocations: 131 kB / 4.128 GB, free: 61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/12.93, allocations: 98.69 kB / 4.128 GB, free: 61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.587e-05/12.93, allocations: 44.73 kB / 4.128 GB, free: 61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001502/12.93, allocations: 1.037 MB / 4.129 GB, free: 60.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/12.93, allocations: 0 / 4.129 GB, free: 60.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0089/12.94, allocations: 1.95 MB / 4.131 GB, free: 60.84 MB / 0.5417 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 () * 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.01508/12.96, allocations: 5.776 MB / 4.137 GB, free: 59.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005809/12.96, allocations: 2.759 MB / 4.14 GB, free: 59.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/12.96, allocations: 1.562 kB / 4.14 GB, free: 59.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002651/12.96, allocations: 1.387 MB / 4.141 GB, free: 59.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/12.97, allocations: 0.6791 MB / 4.142 GB, free: 59.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/12.98, allocations: 4.216 MB / 4.146 GB, free: 58.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/12.98, allocations: 1.631 MB / 4.147 GB, free: 57.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003716/12.99, allocations: 1.543 MB / 4.149 GB, free: 57.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009971/12.99, allocations: 0.7919 MB / 4.15 GB, free: 57.88 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/12.99, allocations: 0 / 4.15 GB, free: 57.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1662/13.15, allocations: 94.08 MB / 4.241 GB, free: 48.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/13.15, allocations: 251.3 kB / 4.242 GB, free: 48.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.869/19.02, allocations: 0 / 4.242 GB, free: 48.54 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat