Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002251/0.002251, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.081/2.081, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001243/0.001243, allocations: 88.42 kB / 270.9 MB, free: 8.379 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.546/0.546, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000572/0.0005722, allocations: 15.98 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1418, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.978/9.12, allocations: 2.818 GB / 3.297 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/9.121, allocations: 88.39 kB / 3.297 GB, free: 6.281 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 4.203/13.32, allocations: 0.7502 GB / 4.047 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.726e-06/13.32, allocations: 3.938 kB / 4.047 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001825/13.32, allocations: 36.36 kB / 4.047 GB, free: 42.39 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.0173/13.34, allocations: 2.871 MB / 4.05 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/13.34, allocations: 10.12 kB / 4.05 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00096/13.34, allocations: 176.8 kB / 4.05 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007252/13.35, allocations: 0.6018 MB / 4.051 GB, free: 40.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004301/13.35, allocations: 1.065 MB / 4.052 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/13.35, allocations: 93.97 kB / 4.052 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006026/13.35, allocations: 106.4 kB / 4.052 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009242/13.36, allocations: 2.284 MB / 4.054 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.164e-05/13.36, allocations: 0 / 4.054 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/13.36, allocations: 58.05 kB / 4.054 GB, free: 40.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/13.36, allocations: 84.53 kB / 4.055 GB, free: 40.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/13.37, allocations: 2.398 MB / 4.057 GB, free: 40.01 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.02232/13.4, allocations: 9.201 MB / 4.066 GB, free: 33.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008546/13.41, allocations: 1.904 MB / 4.068 GB, free: 33.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07673/13.48, allocations: 24.43 MB / 4.092 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.466e-05/13.48, allocations: 47.19 kB / 4.092 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002032/13.48, allocations: 207.2 kB / 4.092 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=109): time 6.383e-06/13.48, allocations: 4 kB / 4.092 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109): time 0.03346/13.52, allocations: 4.457 MB / 4.096 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/13.52, allocations: 218.8 kB / 4.096 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/13.52, allocations: 0.8386 MB / 4.097 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004678/13.52, allocations: 45.39 kB / 4.097 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/13.52, allocations: 0.5538 MB / 4.098 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006077/13.52, allocations: 374.1 kB / 4.098 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/13.52, allocations: 19.94 kB / 4.098 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001322/13.52, allocations: 369.7 kB / 4.099 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/13.52, allocations: 0.6457 MB / 4.099 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/13.53, allocations: 1.014 MB / 4.1 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/13.53, allocations: 0.7632 MB / 4.101 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/13.53, allocations: 0 / 4.101 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.007581/13.54, allocations: 2.003 MB / 4.103 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001546/13.54, allocations: 3.753 MB / 4.106 GB, free: 23.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/13.54, allocations: 12 kB / 4.107 GB, free: 23.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05372/13.59, allocations: 3.027 MB / 4.109 GB, free: 21.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/13.6, allocations: 288.4 kB / 4.11 GB, free: 21.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/13.6, allocations: 1.447 MB / 4.111 GB, free: 20.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/13.6, allocations: 140.5 kB / 4.111 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/13.6, allocations: 71.17 kB / 4.111 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/13.6, allocations: 4 kB / 4.111 GB, free: 19.83 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007553/13.61, allocations: 1.79 MB / 4.113 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/13.61, allocations: 8 kB / 4.113 GB, free: 18.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/13.61, allocations: 201 kB / 4.113 GB, free: 18.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/13.62, allocations: 345.5 kB / 4.114 GB, free: 17.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/13.62, allocations: 0.749 MB / 4.114 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/13.62, allocations: 133.9 kB / 4.114 GB, free: 17.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/13.62, allocations: 71.12 kB / 4.115 GB, free: 16.96 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.001164/13.62, allocations: 431.5 kB / 4.115 GB, free: 16.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/13.62, allocations: 126.5 kB / 4.115 GB, free: 16.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/13.64, allocations: 5.67 MB / 4.121 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/13.64, allocations: 60.7 kB / 4.121 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/13.64, allocations: 0 / 4.121 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.06e-05/13.64, allocations: 10.66 kB / 4.121 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/13.65, allocations: 7.713 MB / 4.128 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/13.65, allocations: 8 kB / 4.128 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/13.66, allocations: 209.8 kB / 4.128 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04784/13.7, allocations: 4.001 MB / 4.132 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000336/13.7, allocations: 31.7 kB / 4.132 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4582/14.16, allocations: 2.412 MB / 4.135 GB, free: 57.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/14.16, allocations: 1.703 kB / 4.135 GB, free: 57.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/14.17, allocations: 3.675 MB / 4.138 GB, free: 57.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/14.18, allocations: 0.6496 MB / 4.139 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005305/14.18, allocations: 22.64 kB / 4.139 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/14.18, allocations: 128.3 kB / 4.139 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/14.18, allocations: 102.1 kB / 4.139 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/14.18, allocations: 43.3 kB / 4.139 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002456/14.18, allocations: 1.06 MB / 4.14 GB, free: 57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.61e-07/14.18, allocations: 0 / 4.14 GB, free: 57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01012/14.19, allocations: 1.951 MB / 4.142 GB, free: 56.97 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.02191/14.21, allocations: 5.981 MB / 4.148 GB, free: 55.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01156/14.22, allocations: 3.019 MB / 4.151 GB, free: 55.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/14.22, allocations: 1.094 kB / 4.151 GB, free: 55.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/14.23, allocations: 1.482 MB / 4.152 GB, free: 55.76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006526/14.24, allocations: 0.6884 MB / 4.153 GB, free: 55.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/14.26, allocations: 13.42 MB / 4.166 GB, free: 46.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/14.26, allocations: 1.622 MB / 4.168 GB, free: 45.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/14.26, allocations: 0.8155 MB / 4.169 GB, free: 45.55 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/14.26, allocations: 0 / 4.169 GB, free: 45.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.303/18.56, allocations: 64.16 MB / 4.231 GB, free: 41.8 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat