Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",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.01014/0.01014, allocations: 175.9 kB / 15.12 MB, free: 5.934 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.068/2.068, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002548/0.002547, allocations: 124.6 kB / 255.6 MB, free: 10.22 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.269/0.269, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006724/0.0006725, allocations: 10 kB / 406.3 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1148, allocations: 54.87 MB / 461.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.027/8.142, allocations: 2.649 GB / 3.099 GB, free: 17.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/8.142, allocations: 78.97 kB / 3.099 GB, free: 17.59 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.889/12.03, allocations: 0.7457 GB / 3.845 GB, free: 34.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.306e-06/12.03, allocations: 0 / 3.845 GB, free: 34.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00016/12.03, allocations: 38.34 kB / 3.845 GB, free: 34.6 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.01678/12.05, allocations: 2.871 MB / 3.848 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/12.05, allocations: 12.03 kB / 3.848 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008101/12.05, allocations: 171.3 kB / 3.848 GB, free: 31.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00683/12.06, allocations: 0.5972 MB / 3.849 GB, free: 31.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003895/12.06, allocations: 1.098 MB / 3.85 GB, free: 30.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/12.06, allocations: 94 kB / 3.85 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/12.06, allocations: 105.2 kB / 3.85 GB, free: 30 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008452/12.07, allocations: 2.267 MB / 3.852 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/12.07, allocations: 3.938 kB / 3.852 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/12.07, allocations: 54.72 kB / 3.852 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/12.07, allocations: 81.95 kB / 3.852 GB, free: 27.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009651/12.08, allocations: 2.393 MB / 3.855 GB, free: 25.07 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.01752/12.1, allocations: 8.91 MB / 3.863 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00751/12.1, allocations: 1.768 MB / 3.865 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0583/12.16, allocations: 18.79 MB / 3.883 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/12.16, allocations: 47.56 kB / 3.883 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001965/12.16, allocations: 194.9 kB / 3.884 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 5.901e-06/12.16, allocations: 0 / 3.884 GB, free: 8.512 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.5911/12.76, allocations: 16.22 MB / 3.899 GB, free: 53.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/12.76, allocations: 225.2 kB / 3.9 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/12.76, allocations: 0.7521 MB / 3.9 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006856/12.76, allocations: 53.25 kB / 3.9 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005191/12.76, allocations: 0.5949 MB / 3.901 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009392/12.76, allocations: 0.5245 MB / 3.902 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/12.76, allocations: 34.75 kB / 3.902 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001448/12.76, allocations: 378.6 kB / 3.902 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007641/12.77, allocations: 1.49 MB / 3.903 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008434/12.78, allocations: 1.947 MB / 3.905 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008438/12.78, allocations: 1.609 MB / 3.907 GB, free: 51.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.57e-05/12.79, allocations: 3.062 kB / 3.907 GB, free: 51.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02553/12.81, allocations: 4.747 MB / 3.912 GB, free: 51.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001228/12.81, allocations: 4.799 MB / 3.916 GB, free: 46.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-05/12.81, allocations: 12.31 kB / 3.916 GB, free: 46.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1711/12.98, allocations: 8.314 MB / 3.924 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/12.99, allocations: 382 kB / 3.925 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02707/13.01, allocations: 5.087 MB / 3.93 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00646/13.02, allocations: 242.1 kB / 3.93 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007809/13.02, allocations: 136.4 kB / 3.93 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/13.02, allocations: 3.188 kB / 3.93 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02548/13.05, allocations: 4.508 MB / 3.934 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.018e-05/13.05, allocations: 15.84 kB / 3.934 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02012/13.07, allocations: 2.954 MB / 3.937 GB, free: 45.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003772/13.07, allocations: 441.5 kB / 3.938 GB, free: 45.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02422/13.09, allocations: 4.466 MB / 3.942 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00619/13.1, allocations: 244.5 kB / 3.942 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007008/13.1, allocations: 128.5 kB / 3.942 GB, free: 44.53 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.001643/13.1, allocations: 485.7 kB / 3.943 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006514/13.1, allocations: 138.8 kB / 3.943 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03998/13.14, allocations: 9.51 MB / 3.952 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001072/13.14, allocations: 65.48 kB / 3.952 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/13.14, allocations: 0 / 3.952 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/13.14, allocations: 12.36 kB / 3.952 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0453/13.19, allocations: 12.41 MB / 3.965 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-05/13.19, allocations: 0 / 3.965 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002348/13.19, allocations: 272.6 kB / 3.965 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1526/13.34, allocations: 8.913 MB / 3.974 GB, free: 42.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005886/13.35, allocations: 68.8 kB / 3.974 GB, free: 42.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02688/13.37, allocations: 5.917 MB / 3.979 GB, free: 41.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/13.37, allocations: 5.875 kB / 3.979 GB, free: 41.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03581/13.41, allocations: 7.365 MB / 3.987 GB, free: 41.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/13.41, allocations: 0.6907 MB / 3.987 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005702/13.41, allocations: 33.91 kB / 3.987 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005214/13.42, allocations: 229.6 kB / 3.987 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007575/13.42, allocations: 130.7 kB / 3.988 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003747/13.42, allocations: 85.05 kB / 3.988 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001687/13.42, allocations: 0.7507 MB / 3.988 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/13.42, allocations: 0 / 3.988 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01345/13.43, allocations: 2.257 MB / 3.991 GB, free: 40.6 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.05109/13.48, allocations: 10.37 MB / 4.001 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04172/13.53, allocations: 6.722 MB / 4.007 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/13.53, allocations: 0 / 4.007 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01683/13.54, allocations: 3.083 MB / 4.01 GB, free: 35.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005748/13.55, allocations: 0.586 MB / 4.011 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7918/14.34, allocations: 138.2 MB / 4.146 GB, free: 51.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/14.34, allocations: 1.644 MB / 4.147 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004963/14.35, allocations: 1.457 MB / 4.149 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001852/14.35, allocations: 0.8079 MB / 4.15 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/14.35, allocations: 0 / 4.15 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2786/14.63, allocations: 123.4 MB / 4.27 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004192/14.63, allocations: 275.5 kB / 4.27 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/22.82, allocations: 3.938 kB / 4.27 GB, free: 0.7422 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat