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.001113/0.001113, allocations: 182.1 kB / 12.74 MB, free: 2.582 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.659/1.659, allocations: 194.3 MB / 207.5 MB, free: 3.402 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.001845/0.001844, allocations: 114.4 kB / 252.6 MB, free: 4.809 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2904/0.2904, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.594e-05, allocations: 3.984 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.02/7.147, allocations: 2.649 GB / 3.093 GB, free: 86.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/7.147, allocations: 79.55 kB / 3.093 GB, free: 86.37 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 3.121/10.27, allocations: 0.7436 GB / 3.837 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.515e-06/10.27, allocations: 0 / 3.837 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001152/10.27, allocations: 42.12 kB / 3.837 GB, free: 39.13 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.01259/10.28, allocations: 2.708 MB / 3.84 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/10.28, allocations: 13.08 kB / 3.84 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/10.29, allocations: 0.5957 MB / 3.84 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/10.29, allocations: 1.093 MB / 3.841 GB, free: 37.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/10.29, allocations: 99.08 kB / 3.842 GB, free: 37.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/10.29, allocations: 103.2 kB / 3.842 GB, free: 37.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004913/10.29, allocations: 2.244 MB / 3.844 GB, free: 37.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/10.29, allocations: 1.594 kB / 3.844 GB, free: 37.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/10.3, allocations: 52.47 kB / 3.844 GB, free: 37.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/10.3, allocations: 80.02 kB / 3.844 GB, free: 37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00442/10.3, allocations: 2.262 MB / 3.846 GB, free: 36.99 MB / 0.4948 GB 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.01088/10.31, allocations: 8.93 MB / 3.855 GB, free: 31.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/10.31, allocations: 1.657 MB / 3.856 GB, free: 31.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/10.31, allocations: 0.6345 MB / 3.857 GB, free: 31.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03207/10.35, allocations: 18.84 MB / 3.875 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/10.35, allocations: 45 kB / 3.876 GB, free: 19.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001499/10.35, allocations: 203.5 kB / 3.876 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=109): time 4.007e-06/10.35, allocations: 4 kB / 3.876 GB, free: 19.64 MB / 0.4948 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.06245/10.41, allocations: 11.91 MB / 3.887 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/10.41, allocations: 232 kB / 3.888 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/10.41, allocations: 0.7391 MB / 3.888 GB, free: 18.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004824/10.41, allocations: 55.11 kB / 3.888 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/10.41, allocations: 0.5903 MB / 3.889 GB, free: 17.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00058/10.41, allocations: 0.5273 MB / 3.889 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/10.41, allocations: 35.94 kB / 3.889 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001119/10.41, allocations: 373.8 kB / 3.89 GB, free: 17.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/10.42, allocations: 1.244 MB / 3.891 GB, free: 17.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/10.42, allocations: 1.704 MB / 3.893 GB, free: 16.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/10.42, allocations: 1.362 MB / 3.894 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/10.42, allocations: 5.562 kB / 3.894 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007249/10.43, allocations: 4.096 MB / 3.898 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001502/10.43, allocations: 4.801 MB / 3.903 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/10.43, allocations: 11.5 kB / 3.903 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07649/10.51, allocations: 7.958 MB / 3.911 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/10.51, allocations: 383.6 kB / 3.911 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/10.52, allocations: 4.643 MB / 3.915 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005048/10.53, allocations: 253.5 kB / 3.916 GB, free: 17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009793/10.53, allocations: 128.1 kB / 3.916 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/10.53, allocations: 4.625 kB / 3.916 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01193/10.54, allocations: 3.89 MB / 3.92 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-05/10.54, allocations: 12.91 kB / 3.92 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008179/10.55, allocations: 2.646 MB / 3.922 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/10.55, allocations: 447.9 kB / 3.923 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009983/10.56, allocations: 4.059 MB / 3.927 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/10.56, allocations: 253.4 kB / 3.927 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/10.56, allocations: 124.7 kB / 3.927 GB, free: 7.496 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 () * 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.001422/10.57, allocations: 208.5 kB / 3.927 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008964/10.57, allocations: 134.4 kB / 3.927 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4796/11.05, allocations: 8.995 MB / 3.936 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/11.05, allocations: 69.81 kB / 3.936 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/11.05, allocations: 1.406 kB / 3.936 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.138e-05/11.05, allocations: 7.781 kB / 3.936 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/11.07, allocations: 11.87 MB / 3.948 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/11.07, allocations: 0.9844 kB / 3.948 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/11.07, allocations: 274.2 kB / 3.948 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07691/11.15, allocations: 8.87 MB / 3.957 GB, free: 51.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009577/11.15, allocations: 63.03 kB / 3.957 GB, free: 51.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/11.16, allocations: 5.505 MB / 3.962 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/11.16, allocations: 11.53 kB / 3.962 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/11.18, allocations: 6.753 MB / 3.969 GB, free: 50.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/11.18, allocations: 0.6921 MB / 3.969 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008412/11.18, allocations: 38.42 kB / 3.969 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/11.19, allocations: 226.4 kB / 3.97 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005298/11.19, allocations: 130.2 kB / 3.97 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003669/11.19, allocations: 79.61 kB / 3.97 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00151/11.19, allocations: 0.7389 MB / 3.971 GB, free: 49.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/11.19, allocations: 2.031 kB / 3.971 GB, free: 49.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01177/11.2, allocations: 2.26 MB / 3.973 GB, free: 49.76 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 () * 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.01309/11.21, allocations: 2.411 MB / 3.975 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01819/11.23, allocations: 6.017 MB / 3.981 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/11.23, allocations: 6 kB / 3.981 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007/11.24, allocations: 2.825 MB / 3.984 GB, free: 49.49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003967/11.24, allocations: 0.5815 MB / 3.984 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1995/11.44, allocations: 126.1 MB / 4.107 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/11.44, allocations: 1.644 MB / 4.109 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003604/11.45, allocations: 1.523 MB / 4.111 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/11.45, allocations: 116.3 kB / 4.111 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/11.45, allocations: 0 / 4.111 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.5516/12, allocations: 106.6 MB / 4.215 GB, free: 62.92 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)