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.001186/0.001186, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001145/0.001145, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2308/0.2308, allocations: 43.55 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 58.87 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.189/7.326, allocations: 2.818 GB / 3.297 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/7.326, allocations: 82.95 kB / 3.297 GB, free: 91.56 MB / 0.5105 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.189/10.52, allocations: 0.7502 GB / 4.047 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.927e-06/10.52, allocations: 0 / 4.047 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002655/10.52, allocations: 39.92 kB / 4.047 GB, free: 41.84 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.01614/10.53, allocations: 2.88 MB / 4.05 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/10.53, allocations: 14.55 kB / 4.05 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001146/10.53, allocations: 172.2 kB / 4.05 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005644/10.54, allocations: 0.6036 MB / 4.051 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/10.54, allocations: 1.077 MB / 4.052 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/10.54, allocations: 94.12 kB / 4.052 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006978/10.54, allocations: 107.3 kB / 4.052 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007529/10.55, allocations: 2.283 MB / 4.054 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.409e-05/10.55, allocations: 0 / 4.054 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005025/10.55, allocations: 54.31 kB / 4.054 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/10.55, allocations: 91.39 kB / 4.055 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006546/10.56, allocations: 2.394 MB / 4.057 GB, free: 39.64 MB / 0.5261 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.01689/10.58, allocations: 9.203 MB / 4.066 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/10.58, allocations: 1.899 MB / 4.068 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04315/10.62, allocations: 24.43 MB / 4.092 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/10.62, allocations: 50.84 kB / 4.092 GB, free: 19.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001747/10.63, allocations: 203.4 kB / 4.092 GB, free: 19.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 5.21e-06/10.63, allocations: 4 kB / 4.092 GB, free: 19.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.0194/10.65, allocations: 4.451 MB / 4.096 GB, free: 19.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/10.65, allocations: 220.8 kB / 4.096 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/10.65, allocations: 0.837 MB / 4.097 GB, free: 18.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/10.65, allocations: 48.42 kB / 4.097 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/10.65, allocations: 0.559 MB / 4.098 GB, free: 18.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/10.65, allocations: 374.9 kB / 4.098 GB, free: 18.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/10.65, allocations: 24.84 kB / 4.098 GB, free: 18.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001091/10.65, allocations: 362.5 kB / 4.099 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/10.65, allocations: 0.6501 MB / 4.099 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/10.65, allocations: 1.007 MB / 4.1 GB, free: 17.56 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/10.65, allocations: 0.7646 MB / 4.101 GB, free: 17.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/10.65, allocations: 3.938 kB / 4.101 GB, free: 17.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003868/10.66, allocations: 2.075 MB / 4.103 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001967/10.66, allocations: 3.752 MB / 4.107 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/10.66, allocations: 10.84 kB / 4.107 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02961/10.69, allocations: 3.028 MB / 4.11 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/10.69, allocations: 278.9 kB / 4.11 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/10.69, allocations: 1.437 MB / 4.111 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/10.69, allocations: 144.7 kB / 4.111 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/10.69, allocations: 73.58 kB / 4.111 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/10.69, allocations: 3.656 kB / 4.111 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00406/10.7, allocations: 1.792 MB / 4.113 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/10.7, allocations: 12.64 kB / 4.113 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008327/10.7, allocations: 195.4 kB / 4.113 GB, free: 28.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/10.7, allocations: 348.8 kB / 4.114 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008961/10.7, allocations: 0.7443 MB / 4.114 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/10.7, allocations: 143.8 kB / 4.115 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/10.7, allocations: 66.73 kB / 4.115 GB, free: 28.14 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 () * 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.0009557/10.7, allocations: 437.8 kB / 4.115 GB, free: 27.94 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/10.7, allocations: 134.7 kB / 4.115 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00781/10.71, allocations: 5.661 MB / 4.121 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.597e-05/10.71, allocations: 59.19 kB / 4.121 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/10.71, allocations: 0 / 4.121 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/10.71, allocations: 6 kB / 4.121 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/10.72, allocations: 7.707 MB / 4.128 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/10.72, allocations: 0 / 4.128 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008106/10.73, allocations: 215 kB / 4.129 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02491/10.75, allocations: 3.999 MB / 4.132 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000378/10.75, allocations: 33.81 kB / 4.132 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003201/10.75, allocations: 2.383 MB / 4.135 GB, free: 25.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/10.75, allocations: 0 / 4.135 GB, free: 25.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/10.76, allocations: 3.681 MB / 4.138 GB, free: 25.33 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/10.76, allocations: 0.6478 MB / 4.139 GB, free: 25.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/10.76, allocations: 27.38 kB / 4.139 GB, free: 25.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/10.76, allocations: 130.7 kB / 4.139 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/10.76, allocations: 100.3 kB / 4.139 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.421e-05/10.76, allocations: 41.28 kB / 4.139 GB, free: 25.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001462/10.76, allocations: 1.059 MB / 4.14 GB, free: 24.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/10.76, allocations: 0 / 4.14 GB, free: 24.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00999/10.77, allocations: 1.955 MB / 4.142 GB, free: 24.64 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 () * 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.01767/10.79, allocations: 5.986 MB / 4.148 GB, free: 23.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007137/10.8, allocations: 3.025 MB / 4.151 GB, free: 23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/10.8, allocations: 2.719 kB / 4.151 GB, free: 23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002499/10.8, allocations: 1.489 MB / 4.152 GB, free: 22.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/10.81, allocations: 0.6768 MB / 4.153 GB, free: 22.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/10.82, allocations: 13.36 MB / 4.166 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/10.83, allocations: 1.617 MB / 4.168 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003214/10.83, allocations: 1.466 MB / 4.169 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/10.83, allocations: 0.8099 MB / 4.17 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of SimCode: time 2.274e-06/10.83, allocations: 0 / 4.17 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5579/11.39, allocations: 88.03 MB / 4.256 GB, free: 63.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/11.39, allocations: 277.1 kB / 4.256 GB, free: 63.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.984/17.37, allocations: 0 / 4.256 GB, free: 63.43 MB / 0.5573 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