Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.00292/0.00292, allocations: 182.1 kB / 7.455 MB, free: 2.508 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.338/1.338, allocations: 194.2 MB / 202.1 MB, free: 8.676 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.001824/0.001824, allocations: 122.9 kB / 247.1 MB, free: 6.34 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.203/0.203, allocations: 39.95 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.294e-06/7.384e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09364, allocations: 54.88 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2917/0.3854, allocations: 92.21 MB / 0.5272 GB, free: 7.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.3858, allocations: 96.91 kB / 0.5273 GB, free: 7.91 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4809:11-4812: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:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd: time 0.04566/0.4314, allocations: 14.74 MB / 0.5417 GB, free: 11.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.4315, allocations: 4 kB / 0.5417 GB, free: 11.78 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001038/0.4326, allocations: 0.55 MB / 0.5423 GB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4326, allocations: 8.031 kB / 0.5423 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.4327, allocations: 27.62 kB / 0.5423 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.433, allocations: 233.4 kB / 0.5425 GB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.433, allocations: 12 kB / 0.5425 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.4331, allocations: 16 kB / 0.5425 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004494/0.4335, allocations: 330.6 kB / 0.5429 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.434, allocations: 322.3 kB / 0.5432 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4341, allocations: 0 / 0.5432 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.4341, allocations: 0 / 0.5432 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.4341, allocations: 32.62 kB / 0.5432 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.4356, allocations: 0.9774 MB / 0.5441 GB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.4361, allocations: 258.8 kB / 0.5444 GB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.4363, allocations: 74.83 kB / 0.5445 GB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.4363, allocations: 12.11 kB / 0.5445 GB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4364, allocations: 41.91 kB / 0.5445 GB, free: 9.027 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.4364, allocations: 0 / 0.5445 GB, free: 9.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004357/0.4368, allocations: 208.9 kB / 0.5447 GB, free: 8.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.4369, allocations: 55.41 kB / 0.5448 GB, free: 8.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.437, allocations: 111.9 kB / 0.5449 GB, free: 8.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.437, allocations: 25.7 kB / 0.5449 GB, free: 8.637 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.4371, allocations: 158.5 kB / 0.545 GB, free: 8.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.4372, allocations: 69.67 kB / 0.5451 GB, free: 8.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.4372, allocations: 0 / 0.5451 GB, free: 8.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4373, allocations: 329.7 kB / 0.5454 GB, free: 8.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.4374, allocations: 66.45 kB / 0.5455 GB, free: 8.047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.4376, allocations: 93.58 kB / 0.5456 GB, free: 7.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.4377, allocations: 81.55 kB / 0.5457 GB, free: 7.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4377, allocations: 0 / 0.5457 GB, free: 7.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003534/0.4381, allocations: 218.5 kB / 0.5459 GB, free: 7.703 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4381, allocations: 12 kB / 0.5459 GB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4381, allocations: 4 kB / 0.5459 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4381, allocations: 0 / 0.5459 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.4386, allocations: 91.86 kB / 0.546 GB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.4401, allocations: 2.404 MB / 0.5483 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.4403, allocations: 23.86 kB / 0.5483 GB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.4403, allocations: 4 kB / 0.5483 GB, free: 5.094 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * 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.0001042/0.4404, allocations: 116.7 kB / 0.5485 GB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.4405, allocations: 11.81 kB / 0.5485 GB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006906/0.4412, allocations: 337 kB / 0.5488 GB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.4412, allocations: 4 kB / 0.5488 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4412, allocations: 0 / 0.5488 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4412, allocations: 4 kB / 0.5488 GB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.4416, allocations: 274.2 kB / 0.5491 GB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/0.4416, allocations: 4 kB / 0.5491 GB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.442, allocations: 87.86 kB / 0.5491 GB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.442, allocations: 4 kB / 0.5491 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.4421, allocations: 7.5 kB / 0.5492 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.4435, allocations: 2.401 MB / 0.5515 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4435, allocations: 0 / 0.5515 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004129/0.4439, allocations: 338 kB / 0.5518 GB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.444, allocations: 123.6 kB / 0.5519 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.4441, allocations: 0 / 0.5519 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.4442, allocations: 16.08 kB / 0.552 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.4443, allocations: 22.78 kB / 0.552 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.4443, allocations: 8 kB / 0.552 GB, free: 1.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.788e-05/0.4444, allocations: 102.6 kB / 0.5521 GB, free: 1.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007624/0.4452, allocations: 179 kB / 0.5523 GB, free: 1.062 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 (25): * Single equations (assignments): 21 * 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.0007118/0.4459, allocations: 270.7 kB / 0.5525 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006451/0.4466, allocations: 225.4 kB / 0.5527 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4466, allocations: 8.125 kB / 0.5527 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.447, allocations: 152.8 kB / 0.5529 GB, free: 464 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.4472, allocations: 7.75 kB / 0.5529 GB, free: 460 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.4481, allocations: 358.3 kB / 0.5532 GB, free: 92 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.4486, allocations: 0.8322 MB / 0.554 GB, free: 15.24 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4486, allocations: 0 / 0.554 GB, free: 15.24 MB / 378.7 MB Notification: Performance of Templates: time 0.01037/0.459, allocations: 5.205 MB / 0.5591 GB, free: 10.06 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1)