Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01451/0.01451, allocations: 168.6 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.615/1.615, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.002031/0.002031, allocations: 107 kB / 226.2 MB, free: 10.09 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.4508/0.4508, allocations: 38.06 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000652/0.0006519, allocations: 15.98 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1507, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.554/7.705, allocations: 2.538 GB / 2.94 GB, free: 58.25 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/7.705, allocations: 80.92 kB / 2.94 GB, free: 58.21 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.706/11.41, allocations: 0.7263 GB / 3.667 GB, free: 24.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.077e-06/11.41, allocations: 224 / 3.667 GB, free: 24.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001661/11.41, allocations: 44.09 kB / 3.667 GB, free: 24.7 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.01612/11.43, allocations: 2.774 MB / 3.669 GB, free: 22.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/11.43, allocations: 12.03 kB / 3.669 GB, free: 22.25 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008296/11.43, allocations: 172.3 kB / 3.67 GB, free: 22.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006928/11.43, allocations: 0.5807 MB / 3.67 GB, free: 21.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003931/11.44, allocations: 1.096 MB / 3.671 GB, free: 20.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/11.44, allocations: 96.14 kB / 3.671 GB, free: 20.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005241/11.44, allocations: 105.9 kB / 3.671 GB, free: 20.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009505/11.45, allocations: 2.266 MB / 3.674 GB, free: 18.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/11.45, allocations: 6.516 kB / 3.674 GB, free: 18.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/11.45, allocations: 51.67 kB / 3.674 GB, free: 18.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/11.45, allocations: 81.11 kB / 3.674 GB, free: 18.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/11.46, allocations: 2.397 MB / 3.676 GB, free: 16.58 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.01816/11.48, allocations: 8.922 MB / 3.685 GB, free: 7.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007145/11.49, allocations: 1.774 MB / 3.687 GB, free: 5.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06114/11.55, allocations: 18.75 MB / 3.705 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.556e-05/11.55, allocations: 47.56 kB / 3.705 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001891/11.55, allocations: 202.8 kB / 3.705 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 4.148e-06/11.55, allocations: 0 / 3.705 GB, free: 0.5234 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.5907/12.14, allocations: 16.21 MB / 3.721 GB, free: 44.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/12.14, allocations: 226.7 kB / 3.721 GB, free: 44.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/12.14, allocations: 0.7531 MB / 3.722 GB, free: 44.56 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007008/12.14, allocations: 57.58 kB / 3.722 GB, free: 44.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/12.14, allocations: 0.5915 MB / 3.723 GB, free: 44.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009092/12.14, allocations: 0.5276 MB / 3.723 GB, free: 44.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/12.14, allocations: 35.88 kB / 3.723 GB, free: 44.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/12.14, allocations: 382 kB / 3.723 GB, free: 43.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007448/12.15, allocations: 1.483 MB / 3.725 GB, free: 43.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007925/12.16, allocations: 1.944 MB / 3.727 GB, free: 43.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008072/12.17, allocations: 1.613 MB / 3.728 GB, free: 43.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/12.17, allocations: 5.625 kB / 3.728 GB, free: 43.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02475/12.19, allocations: 4.731 MB / 3.733 GB, free: 43.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001033/12.19, allocations: 4.798 MB / 3.738 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/12.19, allocations: 12.31 kB / 3.738 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1783/12.37, allocations: 8.32 MB / 3.746 GB, free: 38.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/12.37, allocations: 380.1 kB / 3.746 GB, free: 38.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02922/12.4, allocations: 5.077 MB / 3.751 GB, free: 36.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006502/12.41, allocations: 256.7 kB / 3.751 GB, free: 36.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008091/12.41, allocations: 126.8 kB / 3.752 GB, free: 36.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/12.41, allocations: 3.312 kB / 3.752 GB, free: 36.98 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02678/12.44, allocations: 4.512 MB / 3.756 GB, free: 36.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.386e-05/12.44, allocations: 19.19 kB / 3.756 GB, free: 36.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02059/12.46, allocations: 2.965 MB / 3.759 GB, free: 36.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003789/12.46, allocations: 443 kB / 3.759 GB, free: 36.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/12.49, allocations: 4.456 MB / 3.764 GB, free: 35.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006122/12.49, allocations: 245.8 kB / 3.764 GB, free: 35.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006282/12.49, allocations: 126.6 kB / 3.764 GB, free: 35.86 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.001594/12.5, allocations: 494.1 kB / 3.764 GB, free: 35.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006173/12.5, allocations: 134.3 kB / 3.765 GB, free: 35.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03962/12.54, allocations: 9.517 MB / 3.774 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/12.54, allocations: 66.97 kB / 3.774 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/12.54, allocations: 3.562 kB / 3.774 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.519e-05/12.54, allocations: 7.172 kB / 3.774 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04277/12.58, allocations: 12.42 MB / 3.786 GB, free: 34.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.935e-05/12.58, allocations: 0 / 3.786 GB, free: 34.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/12.58, allocations: 279.7 kB / 3.786 GB, free: 34.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1568/12.74, allocations: 8.908 MB / 3.795 GB, free: 34.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006518/12.74, allocations: 63.53 kB / 3.795 GB, free: 34.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02727/12.77, allocations: 5.928 MB / 3.801 GB, free: 33.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/12.77, allocations: 5.516 kB / 3.801 GB, free: 33.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03703/12.8, allocations: 7.369 MB / 3.808 GB, free: 32.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/12.81, allocations: 0.6834 MB / 3.809 GB, free: 32.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006606/12.81, allocations: 39.12 kB / 3.809 GB, free: 32.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005373/12.81, allocations: 227.1 kB / 3.809 GB, free: 32.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006035/12.81, allocations: 129.9 kB / 3.809 GB, free: 32.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003514/12.81, allocations: 83.02 kB / 3.809 GB, free: 32.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001463/12.82, allocations: 0.7481 MB / 3.81 GB, free: 31.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/12.82, allocations: 0 / 3.81 GB, free: 31.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0125/12.83, allocations: 2.246 MB / 3.812 GB, free: 31.9 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.0504/12.88, allocations: 10.36 MB / 3.822 GB, free: 27.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04247/12.92, allocations: 6.719 MB / 3.829 GB, free: 25.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/12.92, allocations: 3.188 kB / 3.829 GB, free: 25.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01702/12.94, allocations: 3.071 MB / 3.832 GB, free: 24.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006105/12.94, allocations: 0.5899 MB / 3.832 GB, free: 24.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7524/13.7, allocations: 137.3 MB / 3.966 GB, free: 41.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/13.7, allocations: 1.647 MB / 3.968 GB, free: 40.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004975/13.7, allocations: 1.456 MB / 3.969 GB, free: 40.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/13.7, allocations: 0.8083 MB / 3.97 GB, free: 40.28 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/13.7, allocations: 0 / 3.97 GB, free: 40.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6376/14.34, allocations: 123.2 MB / 4.091 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/14.34, allocations: 273.6 kB / 4.091 GB, free: 64.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/22.06, allocations: 0 / 4.091 GB, free: 64.68 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat