Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008819/0.008818, allocations: 174.8 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.819/1.819, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001706/0.001706, allocations: 124.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2167/0.2167, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005365/0.0005365, allocations: 10.72 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1341, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.983/8.117, allocations: 2.649 GB / 3.099 GB, free: 17.56 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/8.118, allocations: 79.67 kB / 3.099 GB, free: 17.52 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/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 2.972/11.09, allocations: 0.7457 GB / 3.845 GB, free: 34.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.735e-06/11.09, allocations: 0 / 3.845 GB, free: 34.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001241/11.09, allocations: 42.75 kB / 3.845 GB, free: 34.57 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.01446/11.1, allocations: 2.861 MB / 3.848 GB, free: 31.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/11.1, allocations: 8.031 kB / 3.848 GB, free: 31.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/11.11, allocations: 0.596 MB / 3.848 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/11.11, allocations: 1.103 MB / 3.849 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/11.11, allocations: 92.56 kB / 3.85 GB, free: 30.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/11.11, allocations: 107 kB / 3.85 GB, free: 30.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004696/11.12, allocations: 2.265 MB / 3.852 GB, free: 27.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/11.12, allocations: 11.88 kB / 3.852 GB, free: 27.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/11.12, allocations: 48.77 kB / 3.852 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/11.12, allocations: 86 kB / 3.852 GB, free: 27.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/11.12, allocations: 2.389 MB / 3.854 GB, free: 25.41 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.009612/11.13, allocations: 8.916 MB / 3.863 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003744/11.14, allocations: 1.769 MB / 3.865 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03292/11.17, allocations: 18.78 MB / 3.883 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.651e-05/11.17, allocations: 43.56 kB / 3.883 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001557/11.17, allocations: 198.8 kB / 3.883 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 2.825e-06/11.17, allocations: 0 / 3.883 GB, free: 8.848 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.4704/11.64, allocations: 16.22 MB / 3.899 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/11.64, allocations: 228.8 kB / 3.899 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/11.64, allocations: 0.7476 MB / 3.9 GB, free: 52.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006619/11.64, allocations: 52.36 kB / 3.9 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/11.64, allocations: 0.5938 MB / 3.901 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000737/11.64, allocations: 0.5336 MB / 3.901 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/11.64, allocations: 35.16 kB / 3.901 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001336/11.64, allocations: 381.9 kB / 3.902 GB, free: 51.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004345/11.65, allocations: 1.487 MB / 3.903 GB, free: 51.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00473/11.65, allocations: 1.946 MB / 3.905 GB, free: 51.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004981/11.66, allocations: 1.606 MB / 3.907 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-05/11.66, allocations: 4.438 kB / 3.907 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.0166/11.68, allocations: 4.737 MB / 3.911 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001105/11.68, allocations: 4.799 MB / 3.916 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.827e-05/11.68, allocations: 13.88 kB / 3.916 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08832/11.77, allocations: 8.318 MB / 3.924 GB, free: 46.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/11.77, allocations: 377.2 kB / 3.924 GB, free: 46.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/11.78, allocations: 5.094 MB / 3.929 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/11.79, allocations: 247.1 kB / 3.93 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008168/11.79, allocations: 127.6 kB / 3.93 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/11.79, allocations: 4.844 kB / 3.93 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01609/11.8, allocations: 4.511 MB / 3.934 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.129e-05/11.8, allocations: 11.06 kB / 3.934 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/11.82, allocations: 2.964 MB / 3.937 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/11.82, allocations: 441.2 kB / 3.938 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/11.83, allocations: 4.459 MB / 3.942 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004515/11.84, allocations: 244.6 kB / 3.942 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008097/11.84, allocations: 124.5 kB / 3.942 GB, free: 44.13 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.002153/11.84, allocations: 488.3 kB / 3.943 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000877/11.84, allocations: 136.4 kB / 3.943 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02494/11.87, allocations: 9.506 MB / 3.952 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001377/11.87, allocations: 68.59 kB / 3.952 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.13e-05/11.87, allocations: 0 / 3.952 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001384/11.87, allocations: 11.38 kB / 3.952 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03379/11.9, allocations: 12.42 MB / 3.964 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/11.9, allocations: 3.609 kB / 3.964 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/11.9, allocations: 272.7 kB / 3.965 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08333/11.99, allocations: 8.905 MB / 3.973 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005742/11.99, allocations: 69.8 kB / 3.973 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/12, allocations: 5.921 MB / 3.979 GB, free: 41.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/12, allocations: 3.844 kB / 3.979 GB, free: 41.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02249/12.02, allocations: 7.372 MB / 3.986 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/12.03, allocations: 0.6884 MB / 3.987 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007927/12.03, allocations: 34.5 kB / 3.987 GB, free: 40.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003544/12.03, allocations: 229.6 kB / 3.987 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004603/12.03, allocations: 135.3 kB / 3.987 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/12.03, allocations: 77.52 kB / 3.987 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001696/12.03, allocations: 0.7576 MB / 3.988 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/12.03, allocations: 0 / 3.988 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01504/12.05, allocations: 2.254 MB / 3.99 GB, free: 40.22 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.01566/12.06, allocations: 2.391 MB / 3.993 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02574/12.09, allocations: 6.726 MB / 3.999 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/12.09, allocations: 0 / 3.999 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009961/12.1, allocations: 3.077 MB / 4.002 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/12.1, allocations: 0.586 MB / 4.003 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5193/12.62, allocations: 128.2 MB / 4.128 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/12.62, allocations: 1.645 MB / 4.13 GB, free: 59.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003544/12.63, allocations: 1.467 MB / 4.131 GB, free: 59.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/12.63, allocations: 130.4 kB / 4.131 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/12.63, allocations: 3.344 kB / 4.131 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.1257/12.75, allocations: 102.5 MB / 4.231 GB, free: 37.72 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1)