Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.003036/0.003036, allocations: 186.5 kB / 7.46 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.284/1.284, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001682/0.001682, allocations: 116.9 kB / 247.1 MB, free: 6.336 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.1765/0.1765, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.065e-06, allocations: 0 / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1177, allocations: 54.87 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4702, allocations: 87.05 MB / 0.5222 GB, free: 9.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.4705, allocations: 93.75 kB / 0.5223 GB, free: 9.109 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd: time 0.02987/0.5004, allocations: 9.92 MB / 0.532 GB, free: 3.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.5005, allocations: 4 kB / 0.532 GB, free: 3.742 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0007802/0.5013, allocations: 0.6656 MB / 0.5326 GB, free: 3.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5013, allocations: 8.031 kB / 0.5326 GB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.739e-05/0.5014, allocations: 51.34 kB / 0.5327 GB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.5018, allocations: 317 kB / 0.533 GB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5019, allocations: 16 kB / 0.533 GB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.5019, allocations: 28 kB / 0.533 GB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000652/0.5026, allocations: 0.6494 MB / 0.5337 GB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.5032, allocations: 0.5988 MB / 0.5342 GB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.5033, allocations: 4 kB / 0.5343 GB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.5033, allocations: 0 / 0.5343 GB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/0.5034, allocations: 64.39 kB / 0.5343 GB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.5052, allocations: 1.577 MB / 0.5359 GB, free: 144 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.5056, allocations: 325.1 kB / 0.5362 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.5058, allocations: 127.7 kB / 0.5363 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.5059, allocations: 14.88 kB / 0.5363 GB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.5059, allocations: 38.42 kB / 0.5363 GB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.5059, allocations: 0 / 0.5363 GB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005809/0.5065, allocations: 333.3 kB / 0.5367 GB, free: 15.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.5065, allocations: 59.31 kB / 0.5367 GB, free: 15.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.5068, allocations: 199.2 kB / 0.5369 GB, free: 15.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.5068, allocations: 29.7 kB / 0.5369 GB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.507, allocations: 269.6 kB / 0.5372 GB, free: 14.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.5071, allocations: 91.59 kB / 0.5373 GB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.5071, allocations: 4 kB / 0.5373 GB, free: 14.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5072, allocations: 337.2 kB / 0.5376 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.5074, allocations: 132.3 kB / 0.5377 GB, free: 14.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.5077, allocations: 236.5 kB / 0.5379 GB, free: 14.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.5079, allocations: 172 kB / 0.5381 GB, free: 13.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.508, allocations: 4 kB / 0.5381 GB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006658/0.5086, allocations: 416.5 kB / 0.5385 GB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.5087, allocations: 8 kB / 0.5385 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.5087, allocations: 3.906 kB / 0.5385 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.5087, allocations: 8 kB / 0.5385 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.5094, allocations: 159.6 kB / 0.5387 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.5118, allocations: 3.653 MB / 0.5423 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.5121, allocations: 35.59 kB / 0.5423 GB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.5121, allocations: 23.3 kB / 0.5423 GB, free: 9.621 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.5123, allocations: 112.9 kB / 0.5424 GB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.5123, allocations: 19.72 kB / 0.5424 GB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.5136, allocations: 0.5572 MB / 0.543 GB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5136, allocations: 4 kB / 0.543 GB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5136, allocations: 0 / 0.543 GB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5136, allocations: 3.906 kB / 0.543 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.5142, allocations: 390.8 kB / 0.5434 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5142, allocations: 0 / 0.5434 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.5148, allocations: 135.8 kB / 0.5435 GB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-06/0.5149, allocations: 3.906 kB / 0.5435 GB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.5149, allocations: 15.92 kB / 0.5435 GB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.5171, allocations: 3.642 MB / 0.5471 GB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.5171, allocations: 0 / 0.5471 GB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007676/0.5179, allocations: 0.6199 MB / 0.5477 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.5181, allocations: 153.8 kB / 0.5478 GB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.5182, allocations: 3.984 kB / 0.5478 GB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.5184, allocations: 11.91 kB / 0.5478 GB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.5185, allocations: 26.95 kB / 0.5479 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.5185, allocations: 12 kB / 0.5479 GB, free: 3.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001742/0.5187, allocations: 175.9 kB / 0.548 GB, free: 3.828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008085/0.5195, allocations: 187.3 kB / 0.5482 GB, free: 3.648 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003672/0.5199, allocations: 205.5 kB / 0.5484 GB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009558/0.5208, allocations: 413.6 kB / 0.5488 GB, free: 3.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5208, allocations: 0 / 0.5488 GB, free: 3.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006787/0.5215, allocations: 253.6 kB / 0.549 GB, free: 2.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.5217, allocations: 7.562 kB / 0.5491 GB, free: 2.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.5231, allocations: 0.67 MB / 0.5497 GB, free: 2.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.5236, allocations: 0.9673 MB / 0.5507 GB, free: 1.238 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5236, allocations: 0 / 0.5507 GB, free: 1.238 MB / 362.7 MB Notification: Performance of Templates: time 0.01007/0.5337, allocations: 5.467 MB / 0.556 GB, free: 11.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1)