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.001283/0.001283, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.153/1.153, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001612/0.001612, allocations: 110.8 kB / 223.2 MB, free: 4.109 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.1692/0.1692, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.742e-05, allocations: 0 / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.08988, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.294/5.384, allocations: 2.538 GB / 2.934 GB, free: 141.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/5.384, allocations: 79.7 kB / 2.934 GB, free: 141.6 MB / 442.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.68/8.064, allocations: 0.7243 GB / 3.659 GB, free: 33.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.565e-06/8.064, allocations: 0 / 3.659 GB, free: 33.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001087/8.065, allocations: 37.91 kB / 3.659 GB, free: 33.37 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.01115/8.076, allocations: 2.613 MB / 3.661 GB, free: 32.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/8.076, allocations: 10.22 kB / 3.661 GB, free: 32.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/8.081, allocations: 0.5832 MB / 3.662 GB, free: 31.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/8.083, allocations: 1.094 MB / 3.663 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.113e-05/8.083, allocations: 96.92 kB / 3.663 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/8.083, allocations: 104.1 kB / 3.663 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/8.088, allocations: 2.248 MB / 3.665 GB, free: 31.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/8.088, allocations: 3.281 kB / 3.665 GB, free: 31.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/8.088, allocations: 50.53 kB / 3.665 GB, free: 31.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.196e-05/8.088, allocations: 82.17 kB / 3.665 GB, free: 31.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004356/8.092, allocations: 2.262 MB / 3.668 GB, free: 31.27 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.01037/8.103, allocations: 8.917 MB / 3.676 GB, free: 26.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/8.106, allocations: 1.666 MB / 3.678 GB, free: 26.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000857/8.107, allocations: 0.6455 MB / 3.679 GB, free: 26.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03249/8.14, allocations: 18.81 MB / 3.697 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/8.14, allocations: 47.72 kB / 3.697 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001419/8.141, allocations: 202.2 kB / 3.697 GB, free: 13.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 3.066e-06/8.141, allocations: 0 / 3.697 GB, free: 13.98 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.06009/8.201, allocations: 11.91 MB / 3.709 GB, free: 12.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/8.201, allocations: 225.5 kB / 3.709 GB, free: 12.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/8.203, allocations: 0.7464 MB / 3.71 GB, free: 12.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006058/8.203, allocations: 51.17 kB / 3.71 GB, free: 12.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/8.204, allocations: 0.5987 MB / 3.71 GB, free: 12.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006133/8.204, allocations: 0.5301 MB / 3.711 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/8.205, allocations: 33.84 kB / 3.711 GB, free: 11.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/8.205, allocations: 380 kB / 3.711 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/8.207, allocations: 1.242 MB / 3.713 GB, free: 11.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/8.209, allocations: 1.695 MB / 3.714 GB, free: 11.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/8.212, allocations: 1.367 MB / 3.716 GB, free: 11.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/8.212, allocations: 4.312 kB / 3.716 GB, free: 11.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007552/8.219, allocations: 4.099 MB / 3.72 GB, free: 10.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002136/8.221, allocations: 4.799 MB / 3.724 GB, free: 21.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/8.221, allocations: 11.31 kB / 3.724 GB, free: 21.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07762/8.299, allocations: 7.95 MB / 3.732 GB, free: 19.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/8.301, allocations: 382.9 kB / 3.732 GB, free: 19.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009396/8.31, allocations: 4.635 MB / 3.737 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/8.314, allocations: 244.5 kB / 3.737 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/8.314, allocations: 128.7 kB / 3.737 GB, free: 15.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/8.314, allocations: 4 kB / 3.737 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007845/8.322, allocations: 3.897 MB / 3.741 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/8.322, allocations: 19.97 kB / 3.741 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007475/8.33, allocations: 2.645 MB / 3.744 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/8.332, allocations: 436.5 kB / 3.744 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00912/8.341, allocations: 4.073 MB / 3.748 GB, free: 6.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/8.345, allocations: 244.3 kB / 3.748 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006449/8.346, allocations: 129.9 kB / 3.748 GB, free: 5.93 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 () * 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.001115/8.347, allocations: 223.4 kB / 3.749 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006476/8.348, allocations: 138.4 kB / 3.749 GB, free: 5.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3749/8.723, allocations: 8.928 MB / 3.758 GB, free: 46.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-05/8.723, allocations: 63.81 kB / 3.758 GB, free: 46.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/8.723, allocations: 5.5 kB / 3.758 GB, free: 46.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.798e-05/8.723, allocations: 16.17 kB / 3.758 GB, free: 46.67 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/8.744, allocations: 11.87 MB / 3.769 GB, free: 45.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/8.744, allocations: 3.062 kB / 3.769 GB, free: 45.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/8.746, allocations: 276.8 kB / 3.769 GB, free: 45.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06934/8.815, allocations: 8.862 MB / 3.778 GB, free: 45.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004506/8.816, allocations: 66.45 kB / 3.778 GB, free: 45.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009404/8.825, allocations: 5.511 MB / 3.784 GB, free: 44.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/8.825, allocations: 5.562 kB / 3.784 GB, free: 44.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/8.839, allocations: 6.751 MB / 3.79 GB, free: 44.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/8.841, allocations: 0.6906 MB / 3.791 GB, free: 44.06 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/8.841, allocations: 32.94 kB / 3.791 GB, free: 44.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/8.844, allocations: 227.8 kB / 3.791 GB, free: 44.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/8.844, allocations: 134.7 kB / 3.791 GB, free: 44.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/8.845, allocations: 82.73 kB / 3.791 GB, free: 44.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00103/8.846, allocations: 0.7428 MB / 3.792 GB, free: 43.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/8.846, allocations: 0 / 3.792 GB, free: 43.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009276/8.855, allocations: 2.24 MB / 3.794 GB, free: 43.93 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 () * 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.01082/8.866, allocations: 2.391 MB / 3.797 GB, free: 43.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01739/8.883, allocations: 6.015 MB / 3.802 GB, free: 43.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/8.883, allocations: 3.781 kB / 3.802 GB, free: 43.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007461/8.891, allocations: 2.827 MB / 3.805 GB, free: 43.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/8.895, allocations: 0.5896 MB / 3.806 GB, free: 43.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1904/9.085, allocations: 124 MB / 3.927 GB, free: 2.176 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008645/9.086, allocations: 1.645 MB / 3.928 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003668/9.09, allocations: 1.552 MB / 3.93 GB, free: 0 / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3161/9.406, allocations: 139.1 kB / 3.93 GB, free: 44.24 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/9.406, allocations: 0 / 3.93 GB, free: 44.24 MB / 474.7 MB Notification: Performance of Templates: time 0.1355/9.541, allocations: 106.4 MB / 4.034 GB, free: 29.52 MB / 474.7 MB 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)