Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001655/0.001655, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.777/1.777, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001757/0.001757, allocations: 115.4 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2466/0.2466, allocations: 37.98 MB / 295.1 MB, free: 9.473 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.992e-05, allocations: 1.094 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1426, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.155/7.297, allocations: 2.538 GB / 2.927 GB, free: 63.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/7.298, allocations: 79.09 kB / 2.927 GB, free: 63.64 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/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 2.942/10.24, allocations: 0.718 GB / 3.645 GB, free: 25.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.803e-06/10.24, allocations: 0 / 3.645 GB, free: 25.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001907/10.24, allocations: 46.28 kB / 3.645 GB, free: 25.73 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.01387/10.25, allocations: 2.609 MB / 3.648 GB, free: 23.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/10.25, allocations: 12.03 kB / 3.648 GB, free: 23.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/10.26, allocations: 0.5797 MB / 3.648 GB, free: 22.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003487/10.26, allocations: 1.091 MB / 3.649 GB, free: 21.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/10.26, allocations: 47.38 kB / 3.649 GB, free: 21.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006098/10.26, allocations: 60 kB / 3.649 GB, free: 21.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00378/10.27, allocations: 1.742 MB / 3.651 GB, free: 19.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/10.27, allocations: 1.549 MB / 3.653 GB, free: 17.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/10.27, allocations: 7.938 kB / 3.653 GB, free: 17.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/10.27, allocations: 4 kB / 3.653 GB, free: 17.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/10.27, allocations: 82 kB / 3.653 GB, free: 17.76 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.6947/10.97, allocations: 136.6 MB / 3.786 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/10.97, allocations: 1.043 MB / 3.787 GB, free: 21.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/10.97, allocations: 0.538 MB / 3.788 GB, free: 21.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03594/11.01, allocations: 17.42 MB / 3.805 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/11.01, allocations: 41.62 kB / 3.805 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001551/11.01, allocations: 178 kB / 3.805 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=91): time 9.137e-06/11.01, allocations: 0.8438 kB / 3.805 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.06291/11.07, allocations: 9.75 MB / 3.814 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/11.07, allocations: 223.9 kB / 3.815 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/11.07, allocations: 0.7442 MB / 3.815 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003485/11.07, allocations: 25.7 kB / 3.815 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005137/11.07, allocations: 0.6522 MB / 3.816 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005302/11.07, allocations: 431.1 kB / 3.816 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/11.07, allocations: 0 / 3.816 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001789/11.07, allocations: 363.7 kB / 3.817 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/11.08, allocations: 1.263 MB / 3.818 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/11.08, allocations: 1.707 MB / 3.82 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005994/11.08, allocations: 1.891 MB / 3.821 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/11.08, allocations: 0 / 3.821 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01062/11.09, allocations: 4.672 MB / 3.826 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00207/11.1, allocations: 4.785 MB / 3.831 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/11.1, allocations: 16 kB / 3.831 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/11.11, allocations: 3.97 MB / 3.835 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/11.11, allocations: 328.7 kB / 3.835 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/11.12, allocations: 5.741 MB / 3.84 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/11.13, allocations: 285 kB / 3.841 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/11.13, allocations: 122.5 kB / 3.841 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/11.13, allocations: 10.81 kB / 3.841 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009987/11.14, allocations: 2.906 MB / 3.844 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/11.14, allocations: 12 kB / 3.844 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/11.14, allocations: 0.564 MB / 3.844 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/11.14, allocations: 462 kB / 3.845 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/11.14, allocations: 1.779 MB / 3.846 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/11.15, allocations: 188.2 kB / 3.847 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004889/11.15, allocations: 97.38 kB / 3.847 GB, free: 6.125 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001244/11.15, allocations: 157.7 kB / 3.847 GB, free: 6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008655/11.15, allocations: 130.5 kB / 3.847 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/11.17, allocations: 6.674 MB / 3.854 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/11.17, allocations: 41.61 kB / 3.854 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/11.17, allocations: 4 kB / 3.854 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/11.17, allocations: 9.703 kB / 3.854 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3964/11.56, allocations: 8.997 MB / 3.862 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/11.56, allocations: 3 kB / 3.862 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/11.56, allocations: 148.9 kB / 3.863 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01285/11.58, allocations: 5.243 MB / 3.868 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006363/11.58, allocations: 43.91 kB / 3.868 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/11.59, allocations: 6.897 MB / 3.874 GB, free: 96.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/11.59, allocations: 2.75 kB / 3.874 GB, free: 96.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/11.6, allocations: 5.652 MB / 3.88 GB, free: 95.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/11.61, allocations: 0.6237 MB / 3.881 GB, free: 95.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/11.61, allocations: 6.875 kB / 3.881 GB, free: 95.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003252/11.61, allocations: 198 kB / 3.881 GB, free: 95.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/11.61, allocations: 96.86 kB / 3.881 GB, free: 95.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/11.61, allocations: 71.95 kB / 3.881 GB, free: 95.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001022/11.61, allocations: 0.7784 MB / 3.882 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/11.61, allocations: 0 / 3.882 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009108/11.62, allocations: 2.043 MB / 3.884 GB, free: 95.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01252/11.63, allocations: 2.469 MB / 3.886 GB, free: 95.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0125/11.64, allocations: 4.815 MB / 3.891 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/11.64, allocations: 0 / 3.891 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006023/11.65, allocations: 2.166 MB / 3.893 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/11.65, allocations: 486.8 kB / 3.893 GB, free: 95.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/11.66, allocations: 3.41 MB / 3.897 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/11.66, allocations: 1.453 MB / 3.898 GB, free: 93.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003223/11.66, allocations: 1.706 MB / 3.9 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/11.66, allocations: 94.58 kB / 3.9 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.021e-06/11.66, allocations: 0 / 3.9 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.1149/11.78, allocations: 87.08 MB / 3.985 GB, free: 81.03 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1)