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.00103/0.00103, allocations: 181.9 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.364/1.364, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001513/0.001513, allocations: 109.5 kB / 252.6 MB, free: 4.812 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.1852/0.1852, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.779e-05/3.781e-05, allocations: 4 kB / 400.3 MB, free: 69.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 54.85 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5789, allocations: 87.78 MB / 0.5302 GB, free: 3.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5792, allocations: 95.19 kB / 0.5303 GB, free: 3.719 MB / 346.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.0222/0.6015, allocations: 8.897 MB / 0.539 GB, free: 11.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6015, allocations: 0 / 0.539 GB, free: 11.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.6015, allocations: 4 kB / 0.539 GB, free: 11.91 MB / 362.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.0006974/0.6022, allocations: 0.5207 MB / 0.5395 GB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.6023, allocations: 12.03 kB / 0.5395 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.6024, allocations: 35.58 kB / 0.5396 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.6027, allocations: 236.4 kB / 0.5398 GB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.6027, allocations: 22.53 kB / 0.5398 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.6028, allocations: 34.19 kB / 0.5398 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007219/0.6035, allocations: 458.6 kB / 0.5403 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.6036, allocations: 4 kB / 0.5403 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.6036, allocations: 13.8 kB / 0.5403 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.6036, allocations: 24.73 kB / 0.5403 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.6041, allocations: 396.4 kB / 0.5407 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.6057, allocations: 1.203 MB / 0.5419 GB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.6059, allocations: 70.23 kB / 0.5419 GB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.6059, allocations: 24.23 kB / 0.542 GB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.606, allocations: 7.984 kB / 0.542 GB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.606, allocations: 38.55 kB / 0.542 GB, free: 9.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.606, allocations: 0 / 0.542 GB, free: 9.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002406/0.6063, allocations: 97.09 kB / 0.5421 GB, free: 9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.6063, allocations: 55.36 kB / 0.5421 GB, free: 8.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.6065, allocations: 155.8 kB / 0.5423 GB, free: 8.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.6065, allocations: 25.7 kB / 0.5423 GB, free: 8.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.6066, allocations: 222.3 kB / 0.5425 GB, free: 8.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.6067, allocations: 27.33 kB / 0.5426 GB, free: 8.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.6067, allocations: 11.94 kB / 0.5426 GB, free: 8.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6068, allocations: 314.6 kB / 0.5429 GB, free: 8.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.6069, allocations: 39.48 kB / 0.5429 GB, free: 8.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.6071, allocations: 167.6 kB / 0.5431 GB, free: 7.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.6072, allocations: 67.7 kB / 0.5431 GB, free: 7.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.6072, allocations: 4 kB / 0.5431 GB, free: 7.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003152/0.6075, allocations: 223.9 kB / 0.5433 GB, free: 7.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6075, allocations: 4.562 kB / 0.5434 GB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6075, allocations: 12 kB / 0.5434 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.6076, allocations: 4 kB / 0.5434 GB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.6079, allocations: 91.81 kB / 0.5435 GB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009997/0.609, allocations: 1.785 MB / 0.5452 GB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.6091, allocations: 27.7 kB / 0.5452 GB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.6091, allocations: 12 kB / 0.5452 GB, free: 5.715 MB / 362.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.0001092/0.6092, allocations: 124.2 kB / 0.5454 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.6093, allocations: 12.09 kB / 0.5454 GB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.6097, allocations: 172 kB / 0.5455 GB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.6097, allocations: 4 kB / 0.5455 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6098, allocations: 7.953 kB / 0.5455 GB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6098, allocations: 0 / 0.5455 GB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.6101, allocations: 296.1 kB / 0.5458 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6101, allocations: 4 kB / 0.5458 GB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.6104, allocations: 63.89 kB / 0.5459 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6104, allocations: 0 / 0.5459 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.6104, allocations: 7.875 kB / 0.5459 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008894/0.6113, allocations: 1.769 MB / 0.5476 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6113, allocations: 0 / 0.5476 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.6115, allocations: 199.4 kB / 0.5478 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.6116, allocations: 84.95 kB / 0.5479 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.6116, allocations: 11.92 kB / 0.5479 GB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.422e-05/0.6117, allocations: 7.938 kB / 0.5479 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.6117, allocations: 7.984 kB / 0.5479 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.6118, allocations: 7.812 kB / 0.5479 GB, free: 2.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.901e-05/0.6119, allocations: 123.5 kB / 0.548 GB, free: 2.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6119, allocations: 4 kB / 0.548 GB, free: 2.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004805/0.6123, allocations: 115.1 kB / 0.5482 GB, free: 2.664 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.0003096/0.6127, allocations: 158.9 kB / 0.5483 GB, free: 2.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.6131, allocations: 147.1 kB / 0.5485 GB, free: 2.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6131, allocations: 0 / 0.5485 GB, free: 2.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.6134, allocations: 68.77 kB / 0.5485 GB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.6135, allocations: 5.375 kB / 0.5485 GB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.6142, allocations: 302.2 kB / 0.5488 GB, free: 2.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.6146, allocations: 0.7979 MB / 0.5496 GB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.6148, allocations: 68.95 kB / 0.5497 GB, free: 1.125 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.6148, allocations: 15.44 kB / 0.5497 GB, free: 1.109 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6148, allocations: 0 / 0.5497 GB, free: 1.109 MB / 362.7 MB Notification: Performance of Templates: time 0.006682/0.6215, allocations: 3.213 MB / 0.5528 GB, free: 13.94 MB / 378.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)