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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002872/0.002873, allocations: 185.9 kB / 7.456 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.297/1.297, allocations: 194.2 MB / 202.1 MB, free: 8.629 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.001721/0.001721, allocations: 119.4 kB / 247.1 MB, free: 6.293 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.167/0.167, allocations: 39.94 MB / 331.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.873e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08853, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.3727, allocations: 87.04 MB / 0.5222 GB, free: 9.129 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/0.3731, allocations: 92.53 kB / 0.5223 GB, free: 9.113 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: time 0.02594/0.3991, allocations: 8.545 MB / 0.5306 GB, free: 5.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.3991, allocations: 0 / 0.5306 GB, free: 5.074 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.0005481/0.3997, allocations: 0.5266 MB / 0.5311 GB, free: 4.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.3997, allocations: 12.03 kB / 0.5311 GB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.3998, allocations: 35.53 kB / 0.5312 GB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.4001, allocations: 233.4 kB / 0.5314 GB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4001, allocations: 12 kB / 0.5314 GB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.4002, allocations: 20 kB / 0.5314 GB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005087/0.4007, allocations: 389.5 kB / 0.5318 GB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.4012, allocations: 418.9 kB / 0.5322 GB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.4012, allocations: 3.906 kB / 0.5322 GB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.4013, allocations: 0 / 0.5322 GB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.4013, allocations: 28.77 kB / 0.5322 GB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.4025, allocations: 1.133 MB / 0.5333 GB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.243e-05/0.4026, allocations: 60.12 kB / 0.5334 GB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.4027, allocations: 31.72 kB / 0.5334 GB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.4027, allocations: 0 / 0.5334 GB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.212e-05/0.4027, allocations: 34.56 kB / 0.5335 GB, free: 2.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4027, allocations: 4 kB / 0.5335 GB, free: 2.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002206/0.4029, allocations: 104 kB / 0.5336 GB, free: 2.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.403, allocations: 51.41 kB / 0.5336 GB, free: 2.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4031, allocations: 151.9 kB / 0.5338 GB, free: 2.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.4031, allocations: 25.7 kB / 0.5338 GB, free: 2.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.4032, allocations: 220.8 kB / 0.534 GB, free: 1.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.4032, allocations: 22.84 kB / 0.534 GB, free: 1.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.4032, allocations: 3.938 kB / 0.534 GB, free: 1.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.697e-05/0.4033, allocations: 330.4 kB / 0.5343 GB, free: 1.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.4033, allocations: 30.61 kB / 0.5344 GB, free: 1.434 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.4034, allocations: 163.3 kB / 0.5345 GB, free: 1.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.4035, allocations: 66.42 kB / 0.5346 GB, free: 1.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4035, allocations: 0 / 0.5346 GB, free: 1.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002439/0.4038, allocations: 194.4 kB / 0.5348 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.4038, allocations: 4 kB / 0.5348 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4038, allocations: 8 kB / 0.5348 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.4038, allocations: 4 kB / 0.5348 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.4042, allocations: 95.72 kB / 0.5349 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008736/0.4051, allocations: 1.802 MB / 0.5366 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4052, allocations: 19.84 kB / 0.5366 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.4053, allocations: 15.98 kB / 0.5367 GB, free: 14.99 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.0001083/0.4054, allocations: 120 kB / 0.5368 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.4054, allocations: 16 kB / 0.5368 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.406, allocations: 220 kB / 0.537 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.406, allocations: 4 kB / 0.537 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.406, allocations: 3.906 kB / 0.537 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.406, allocations: 0 / 0.537 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.4063, allocations: 222.5 kB / 0.5372 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4063, allocations: 4 kB / 0.5372 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.4065, allocations: 59.95 kB / 0.5373 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4066, allocations: 4 kB / 0.5373 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4066, allocations: 7.734 kB / 0.5373 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.4076, allocations: 1.784 MB / 0.539 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4076, allocations: 0 / 0.539 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00019/0.4078, allocations: 196.7 kB / 0.5392 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.4078, allocations: 85.02 kB / 0.5393 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.4079, allocations: 0 / 0.5393 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.408, allocations: 18.97 kB / 0.5393 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.4081, allocations: 11.89 kB / 0.5393 GB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.4081, allocations: 4 kB / 0.5393 GB, free: 12.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.917e-05/0.4082, allocations: 114.5 kB / 0.5394 GB, free: 12.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004878/0.4086, allocations: 103.5 kB / 0.5395 GB, free: 11.96 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.0003169/0.409, allocations: 171.5 kB / 0.5397 GB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.4094, allocations: 153.6 kB / 0.5399 GB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4094, allocations: 0 / 0.5399 GB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.4098, allocations: 84.5 kB / 0.5399 GB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.41, allocations: 8.656 kB / 0.5399 GB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.4106, allocations: 294 kB / 0.5402 GB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.411, allocations: 0.8274 MB / 0.541 GB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.411, allocations: 4 kB / 0.541 GB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.006273/0.4173, allocations: 3.134 MB / 0.5441 GB, free: 7.367 MB / 362.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)