Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01008/0.01008, allocations: 165.5 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.638/1.638, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00199/0.00199, allocations: 110.9 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4483/0.4483, allocations: 38.06 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004597, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.882/7.992, allocations: 2.538 GB / 2.94 GB, free: 74.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/7.992, allocations: 85.81 kB / 2.94 GB, free: 74.58 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:327:3-329: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.751/11.74, allocations: 0.7263 GB / 3.667 GB, free: 28.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/11.74, allocations: 0 / 3.667 GB, free: 28.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000167/11.74, allocations: 37.23 kB / 3.667 GB, free: 28.32 MB / 458.7 MB 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.01597/11.76, allocations: 2.777 MB / 3.669 GB, free: 26.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/11.76, allocations: 10.67 kB / 3.669 GB, free: 26.74 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008499/11.76, allocations: 173.8 kB / 3.67 GB, free: 26.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006847/11.77, allocations: 0.5836 MB / 3.67 GB, free: 26.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003889/11.77, allocations: 1.093 MB / 3.671 GB, free: 25.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/11.77, allocations: 95.06 kB / 3.671 GB, free: 25.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004819/11.77, allocations: 106.6 kB / 3.671 GB, free: 25.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008714/11.78, allocations: 2.278 MB / 3.674 GB, free: 24.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/11.78, allocations: 3.938 kB / 3.674 GB, free: 24.87 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/11.78, allocations: 53.03 kB / 3.674 GB, free: 24.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/11.78, allocations: 84.92 kB / 3.674 GB, free: 24.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009916/11.79, allocations: 2.381 MB / 3.676 GB, free: 24.09 MB / 458.7 MB 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.01776/11.81, allocations: 8.923 MB / 3.685 GB, free: 17.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007375/11.82, allocations: 1.771 MB / 3.687 GB, free: 16.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05602/11.87, allocations: 18.75 MB / 3.705 GB, free: 14.92 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.009e-05/11.87, allocations: 43.56 kB / 3.705 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002042/11.87, allocations: 209.3 kB / 3.705 GB, free: 14.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 6.171e-06/11.87, allocations: 0 / 3.705 GB, free: 14.66 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.5612/12.44, allocations: 16.21 MB / 3.721 GB, free: 45.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/12.44, allocations: 226.1 kB / 3.721 GB, free: 44.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/12.44, allocations: 0.752 MB / 3.722 GB, free: 44.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000694/12.44, allocations: 52.33 kB / 3.722 GB, free: 44.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000569/12.44, allocations: 0.5906 MB / 3.723 GB, free: 44.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009814/12.44, allocations: 0.5361 MB / 3.723 GB, free: 44.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/12.44, allocations: 31.94 kB / 3.723 GB, free: 44.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/12.44, allocations: 378.8 kB / 3.723 GB, free: 44.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00775/12.45, allocations: 1.488 MB / 3.725 GB, free: 44.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008126/12.46, allocations: 1.946 MB / 3.727 GB, free: 43.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007983/12.46, allocations: 1.614 MB / 3.728 GB, free: 43.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/12.46, allocations: 2.844 kB / 3.728 GB, free: 43.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02471/12.49, allocations: 4.739 MB / 3.733 GB, free: 43.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00118/12.49, allocations: 4.79 MB / 3.738 GB, free: 38.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/12.49, allocations: 11.94 kB / 3.738 GB, free: 38.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1939/12.68, allocations: 8.31 MB / 3.746 GB, free: 38.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/12.69, allocations: 386.1 kB / 3.746 GB, free: 38.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02724/12.71, allocations: 5.079 MB / 3.751 GB, free: 37.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006229/12.72, allocations: 247 kB / 3.751 GB, free: 37.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007217/12.72, allocations: 133.9 kB / 3.752 GB, free: 37.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/12.72, allocations: 10.62 kB / 3.752 GB, free: 37.32 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02595/12.75, allocations: 4.506 MB / 3.756 GB, free: 37.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.028e-05/12.75, allocations: 14.2 kB / 3.756 GB, free: 37.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02039/12.77, allocations: 2.971 MB / 3.759 GB, free: 37.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/12.77, allocations: 435.5 kB / 3.759 GB, free: 37.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02455/12.8, allocations: 4.454 MB / 3.764 GB, free: 36.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00617/12.8, allocations: 250.4 kB / 3.764 GB, free: 36.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007216/12.8, allocations: 122.3 kB / 3.764 GB, free: 36.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.001674/12.81, allocations: 488.8 kB / 3.764 GB, free: 36.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006868/12.81, allocations: 137.3 kB / 3.765 GB, free: 35.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04173/12.85, allocations: 9.514 MB / 3.774 GB, free: 35.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.551e-05/12.85, allocations: 63.42 kB / 3.774 GB, free: 35.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/12.85, allocations: 0 / 3.774 GB, free: 35.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.752e-05/12.85, allocations: 17.16 kB / 3.774 GB, free: 35.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04347/12.89, allocations: 12.42 MB / 3.786 GB, free: 34.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/12.89, allocations: 0 / 3.786 GB, free: 34.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002265/12.89, allocations: 273.9 kB / 3.786 GB, free: 34.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1545/13.05, allocations: 8.904 MB / 3.795 GB, free: 34.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00058/13.05, allocations: 63.09 kB / 3.795 GB, free: 34.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02675/13.08, allocations: 5.928 MB / 3.801 GB, free: 33.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/13.08, allocations: 3.625 kB / 3.801 GB, free: 33.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03646/13.11, allocations: 7.368 MB / 3.808 GB, free: 32.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/13.11, allocations: 0.6879 MB / 3.809 GB, free: 32.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007387/13.12, allocations: 34.06 kB / 3.809 GB, free: 32.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005408/13.12, allocations: 231.3 kB / 3.809 GB, free: 32.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006497/13.12, allocations: 131.8 kB / 3.809 GB, free: 32.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003535/13.12, allocations: 78.61 kB / 3.809 GB, free: 32.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001556/13.12, allocations: 0.754 MB / 3.81 GB, free: 32.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.51e-07/13.12, allocations: 2.938 kB / 3.81 GB, free: 32.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01309/13.14, allocations: 2.243 MB / 3.812 GB, free: 32.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.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 (120): * Single equations (assignments): 106 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.04958/13.19, allocations: 10.36 MB / 3.822 GB, free: 29.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04114/13.23, allocations: 6.732 MB / 3.829 GB, free: 27.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/13.23, allocations: 3.031 kB / 3.829 GB, free: 27.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01796/13.25, allocations: 3.062 MB / 3.832 GB, free: 26.78 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005899/13.25, allocations: 0.5918 MB / 3.832 GB, free: 26.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7954/14.05, allocations: 136 MB / 3.965 GB, free: 43.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/14.05, allocations: 1.65 MB / 3.967 GB, free: 42.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005053/14.05, allocations: 1.461 MB / 3.968 GB, free: 42.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/14.06, allocations: 0.8009 MB / 3.969 GB, free: 42.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/14.06, allocations: 0 / 3.969 GB, free: 42.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6579/14.71, allocations: 123.2 MB / 4.089 GB, free: 62.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/14.71, allocations: 273.9 kB / 4.09 GB, free: 62.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/22.43, allocations: 1.406 kB / 4.09 GB, free: 62.45 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat