Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.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.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001379/0.001379, allocations: 170.2 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.143/1.143, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001806/0.001806, allocations: 102.8 kB / 223.2 MB, free: 4.047 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.1725/0.1725, allocations: 37.98 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.816e-05, allocations: 11.98 kB / 357 MB, free: 32.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08653/0.08657, allocations: 48.7 MB / 405.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.4642, allocations: 81.34 MB / 487.1 MB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4645, allocations: 96.7 kB / 487.2 MB, free: 18.54 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.02165/0.4862, allocations: 8.894 MB / 496.1 MB, free: 17.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4862, allocations: 0 / 496.1 MB, free: 17.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.4862, allocations: 4.875 kB / 496.1 MB, free: 17.38 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.000592/0.4868, allocations: 0.5212 MB / 496.6 MB, free: 16.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4869, allocations: 7.719 kB / 496.6 MB, free: 16.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.487, allocations: 32.97 kB / 496.6 MB, free: 16.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.4872, allocations: 236.2 kB / 496.9 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.4872, allocations: 27.94 kB / 496.9 MB, free: 16.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.4873, allocations: 34.44 kB / 496.9 MB, free: 16.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.4879, allocations: 459.7 kB / 497.4 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4879, allocations: 0 / 497.4 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.4879, allocations: 15.03 kB / 497.4 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.488, allocations: 23 kB / 497.4 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.4883, allocations: 393.9 kB / 497.8 MB, free: 16.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.4896, allocations: 1.217 MB / 499 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.4898, allocations: 65.52 kB / 499.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.4898, allocations: 28.14 kB / 499.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.4899, allocations: 5.828 kB / 499.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.4899, allocations: 38.55 kB / 499.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.4899, allocations: 0 / 499.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002201/0.4901, allocations: 92.58 kB / 499.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.4901, allocations: 51.41 kB / 499.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4903, allocations: 152.7 kB / 499.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.4903, allocations: 25.7 kB / 499.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.4904, allocations: 225.7 kB / 499.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.4904, allocations: 23 kB / 499.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-06/0.4904, allocations: 3.562 kB / 499.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.4905, allocations: 326.2 kB / 0.4883 GB, free: 14.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.4905, allocations: 38.2 kB / 0.4883 GB, free: 14.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.4907, allocations: 165.2 kB / 0.4885 GB, free: 14.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.71e-05/0.4907, allocations: 65.33 kB / 0.4886 GB, free: 14.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4908, allocations: 3.875 kB / 0.4886 GB, free: 14.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002873/0.491, allocations: 220 kB / 0.4888 GB, free: 14.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4911, allocations: 12.33 kB / 0.4888 GB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4911, allocations: 7.859 kB / 0.4888 GB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4911, allocations: 7.875 kB / 0.4888 GB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.4916, allocations: 89.88 kB / 0.4889 GB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005757/0.4922, allocations: 1.786 MB / 0.4906 GB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.4923, allocations: 23.45 kB / 0.4906 GB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.4923, allocations: 19.34 kB / 0.4907 GB, free: 12.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/0.4924, allocations: 123.5 kB / 0.4908 GB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.4925, allocations: 15.31 kB / 0.4908 GB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.4928, allocations: 178.5 kB / 0.491 GB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.4928, allocations: 3.938 kB / 0.491 GB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4929, allocations: 4 kB / 0.491 GB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4929, allocations: 0 / 0.491 GB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4931, allocations: 294 kB / 0.4913 GB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4931, allocations: 3.938 kB / 0.4913 GB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.4934, allocations: 58.73 kB / 0.4913 GB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.4934, allocations: 3.875 kB / 0.4913 GB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.4934, allocations: 3.844 kB / 0.4913 GB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004977/0.4939, allocations: 1.771 MB / 0.493 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4939, allocations: 3.844 kB / 0.4931 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.4941, allocations: 195.6 kB / 0.4932 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.4941, allocations: 88.83 kB / 0.4933 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.4941, allocations: 0 / 0.4933 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.4942, allocations: 23.17 kB / 0.4933 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.4943, allocations: 7.859 kB / 0.4934 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.4943, allocations: 3.969 kB / 0.4934 GB, free: 10.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.545e-05/0.4943, allocations: 117.3 kB / 0.4935 GB, free: 10.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4943, allocations: 0 / 0.4935 GB, free: 10.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004668/0.4948, allocations: 112.4 kB / 0.4936 GB, free: 10.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002731/0.4951, allocations: 175.9 kB / 0.4937 GB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003461/0.4955, allocations: 145.5 kB / 0.4939 GB, free: 9.977 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4955, allocations: 0 / 0.4939 GB, free: 9.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.4957, allocations: 66.8 kB / 0.4939 GB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.4959, allocations: 7.625 kB / 0.494 GB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.4964, allocations: 310.3 kB / 0.4942 GB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.4966, allocations: 0.8023 MB / 0.495 GB, free: 9.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.4969, allocations: 64.27 kB / 0.4951 GB, free: 9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.4969, allocations: 15.22 kB / 0.4951 GB, free: 8.992 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4969, allocations: 0 / 0.4951 GB, free: 8.992 MB / 330.7 MB Notification: Performance of Templates: time 0.005701/0.5026, allocations: 3.207 MB / 0.4982 GB, free: 7.414 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1)