Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.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.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01321/0.01321, allocations: 174.8 kB / 15.12 MB, free: 5.973 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.717/1.717, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.0018/0.0018, allocations: 104.8 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2668/0.2668, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005294, allocations: 20.3 kB / 406.2 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 54.87 MB / 461 MB, free: 3.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/0.4756, allocations: 87.87 MB / 0.5361 GB, free: 27.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.476, allocations: 103.3 kB / 0.5361 GB, free: 27.85 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2+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.2+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.2+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.02366/0.4997, allocations: 8.895 MB / 0.5448 GB, free: 26.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.4997, allocations: 0 / 0.5448 GB, free: 26.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.4998, allocations: 8.594 kB / 0.5448 GB, free: 26.74 MB / 378.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.0005617/0.5003, allocations: 0.5215 MB / 0.5454 GB, free: 26.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5004, allocations: 13.08 kB / 0.5454 GB, free: 26.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.5004, allocations: 35.08 kB / 0.5454 GB, free: 26.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.5007, allocations: 238.9 kB / 0.5456 GB, free: 26.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.5007, allocations: 23.25 kB / 0.5456 GB, free: 26.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.5008, allocations: 32.78 kB / 0.5457 GB, free: 26.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/0.5015, allocations: 489.6 kB / 0.5461 GB, free: 25.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5015, allocations: 0 / 0.5461 GB, free: 25.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.5015, allocations: 13.69 kB / 0.5462 GB, free: 25.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.5016, allocations: 27.77 kB / 0.5462 GB, free: 25.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.5022, allocations: 435.6 kB / 0.5466 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.5036, allocations: 1.204 MB / 0.5478 GB, free: 25.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.5038, allocations: 80.27 kB / 0.5479 GB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.5038, allocations: 4.203 kB / 0.5479 GB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.5038, allocations: 31.72 kB / 0.5479 GB, free: 25.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.5038, allocations: 5.031 kB / 0.5479 GB, free: 25.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004871/0.5043, allocations: 174.7 kB / 0.5481 GB, free: 25.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.5044, allocations: 52.59 kB / 0.5481 GB, free: 25.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.5045, allocations: 161.6 kB / 0.5483 GB, free: 24.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.5045, allocations: 26.39 kB / 0.5483 GB, free: 24.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.5047, allocations: 214 kB / 0.5485 GB, free: 24.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.5047, allocations: 26.86 kB / 0.5485 GB, free: 24.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.5047, allocations: 4.594 kB / 0.5485 GB, free: 24.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.5048, allocations: 321.3 kB / 0.5488 GB, free: 24.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.505, allocations: 61.06 kB / 0.5489 GB, free: 24.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.5052, allocations: 179 kB / 0.5491 GB, free: 24.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.5054, allocations: 84.25 kB / 0.5491 GB, free: 24.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.5054, allocations: 1.562 kB / 0.5491 GB, free: 24.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004503/0.5059, allocations: 260.4 kB / 0.5494 GB, free: 24.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.5059, allocations: 6.688 kB / 0.5494 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.5059, allocations: 7.109 kB / 0.5494 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.823e-05/0.506, allocations: 6.656 kB / 0.5494 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.5063, allocations: 85.52 kB / 0.5495 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005593/0.5069, allocations: 1.798 MB / 0.5512 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.507, allocations: 31.86 kB / 0.5513 GB, free: 22.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.5071, allocations: 16.5 kB / 0.5513 GB, free: 22.42 MB / 378.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 () * Number of clocked 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.0001558/0.5072, allocations: 177.2 kB / 0.5515 GB, free: 22.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.5073, allocations: 8.906 kB / 0.5515 GB, free: 22.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/0.5078, allocations: 208.9 kB / 0.5517 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5078, allocations: 1.281 kB / 0.5517 GB, free: 22.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5078, allocations: 4.531 kB / 0.5517 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5078, allocations: 3.953 kB / 0.5517 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.5082, allocations: 300.6 kB / 0.552 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5082, allocations: 1.5 kB / 0.552 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.5084, allocations: 60.53 kB / 0.552 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5084, allocations: 2.906 kB / 0.552 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.5084, allocations: 3 kB / 0.552 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004811/0.5089, allocations: 1.779 MB / 0.5538 GB, free: 20.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5089, allocations: 0 / 0.5538 GB, free: 20.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.5092, allocations: 234.2 kB / 0.554 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.5093, allocations: 82.73 kB / 0.5541 GB, free: 20.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.5093, allocations: 1.812 kB / 0.5541 GB, free: 20.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.5094, allocations: 12.45 kB / 0.5541 GB, free: 20.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.5094, allocations: 9.656 kB / 0.5541 GB, free: 20.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.5095, allocations: 7.219 kB / 0.5541 GB, free: 20.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.5095, allocations: 112.6 kB / 0.5542 GB, free: 19.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5095, allocations: 0 / 0.5542 GB, free: 19.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005255/0.5101, allocations: 112 kB / 0.5543 GB, free: 19.9 MB / 378.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 () * Number of clocked 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.0002919/0.5104, allocations: 176 kB / 0.5545 GB, free: 19.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.5109, allocations: 182.8 kB / 0.5547 GB, free: 19.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5109, allocations: 1.438 kB / 0.5547 GB, free: 19.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.5111, allocations: 88.02 kB / 0.5547 GB, free: 19.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.5113, allocations: 8.844 kB / 0.5547 GB, free: 19.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.5123, allocations: 0.5719 MB / 0.5553 GB, free: 19.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.5133, allocations: 0.8045 MB / 0.5561 GB, free: 34.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.5135, allocations: 65.67 kB / 0.5562 GB, free: 34.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.5136, allocations: 17.09 kB / 0.5562 GB, free: 34.67 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5136, allocations: 0 / 0.5562 GB, free: 34.67 MB / 394.7 MB Notification: Performance of Templates: time 0.005945/0.5195, allocations: 3.101 MB / 0.5592 GB, free: 34.36 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1)