Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.002744/0.002744, allocations: 182.7 kB / 7.458 MB, free: 2.5 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.239/1.239, allocations: 194.2 MB / 202.1 MB, free: 8.645 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.0019/0.0019, allocations: 125.4 kB / 247.1 MB, free: 6.352 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.1815/0.1815, allocations: 39.94 MB / 331.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.843e-06, allocations: 0 / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 54.87 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3513/0.4602, allocations: 96.69 MB / 0.5316 GB, free: 3.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.4606, allocations: 90.25 kB / 0.5317 GB, free: 3.516 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6094:11-6097:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6108:11-6111:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.05208/0.5127, allocations: 17.41 MB / 0.5487 GB, free: 4.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.5128, allocations: 7.938 kB / 0.5487 GB, free: 4.812 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001184/0.514, allocations: 0.6439 MB / 0.5493 GB, free: 4.145 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.514, allocations: 8.031 kB / 0.5493 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.5141, allocations: 27.62 kB / 0.5494 GB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.5144, allocations: 237.9 kB / 0.5496 GB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.5144, allocations: 8 kB / 0.5496 GB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.5145, allocations: 16 kB / 0.5496 GB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005927/0.5151, allocations: 425 kB / 0.55 GB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.5156, allocations: 400.7 kB / 0.5504 GB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5157, allocations: 4 kB / 0.5504 GB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.5157, allocations: 3.938 kB / 0.5504 GB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.5157, allocations: 44.06 kB / 0.5504 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.5177, allocations: 1.273 MB / 0.5517 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.5181, allocations: 261.8 kB / 0.5519 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.5183, allocations: 81.94 kB / 0.552 GB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.5183, allocations: 12.28 kB / 0.552 GB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.5184, allocations: 37.75 kB / 0.5521 GB, free: 1.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.5184, allocations: 4 kB / 0.5521 GB, free: 1.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004349/0.5188, allocations: 210.3 kB / 0.5523 GB, free: 1.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.5189, allocations: 55.41 kB / 0.5523 GB, free: 1.324 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.519, allocations: 123.7 kB / 0.5524 GB, free: 1.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.519, allocations: 25.7 kB / 0.5525 GB, free: 1.172 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.5191, allocations: 197.2 kB / 0.5527 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.5192, allocations: 84.5 kB / 0.5527 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.5192, allocations: 0 / 0.5527 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5193, allocations: 329.9 kB / 0.553 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.5194, allocations: 69.22 kB / 0.5531 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.5196, allocations: 154.6 kB / 0.5533 GB, free: 372 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.5197, allocations: 106.7 kB / 0.5534 GB, free: 280 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5198, allocations: 4 kB / 0.5534 GB, free: 276 kB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004391/0.5202, allocations: 263.9 kB / 0.5536 GB, free: 36 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5202, allocations: 7.938 kB / 0.5536 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5202, allocations: 4 kB / 0.5536 GB, free: 24 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5203, allocations: 7.984 kB / 0.5536 GB, free: 16 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.5209, allocations: 135.5 kB / 0.5538 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.5222, allocations: 2.387 MB / 0.5561 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.5224, allocations: 27.94 kB / 0.5561 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.5225, allocations: 18.92 kB / 0.5561 GB, free: 13.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.5227, allocations: 112.9 kB / 0.5562 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.5227, allocations: 15.81 kB / 0.5563 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008314/0.5236, allocations: 372 kB / 0.5566 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5236, allocations: 4 kB / 0.5566 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.5236, allocations: 3.906 kB / 0.5566 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.5236, allocations: 11.97 kB / 0.5566 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.524, allocations: 273.1 kB / 0.5569 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.524, allocations: 0 / 0.5569 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/0.5246, allocations: 115.5 kB / 0.557 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.5246, allocations: 4 kB / 0.557 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.5246, allocations: 7.984 kB / 0.557 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.526, allocations: 2.378 MB / 0.5593 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.526, allocations: 4 kB / 0.5593 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003889/0.5264, allocations: 336.7 kB / 0.5597 GB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.5264, allocations: 92.86 kB / 0.5598 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.5265, allocations: 7.922 kB / 0.5598 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.5267, allocations: 8 kB / 0.5598 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.5267, allocations: 19.28 kB / 0.5598 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.5268, allocations: 11.98 kB / 0.5598 GB, free: 9.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.193e-05/0.5268, allocations: 98.33 kB / 0.5599 GB, free: 9.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009115/0.5277, allocations: 254.4 kB / 0.5601 GB, free: 9.258 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007571/0.5285, allocations: 386.9 kB / 0.5605 GB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006578/0.5292, allocations: 266.9 kB / 0.5608 GB, free: 8.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5292, allocations: 0 / 0.5608 GB, free: 8.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.5296, allocations: 164.7 kB / 0.5609 GB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.5299, allocations: 3.906 kB / 0.5609 GB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008578/0.5307, allocations: 386.2 kB / 0.5613 GB, free: 8.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.5312, allocations: 0.8436 MB / 0.5621 GB, free: 7.262 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5312, allocations: 0 / 0.5621 GB, free: 7.262 MB / 378.7 MB Notification: Performance of Templates: time 0.01082/0.542, allocations: 6.221 MB / 0.5682 GB, free: 1.066 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1)