Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01021/0.01021, allocations: 176.5 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.001/2.001, allocations: 194.5 MB / 210.3 MB, free: 8.785 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002033/0.002032, allocations: 124.6 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2702/0.2702, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005184, allocations: 10.59 kB / 406.3 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 54.88 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.757/7.861, allocations: 2.649 GB / 3.099 GB, free: 18.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/7.861, allocations: 82.64 kB / 3.099 GB, free: 18.46 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.908/11.77, allocations: 0.7457 GB / 3.845 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.697e-06/11.77, allocations: 0 / 3.845 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001616/11.77, allocations: 40.41 kB / 3.845 GB, free: 35.07 MB / 0.4948 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.02034/11.79, allocations: 2.862 MB / 3.848 GB, free: 32.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/11.79, allocations: 8.031 kB / 3.848 GB, free: 32.55 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001331/11.79, allocations: 178.2 kB / 3.848 GB, free: 32.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008095/11.8, allocations: 0.6032 MB / 3.849 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/11.8, allocations: 1.101 MB / 3.85 GB, free: 31.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/11.8, allocations: 97.11 kB / 3.85 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004975/11.8, allocations: 103.9 kB / 3.85 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009037/11.81, allocations: 2.265 MB / 3.852 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.787e-05/11.81, allocations: 3.938 kB / 3.852 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003139/11.81, allocations: 51.59 kB / 3.852 GB, free: 28.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/11.81, allocations: 86 kB / 3.852 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009853/11.82, allocations: 2.389 MB / 3.855 GB, free: 26.12 MB / 0.4948 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.01831/11.84, allocations: 8.92 MB / 3.863 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007324/11.85, allocations: 1.773 MB / 3.865 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0572/11.91, allocations: 18.78 MB / 3.883 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.411e-05/11.91, allocations: 47.5 kB / 3.883 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002163/11.91, allocations: 201.8 kB / 3.884 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 8.656e-06/11.91, allocations: 0 / 3.884 GB, free: 9.551 MB / 0.5105 GB 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.5882/12.5, allocations: 16.22 MB / 3.899 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/12.5, allocations: 226 kB / 3.9 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/12.5, allocations: 0.7525 MB / 3.9 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007017/12.5, allocations: 55.39 kB / 3.9 GB, free: 53.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/12.5, allocations: 0.5877 MB / 3.901 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/12.5, allocations: 0.5307 MB / 3.902 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004046/12.5, allocations: 35.47 kB / 3.902 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001731/12.5, allocations: 378.9 kB / 3.902 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007917/12.51, allocations: 1.485 MB / 3.903 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00852/12.52, allocations: 1.948 MB / 3.905 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008607/12.53, allocations: 1.607 MB / 3.907 GB, free: 51.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-05/12.53, allocations: 6.281 kB / 3.907 GB, free: 51.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02633/12.55, allocations: 4.736 MB / 3.912 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001153/12.55, allocations: 4.793 MB / 3.916 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.625e-05/12.55, allocations: 23.17 kB / 3.916 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1717/12.73, allocations: 8.311 MB / 3.924 GB, free: 46.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/12.73, allocations: 385.5 kB / 3.925 GB, free: 46.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0274/12.76, allocations: 5.084 MB / 3.93 GB, free: 45.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006317/12.76, allocations: 246.5 kB / 3.93 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007399/12.76, allocations: 129.7 kB / 3.93 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/12.76, allocations: 5.438 kB / 3.93 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02543/12.79, allocations: 4.508 MB / 3.934 GB, free: 45.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.486e-05/12.79, allocations: 11.33 kB / 3.934 GB, free: 45.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01993/12.81, allocations: 2.958 MB / 3.937 GB, free: 45.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/12.81, allocations: 442.4 kB / 3.938 GB, free: 45.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0243/12.84, allocations: 4.457 MB / 3.942 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006134/12.84, allocations: 247.2 kB / 3.942 GB, free: 44.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008071/12.85, allocations: 129.8 kB / 3.942 GB, free: 44.35 MB / 0.5105 GB 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.001727/12.85, allocations: 487.4 kB / 3.943 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006845/12.85, allocations: 139.3 kB / 3.943 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03963/12.89, allocations: 9.511 MB / 3.952 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/12.89, allocations: 65.03 kB / 3.952 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/12.89, allocations: 0 / 3.952 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.373e-05/12.89, allocations: 11.27 kB / 3.952 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04345/12.93, allocations: 12.41 MB / 3.965 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.725e-05/12.93, allocations: 3.938 kB / 3.965 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/12.93, allocations: 273.9 kB / 3.965 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1526/13.09, allocations: 8.915 MB / 3.974 GB, free: 42.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006431/13.09, allocations: 62.06 kB / 3.974 GB, free: 42.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02631/13.11, allocations: 5.921 MB / 3.979 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/13.11, allocations: 0.9375 kB / 3.979 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03678/13.15, allocations: 7.375 MB / 3.987 GB, free: 40.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/13.15, allocations: 0.6866 MB / 3.987 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007714/13.15, allocations: 36.66 kB / 3.987 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005495/13.16, allocations: 230.5 kB / 3.987 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007006/13.16, allocations: 132 kB / 3.988 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000366/13.16, allocations: 78.2 kB / 3.988 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001521/13.16, allocations: 0.7514 MB / 3.988 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/13.16, allocations: 0 / 3.988 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01207/13.17, allocations: 2.261 MB / 3.991 GB, free: 40.43 MB / 0.5105 GB 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.05032/13.22, allocations: 10.37 MB / 4.001 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04173/13.27, allocations: 6.722 MB / 4.007 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/13.27, allocations: 3.094 kB / 4.007 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01659/13.28, allocations: 3.07 MB / 4.01 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00572/13.29, allocations: 0.5914 MB / 4.011 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7722/14.06, allocations: 138.2 MB / 4.146 GB, free: 51.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/14.06, allocations: 1.647 MB / 4.147 GB, free: 50.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004772/14.07, allocations: 1.459 MB / 4.149 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/14.07, allocations: 0.8039 MB / 4.15 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.793e-06/14.07, allocations: 0 / 4.15 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2646/14.33, allocations: 123.4 MB / 4.27 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/14.33, allocations: 278 kB / 4.27 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/22.25, allocations: 0 / 4.27 GB, free: 1.332 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat