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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001124/0.001124, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.313/1.313, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001985/0.001985, allocations: 99.52 kB / 223.2 MB, free: 4.051 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.1889/0.1889, allocations: 37.98 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.067e-05, allocations: 8 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08806, allocations: 48.7 MB / 405.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.4324, allocations: 78.65 MB / 484.4 MB, free: 18.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.4327, allocations: 97.36 kB / 484.5 MB, free: 18.59 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 - DAE generated: time 0.008604/0.4413, allocations: 3.449 MB / 487.9 MB, free: 18.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4413, allocations: 0 / 487.9 MB, free: 18.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.4413, allocations: 3.812 kB / 487.9 MB, free: 18.07 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.000352/0.4417, allocations: 396.9 kB / 488.3 MB, free: 17.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.4417, allocations: 7.75 kB / 488.3 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.442, allocations: 31.39 kB / 488.3 MB, free: 17.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4421, allocations: 197.3 kB / 488.5 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4422, allocations: 11.38 kB / 488.5 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.4422, allocations: 7.812 kB / 488.6 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.4424, allocations: 163.5 kB / 488.7 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4424, allocations: 3.75 kB / 488.7 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.4425, allocations: 3.562 kB / 488.7 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.4425, allocations: 10.34 kB / 488.7 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.4427, allocations: 109.6 kB / 488.8 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.4434, allocations: 0.653 MB / 489.5 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.4436, allocations: 96.36 kB / 489.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.4437, allocations: 27.59 kB / 489.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.4437, allocations: 0 / 489.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.4437, allocations: 33.94 kB / 489.6 MB, free: 16.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4437, allocations: 3.938 kB / 489.6 MB, free: 16.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001973/0.4439, allocations: 81.8 kB / 489.7 MB, free: 16.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.444, allocations: 55.41 kB / 489.8 MB, free: 16.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.4441, allocations: 113.5 kB / 489.9 MB, free: 16.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.4441, allocations: 29.64 kB / 489.9 MB, free: 16.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.4441, allocations: 123.9 kB / 490 MB, free: 16.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.4442, allocations: 25.94 kB / 490.1 MB, free: 16.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/0.4442, allocations: 3.688 kB / 490.1 MB, free: 16.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.4443, allocations: 314.6 kB / 490.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.4443, allocations: 21.53 kB / 490.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.4444, allocations: 93.86 kB / 490.5 MB, free: 16.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.609e-05/0.4444, allocations: 34.67 kB / 490.5 MB, free: 16.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4444, allocations: 3.938 kB / 490.5 MB, free: 16.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001542/0.4446, allocations: 137.3 kB / 490.7 MB, free: 16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4446, allocations: 6.922 kB / 490.7 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4446, allocations: 3.875 kB / 490.7 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4446, allocations: 4.125 kB / 490.7 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.4448, allocations: 45.02 kB / 490.7 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4448, allocations: 3.844 kB / 490.7 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.4449, allocations: 18.3 kB / 490.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4449, allocations: 7.75 kB / 490.8 MB, free: 15.99 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 4.563e-05/0.445, allocations: 116.3 kB / 490.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.445, allocations: 7.953 kB / 490.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.4452, allocations: 105.6 kB / 491 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4452, allocations: 0 / 491 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4452, allocations: 3.875 kB / 491 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4452, allocations: 0 / 491 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.4454, allocations: 194.1 kB / 491.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4454, allocations: 0 / 491.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.4455, allocations: 36.86 kB / 491.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4455, allocations: 3.953 kB / 491.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4456, allocations: 3.938 kB / 491.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4456, allocations: 0 / 491.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4456, allocations: 3.906 kB / 491.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.4457, allocations: 181.5 kB / 491.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.4457, allocations: 91.84 kB / 491.5 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.4457, allocations: 3.953 kB / 491.5 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.76e-05/0.4458, allocations: 19.02 kB / 491.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.4459, allocations: 0 / 491.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.4459, allocations: 6.875 kB / 491.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.452e-05/0.4459, allocations: 102.8 kB / 491.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.446, allocations: 0 / 491.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.4462, allocations: 26.62 kB / 491.6 MB, free: 15.3 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.0001293/0.4463, allocations: 129.8 kB / 491.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.4465, allocations: 67.45 kB / 491.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4465, allocations: 0 / 491.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.4465, allocations: 37.16 kB / 491.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.4467, allocations: 15.38 kB / 491.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.447, allocations: 134.7 kB / 492 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.4471, allocations: 0.7186 MB / 492.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.4472, allocations: 25.33 kB / 492.8 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.4473, allocations: 18.53 kB / 492.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4473, allocations: 4 kB / 492.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of Templates: time 0.003082/0.4504, allocations: 1.101 MB / 493.9 MB, free: 14.26 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)