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_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01216/0.01216, allocations: 104.7 kB / 15.74 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 196.2 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3186/0.3186, allocations: 38 MB / 307.9 MB, free: 10.11 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001627, allocations: 75.91 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3308, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002731/0.3336, allocations: 1.821 MB / 491.3 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.3359, allocations: 1.683 MB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.336, allocations: 1.031 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.3363, allocations: 50.59 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.3366, allocations: 75.77 kB / 493.1 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3377, allocations: 401 kB / 493.5 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.338, allocations: 247.8 kB / 493.8 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.3381, allocations: 37.72 kB / 493.8 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.3384, allocations: 112.5 kB / 493.9 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.3386, allocations: 116 kB / 494 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.3386, allocations: 7.406 kB / 494 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.3397, allocations: 0.7057 MB / 494.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.3399, allocations: 70.78 kB / 494.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.34, allocations: 115.5 kB / 494.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009251/0.3409, allocations: 0.612 MB / 495.5 MB, free: 16.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3409, allocations: 0.6562 kB / 495.5 MB, free: 16.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3409, allocations: 1.156 kB / 495.5 MB, free: 16.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.341, allocations: 0 / 495.5 MB, free: 16.53 MB / 382.1 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.0008424/0.3418, allocations: 0.625 MB / 496.1 MB, free: 16.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3418, allocations: 12.89 kB / 496.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.3419, allocations: 30.2 kB / 496.2 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.3422, allocations: 241.9 kB / 496.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3422, allocations: 15.5 kB / 496.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.3422, allocations: 25 kB / 496.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.343, allocations: 470.7 kB / 496.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.343, allocations: 1.188 kB / 496.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.343, allocations: 14.31 kB / 496.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.013e-05/0.3431, allocations: 44.64 kB / 497 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008388/0.3439, allocations: 0.5528 MB / 497.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.3457, allocations: 1.297 MB / 498.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.3462, allocations: 282.9 kB / 499.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.3464, allocations: 100.3 kB / 499.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.3465, allocations: 9.516 kB / 499.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.3465, allocations: 41.2 kB / 499.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.3465, allocations: 0 / 499.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007447/0.3473, allocations: 325.5 kB / 499.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.3473, allocations: 57.69 kB / 499.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3474, allocations: 149.6 kB / 499.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3474, allocations: 27.52 kB / 499.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.3475, allocations: 191.1 kB / 500 MB, free: 13.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.3476, allocations: 85.39 kB / 0.4884 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3477, allocations: 70.25 kB / 0.4884 GB, free: 13.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.3478, allocations: 322.8 kB / 0.4887 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.348, allocations: 90.64 kB / 0.4888 GB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.3482, allocations: 178.2 kB / 0.489 GB, free: 13.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.3487, allocations: 292.1 kB / 0.4893 GB, free: 13.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3487, allocations: 1.094 kB / 0.4893 GB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005939/0.3493, allocations: 335.4 kB / 0.4896 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3493, allocations: 6.406 kB / 0.4896 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3493, allocations: 2.219 kB / 0.4896 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3494, allocations: 5.641 kB / 0.4896 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.3499, allocations: 121.8 kB / 0.4897 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007203/0.3506, allocations: 2.36 MB / 0.492 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.3508, allocations: 37.06 kB / 0.4921 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.3509, allocations: 16.48 kB / 0.4921 GB, free: 10.64 MB / 382.1 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 () * Number of clocked 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.3512, allocations: 188.6 kB / 0.4922 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.3512, allocations: 11.23 kB / 0.4923 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009398/0.3522, allocations: 357.2 kB / 0.4926 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3522, allocations: 4.906 kB / 0.4926 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.3522, allocations: 4 kB / 0.4926 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3522, allocations: 5.203 kB / 0.4926 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.3528, allocations: 341.9 kB / 0.4929 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3528, allocations: 7.938 kB / 0.4929 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.3532, allocations: 107.9 kB / 0.493 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.3533, allocations: 0.9062 kB / 0.493 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.3533, allocations: 10.34 kB / 0.4931 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009463/0.3542, allocations: 2.363 MB / 0.4954 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3543, allocations: 4.094 kB / 0.4954 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.3549, allocations: 372.9 kB / 0.4957 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.3549, allocations: 98.62 kB / 0.4958 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.355, allocations: 5.188 kB / 0.4958 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3551, allocations: 12.34 kB / 0.4958 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.3552, allocations: 21.36 kB / 0.4959 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.3552, allocations: 16.83 kB / 0.4959 GB, free: 7.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.3553, allocations: 98.75 kB / 0.496 GB, free: 7.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3553, allocations: 0 / 0.496 GB, free: 7.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008265/0.3561, allocations: 169.9 kB / 0.4961 GB, free: 7.215 MB / 382.1 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 () * Number of clocked 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00042/0.3566, allocations: 233.9 kB / 0.4964 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007066/0.3573, allocations: 290.7 kB / 0.4966 GB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3573, allocations: 5.375 kB / 0.4966 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.3577, allocations: 179.7 kB / 0.4968 GB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.3581, allocations: 18.5 kB / 0.4968 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.3591, allocations: 0.5705 MB / 0.4974 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3593, allocations: 0.7954 MB / 0.4982 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.3596, allocations: 98.38 kB / 0.4983 GB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.3597, allocations: 34.73 kB / 0.4983 GB, free: 5.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3597, allocations: 4 kB / 0.4983 GB, free: 5.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01079/0.3704, allocations: 4.663 MB / 0.5028 GB, free: 4.051 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1)