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.001131/0.001131, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.357/1.357, allocations: 170.7 MB / 178.7 MB, free: 7.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.001535/0.001535, allocations: 105.2 kB / 218 MB, free: 15.33 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.1737/0.1737, allocations: 37.97 MB / 295.1 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.011e-05, allocations: 3.938 kB / 350.1 MB, free: 32.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.274, allocations: 48.69 MB / 398.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3841, allocations: 80.69 MB / 479.4 MB, free: 2.414 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.3844, allocations: 95.94 kB / 479.5 MB, free: 2.32 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.02252/0.4069, allocations: 8.773 MB / 488.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4069, allocations: 0 / 488.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.407, allocations: 7.938 kB / 488.3 MB, free: 9.434 MB / 346.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.0006118/0.4076, allocations: 0.5146 MB / 488.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4076, allocations: 12.02 kB / 488.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.4077, allocations: 31.62 kB / 488.9 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.408, allocations: 242.6 kB / 489.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.408, allocations: 12 kB / 489.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.4081, allocations: 20 kB / 489.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005292/0.4086, allocations: 381.4 kB / 489.5 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.4092, allocations: 409.2 kB / 489.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4092, allocations: 0 / 489.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.4092, allocations: 0 / 489.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/0.4092, allocations: 24.78 kB / 489.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.4106, allocations: 1.133 MB / 491.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4107, allocations: 70.5 kB / 491.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.4108, allocations: 24.86 kB / 491.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.4108, allocations: 7.984 kB / 491.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.4108, allocations: 34.55 kB / 491.2 MB, free: 6.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.4108, allocations: 0 / 491.2 MB, free: 6.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002289/0.4111, allocations: 93.5 kB / 491.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.4111, allocations: 51.41 kB / 491.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4113, allocations: 149.4 kB / 491.5 MB, free: 6.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.4113, allocations: 29.7 kB / 491.5 MB, free: 5.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.4114, allocations: 219.6 kB / 491.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.4115, allocations: 23.66 kB / 491.8 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.4115, allocations: 0 / 491.8 MB, free: 5.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4116, allocations: 322.8 kB / 492.1 MB, free: 5.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.4117, allocations: 31.98 kB / 492.1 MB, free: 5.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4118, allocations: 160.2 kB / 492.3 MB, free: 5.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.4119, allocations: 60.23 kB / 492.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4119, allocations: 8 kB / 492.3 MB, free: 5.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002791/0.4122, allocations: 201.8 kB / 492.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4122, allocations: 4 kB / 492.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.4122, allocations: 12.03 kB / 492.5 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4122, allocations: 4 kB / 492.5 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.4126, allocations: 91.88 kB / 492.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/0.4135, allocations: 1.789 MB / 494.4 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.4136, allocations: 19.84 kB / 494.4 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.4137, allocations: 12 kB / 494.4 MB, free: 2.906 MB / 346.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 0.0001052/0.4138, allocations: 125 kB / 494.6 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.4138, allocations: 15.86 kB / 494.6 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.4142, allocations: 169.8 kB / 494.8 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.4142, allocations: 4 kB / 494.8 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4142, allocations: 3.938 kB / 494.8 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4143, allocations: 3.984 kB / 494.8 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.4145, allocations: 226.1 kB / 495 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4145, allocations: 0 / 495 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.4147, allocations: 59.95 kB / 495 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4148, allocations: 3.953 kB / 495 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4148, allocations: 4 kB / 495.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000808/0.4156, allocations: 1.777 MB / 496.8 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4156, allocations: 0 / 496.8 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.4158, allocations: 191.7 kB / 497 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.4158, allocations: 92.94 kB / 497.1 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.4158, allocations: 3.953 kB / 497.1 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.4159, allocations: 4 kB / 497.1 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.416, allocations: 11.98 kB / 497.1 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.416, allocations: 4 kB / 497.1 MB, free: 72 kB / 346.7 MB Notification: Performance of sorting global known variables: time 7.489e-05/0.4161, allocations: 111.2 kB / 497.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4161, allocations: 4 kB / 497.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004719/0.4166, allocations: 95.53 kB / 497.3 MB, free: 15.86 MB / 362.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.0002809/0.4169, allocations: 179.1 kB / 497.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.4172, allocations: 132.1 kB / 497.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4172, allocations: 0 / 497.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.4174, allocations: 61.08 kB / 497.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.4176, allocations: 4.312 kB / 497.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.4181, allocations: 302.1 kB / 498 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.4184, allocations: 0.7982 MB / 498.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.4186, allocations: 68.95 kB / 498.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.4186, allocations: 15.44 kB / 498.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4186, allocations: 0 / 498.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Templates: time 0.005443/0.4241, allocations: 2.769 MB / 0.4899 GB, free: 11.53 MB / 362.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)