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.001231/0.001231, allocations: 187.3 kB / 7.654 MB, free: 1.402 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.454/1.454, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.00163/0.00163, allocations: 117 kB / 247.4 MB, free: 6.227 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.24/0.24, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.896e-05, allocations: 0 / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09824, allocations: 54.87 MB / 448.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4575, allocations: 87.12 MB / 0.5228 GB, free: 9.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4578, allocations: 97.3 kB / 0.5229 GB, free: 9.312 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.01967/0.4774, allocations: 8.767 MB / 0.5314 GB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4775, allocations: 0 / 0.5314 GB, free: 4.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4775, allocations: 4 kB / 0.5314 GB, free: 4.648 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.0004876/0.478, allocations: 0.5251 MB / 0.532 GB, free: 4.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.478, allocations: 8.031 kB / 0.532 GB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.4781, allocations: 35.58 kB / 0.532 GB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.4783, allocations: 237.5 kB / 0.5322 GB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4783, allocations: 12 kB / 0.5322 GB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.4784, allocations: 16 kB / 0.5323 GB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000412/0.4788, allocations: 380.4 kB / 0.5326 GB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.4793, allocations: 407.9 kB / 0.533 GB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4793, allocations: 0 / 0.533 GB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.4793, allocations: 7.953 kB / 0.533 GB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.4793, allocations: 20.78 kB / 0.533 GB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.4804, allocations: 1.128 MB / 0.5341 GB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.091e-05/0.4805, allocations: 66.23 kB / 0.5342 GB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.4805, allocations: 27.8 kB / 0.5342 GB, free: 2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.4806, allocations: 3.984 kB / 0.5342 GB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.4806, allocations: 30.56 kB / 0.5343 GB, free: 1.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4806, allocations: 4 kB / 0.5343 GB, free: 1.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002017/0.4808, allocations: 95.98 kB / 0.5344 GB, free: 1.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.4808, allocations: 59.34 kB / 0.5344 GB, free: 1.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.4809, allocations: 148.5 kB / 0.5345 GB, free: 1.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.481, allocations: 25.7 kB / 0.5346 GB, free: 1.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.481, allocations: 225.3 kB / 0.5348 GB, free: 1.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.4811, allocations: 26.83 kB / 0.5348 GB, free: 1.395 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.4811, allocations: 0 / 0.5348 GB, free: 1.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.4811, allocations: 322.5 kB / 0.5351 GB, free: 1.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.4812, allocations: 34.92 kB / 0.5352 GB, free: 1.047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.4813, allocations: 148.4 kB / 0.5353 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.468e-05/0.4814, allocations: 70.36 kB / 0.5354 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4814, allocations: 0 / 0.5354 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002297/0.4816, allocations: 196.4 kB / 0.5356 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.4816, allocations: 8 kB / 0.5356 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.4816, allocations: 4 kB / 0.5356 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4817, allocations: 8 kB / 0.5356 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.482, allocations: 87.81 kB / 0.5357 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008472/0.4828, allocations: 1.792 MB / 0.5374 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.483, allocations: 27.23 kB / 0.5374 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.483, allocations: 16.27 kB / 0.5374 GB, free: 14.62 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.0001034/0.4831, allocations: 123.7 kB / 0.5376 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.4832, allocations: 11.91 kB / 0.5376 GB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.4836, allocations: 171.6 kB / 0.5377 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4836, allocations: 7.922 kB / 0.5377 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4836, allocations: 0 / 0.5377 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.4836, allocations: 0 / 0.5377 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.4839, allocations: 227.3 kB / 0.538 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4839, allocations: 4 kB / 0.538 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.4841, allocations: 55.95 kB / 0.538 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4841, allocations: 0 / 0.538 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4841, allocations: 12 kB / 0.538 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009015/0.485, allocations: 1.783 MB / 0.5398 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.485, allocations: 0 / 0.5398 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.4852, allocations: 190 kB / 0.54 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.4853, allocations: 84.95 kB / 0.54 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.4853, allocations: 4 kB / 0.54 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.4854, allocations: 4 kB / 0.54 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.4855, allocations: 7.984 kB / 0.54 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.4855, allocations: 8.062 kB / 0.5401 GB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.974e-05/0.4856, allocations: 115.9 kB / 0.5402 GB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.974e-06/0.4856, allocations: 0 / 0.5402 GB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.486, allocations: 99.47 kB / 0.5403 GB, free: 11.67 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.0002766/0.4863, allocations: 165.2 kB / 0.5404 GB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.4866, allocations: 133.6 kB / 0.5405 GB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4866, allocations: 1.125 kB / 0.5405 GB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.4868, allocations: 67.11 kB / 0.5406 GB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.487, allocations: 15.58 kB / 0.5406 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.4875, allocations: 296.2 kB / 0.5409 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.4879, allocations: 0.8091 MB / 0.5417 GB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.4881, allocations: 64.95 kB / 0.5418 GB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.4881, allocations: 15.44 kB / 0.5418 GB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4881, allocations: 4 kB / 0.5418 GB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.005786/0.4939, allocations: 2.767 MB / 0.5445 GB, free: 7.398 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)