Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.1+maint.om/package.mo): time 0.005027/0.005027, allocations: 172.1 kB / 7.446 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.224/1.224, allocations: 170.6 MB / 178.4 MB, free: 15.46 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001735/0.001735, allocations: 112.4 kB / 217.7 MB, free: 8.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1734/0.1734, allocations: 37.98 MB / 294.8 MB, free: 9.641 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.945e-06, allocations: 1.75 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09607, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3062/0.4023, allocations: 77.92 MB / 476.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.4026, allocations: 95.83 kB / 476.2 MB, free: 13.7 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd: time 0.009552/0.4122, allocations: 3.114 MB / 479.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4123, allocations: 0 / 479.4 MB, free: 13.48 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004429/0.4127, allocations: 406.5 kB / 479.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4128, allocations: 7.75 kB / 479.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.413, allocations: 34.92 kB / 479.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.4132, allocations: 191.7 kB / 480 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.4132, allocations: 3.812 kB / 480 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.4133, allocations: 7.891 kB / 480 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001838/0.4135, allocations: 97.81 kB / 480.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.4137, allocations: 150.9 kB / 480.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4137, allocations: 2.672 kB / 480.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4137, allocations: 0 / 480.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.4137, allocations: 14.58 kB / 480.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008669/0.4146, allocations: 0.6221 MB / 480.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.4149, allocations: 92 kB / 481 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.415, allocations: 27.55 kB / 481 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.415, allocations: 6.844 kB / 481 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.415, allocations: 34.56 kB / 481 MB, free: 12.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.415, allocations: 3.938 kB / 481 MB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002061/0.4152, allocations: 80.47 kB / 481.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.4153, allocations: 51.41 kB / 481.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.4153, allocations: 112.8 kB / 481.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.4154, allocations: 25.7 kB / 481.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.4154, allocations: 116.4 kB / 481.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.4154, allocations: 25.7 kB / 481.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/0.4154, allocations: 0 / 481.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.4155, allocations: 325.2 kB / 481.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.4156, allocations: 24.86 kB / 481.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.923e-05/0.4156, allocations: 76.78 kB / 481.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.4157, allocations: 45.83 kB / 481.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4157, allocations: 0 / 481.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001637/0.4159, allocations: 116.7 kB / 482 MB, free: 11.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.4159, allocations: 4.188 kB / 482 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4159, allocations: 7.906 kB / 482 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4159, allocations: 3.875 kB / 482 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.4161, allocations: 45.97 kB / 482.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4161, allocations: 3.906 kB / 482.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4163, allocations: 21.8 kB / 482.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.4163, allocations: 6.141 kB / 482.1 MB, free: 11.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.4163, allocations: 112.8 kB / 482.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.4164, allocations: 7.781 kB / 482.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.4166, allocations: 99.27 kB / 482.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4166, allocations: 0 / 482.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4166, allocations: 4 kB / 482.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4166, allocations: 1.688 kB / 482.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.4167, allocations: 169.6 kB / 482.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4168, allocations: 1.938 kB / 482.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.4169, allocations: 32.8 kB / 482.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4169, allocations: 0 / 482.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4169, allocations: 1.875 kB / 482.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4169, allocations: 4 kB / 482.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.417, allocations: 0 / 482.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001346/0.4171, allocations: 186.5 kB / 482.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.4171, allocations: 84.89 kB / 482.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4172, allocations: 0 / 482.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.4173, allocations: 10.41 kB / 482.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.4173, allocations: 6.453 kB / 482.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4173, allocations: 7.781 kB / 482.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.97e-05/0.4174, allocations: 89.09 kB / 482.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.4176, allocations: 27.16 kB / 482.9 MB, free: 10.79 MB / 330.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/0.4178, allocations: 125.6 kB / 483.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.4179, allocations: 68.36 kB / 483.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.4179, allocations: 4 kB / 483.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.418, allocations: 32.75 kB / 483.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.4182, allocations: 8.625 kB / 483.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.4185, allocations: 146.1 kB / 483.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.4187, allocations: 0.7266 MB / 484 MB, free: 9.883 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4187, allocations: 0 / 484 MB, free: 9.883 MB / 330.7 MB Notification: Performance of Templates: time 0.003189/0.4219, allocations: 1.112 MB / 485.1 MB, free: 9.742 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)