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.008973/0.008972, allocations: 165.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.647/1.647, allocations: 170.8 MB / 186.6 MB, free: 1.043 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.002017/0.002017, allocations: 117.3 kB / 226.2 MB, free: 10.09 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.4269/0.4269, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004418, allocations: 8 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1384, allocations: 48.71 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.675/7.813, allocations: 2.538 GB / 2.94 GB, free: 67.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/7.814, allocations: 77.97 kB / 2.94 GB, free: 67.21 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.727/10.54, allocations: 0.7264 GB / 3.667 GB, free: 18.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.356e-06/10.54, allocations: 0 / 3.667 GB, free: 18.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002197/10.54, allocations: 38.81 kB / 3.667 GB, free: 18.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.01589/10.56, allocations: 2.775 MB / 3.669 GB, free: 15.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.042e-05/10.56, allocations: 8.031 kB / 3.669 GB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005966/10.56, allocations: 0.5758 MB / 3.67 GB, free: 15.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003839/10.57, allocations: 1.099 MB / 3.671 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/10.57, allocations: 90.14 kB / 3.671 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006606/10.57, allocations: 108 kB / 3.671 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006949/10.57, allocations: 2.271 MB / 3.673 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/10.58, allocations: 7.094 kB / 3.673 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003897/10.58, allocations: 51.92 kB / 3.673 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/10.58, allocations: 82 kB / 3.674 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00574/10.58, allocations: 2.389 MB / 3.676 GB, free: 9.012 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.3755/10.96, allocations: 8.911 MB / 3.685 GB, free: 26.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005544/10.96, allocations: 1.77 MB / 3.686 GB, free: 26.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03359/11, allocations: 18.76 MB / 3.705 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/11, allocations: 44 kB / 3.705 GB, free: 15.19 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001521/11, allocations: 194.9 kB / 3.705 GB, free: 15.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 4.118e-06/11, allocations: 0 / 3.705 GB, free: 15.19 MB / 458.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.09963/11.1, allocations: 16.22 MB / 3.721 GB, free: 14.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009626/11.1, allocations: 222.8 kB / 3.721 GB, free: 29.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/11.1, allocations: 0.7517 MB / 3.722 GB, free: 29.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000684/11.1, allocations: 53.81 kB / 3.722 GB, free: 29.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/11.1, allocations: 0.5958 MB / 3.722 GB, free: 29.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007157/11.1, allocations: 0.5374 MB / 3.723 GB, free: 29.22 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/11.1, allocations: 34.88 kB / 3.723 GB, free: 29.22 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/11.1, allocations: 370.2 kB / 3.723 GB, free: 28.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003995/11.11, allocations: 1.49 MB / 3.725 GB, free: 28.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004431/11.11, allocations: 1.947 MB / 3.727 GB, free: 28.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004357/11.12, allocations: 1.614 MB / 3.728 GB, free: 28.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/11.12, allocations: 0 / 3.728 GB, free: 28.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01487/11.13, allocations: 4.737 MB / 3.733 GB, free: 28.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002003/11.13, allocations: 4.789 MB / 3.737 GB, free: 23.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/11.13, allocations: 12.66 kB / 3.737 GB, free: 23.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09664/11.23, allocations: 8.325 MB / 3.746 GB, free: 23.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/11.23, allocations: 385.3 kB / 3.746 GB, free: 23.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/11.25, allocations: 5.073 MB / 3.751 GB, free: 22.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/11.25, allocations: 250.1 kB / 3.751 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004542/11.25, allocations: 127.3 kB / 3.751 GB, free: 22.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/11.25, allocations: 5.531 kB / 3.751 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01393/11.26, allocations: 4.52 MB / 3.756 GB, free: 22.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/11.26, allocations: 18.48 kB / 3.756 GB, free: 22.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/11.28, allocations: 2.963 MB / 3.759 GB, free: 22.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/11.28, allocations: 441.8 kB / 3.759 GB, free: 22.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/11.29, allocations: 4.46 MB / 3.763 GB, free: 21.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/11.29, allocations: 241.8 kB / 3.764 GB, free: 21.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005073/11.3, allocations: 125.6 kB / 3.764 GB, free: 21.05 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.001478/11.3, allocations: 494.9 kB / 3.764 GB, free: 20.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/11.3, allocations: 142.3 kB / 3.764 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02258/11.32, allocations: 9.508 MB / 3.774 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.245e-05/11.32, allocations: 63.95 kB / 3.774 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/11.32, allocations: 3.953 kB / 3.774 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-05/11.32, allocations: 10.97 kB / 3.774 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/11.35, allocations: 12.42 MB / 3.786 GB, free: 19.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/11.35, allocations: 0 / 3.786 GB, free: 19.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/11.35, allocations: 272.5 kB / 3.786 GB, free: 19.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08382/11.43, allocations: 8.909 MB / 3.795 GB, free: 19.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005909/11.43, allocations: 64.88 kB / 3.795 GB, free: 19.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/11.45, allocations: 5.927 MB / 3.801 GB, free: 17.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/11.45, allocations: 6.531 kB / 3.801 GB, free: 17.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02257/11.47, allocations: 7.366 MB / 3.808 GB, free: 17.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002474/11.47, allocations: 0.6863 MB / 3.808 GB, free: 16.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009315/11.48, allocations: 35.19 kB / 3.809 GB, free: 16.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003804/11.48, allocations: 237.3 kB / 3.809 GB, free: 16.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005557/11.48, allocations: 134.2 kB / 3.809 GB, free: 16.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004018/11.48, allocations: 76.22 kB / 3.809 GB, free: 16.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001535/11.48, allocations: 0.7559 MB / 3.81 GB, free: 16.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/11.48, allocations: 0 / 3.81 GB, free: 16.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01372/11.5, allocations: 2.247 MB / 3.812 GB, free: 16.57 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.01669/11.51, allocations: 2.373 MB / 3.814 GB, free: 16.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02594/11.54, allocations: 6.728 MB / 3.821 GB, free: 14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/11.54, allocations: 3.156 kB / 3.821 GB, free: 14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01028/11.55, allocations: 3.065 MB / 3.824 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/11.55, allocations: 0.597 MB / 3.824 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5643/12.12, allocations: 127.7 MB / 3.949 GB, free: 45.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/12.12, allocations: 1.649 MB / 3.951 GB, free: 44.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003312/12.12, allocations: 1.455 MB / 3.952 GB, free: 44.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/12.12, allocations: 129.2 kB / 3.952 GB, free: 44.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/12.12, allocations: 0 / 3.952 GB, free: 44.9 MB / 490.7 MB Notification: Performance of Templates: time 0.4706/12.59, allocations: 102.3 MB / 4.052 GB, free: 66.42 MB / 0.4948 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)