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.007901/0.007901, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001494/0.001494, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.587/1.587, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.317/0.317, allocations: 38 MB / 307.9 MB, free: 10.02 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.003049/0.003049, allocations: 76.5 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3584, allocations: 56.47 MB / 489.5 MB, free: 20.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003502/0.362, allocations: 1.813 MB / 491.3 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.3646, allocations: 1.697 MB / 493 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.3647, allocations: 1.25 kB / 493 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.365, allocations: 46 kB / 493 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.3653, allocations: 80.8 kB / 493.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000941/0.3662, allocations: 404.9 kB / 493.5 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.3666, allocations: 244.2 kB / 493.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.3667, allocations: 35.27 kB / 493.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.3669, allocations: 106.9 kB / 493.9 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.3672, allocations: 119.3 kB / 494 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.3672, allocations: 12.67 kB / 494 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.3683, allocations: 0.7022 MB / 494.7 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3685, allocations: 70.69 kB / 494.8 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.3686, allocations: 110.7 kB / 494.9 MB, free: 17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3696, allocations: 0.6128 MB / 495.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3696, allocations: 0 / 495.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3696, allocations: 0 / 495.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3697, allocations: 1.844 kB / 495.5 MB, free: 16.77 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.00108/0.3707, allocations: 0.6243 MB / 496.1 MB, free: 16.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3708, allocations: 13.62 kB / 496.2 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.237e-05/0.3709, allocations: 29.75 kB / 496.2 MB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3712, allocations: 238.4 kB / 496.4 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3712, allocations: 22.36 kB / 496.4 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.3712, allocations: 29.23 kB / 496.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.3721, allocations: 470.9 kB / 496.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3721, allocations: 0.7969 kB / 496.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.3721, allocations: 11.31 kB / 496.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.3722, allocations: 48.12 kB / 497 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.3732, allocations: 0.5497 MB / 497.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.375, allocations: 1.299 MB / 498.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.3756, allocations: 276.3 kB / 499.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.3758, allocations: 99.92 kB / 499.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.842e-05/0.3758, allocations: 9.547 kB / 499.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.3759, allocations: 40.31 kB / 499.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.784e-06/0.3759, allocations: 5.188 kB / 499.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007545/0.3766, allocations: 320.8 kB / 499.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3767, allocations: 55.03 kB / 499.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3768, allocations: 150.9 kB / 499.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3768, allocations: 26.89 kB / 499.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.3769, allocations: 196.1 kB / 500 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.377, allocations: 92.91 kB / 0.4884 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-05/0.3771, allocations: 70.3 kB / 0.4884 GB, free: 14.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.3771, allocations: 324.4 kB / 0.4887 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3773, allocations: 90.02 kB / 0.4888 GB, free: 13.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.3776, allocations: 172.6 kB / 0.489 GB, free: 13.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.3781, allocations: 296.7 kB / 0.4893 GB, free: 13.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3781, allocations: 1.062 kB / 0.4893 GB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006447/0.3787, allocations: 331.4 kB / 0.4896 GB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3787, allocations: 6.812 kB / 0.4896 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3788, allocations: 3.312 kB / 0.4896 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.3788, allocations: 3.594 kB / 0.4896 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.3793, allocations: 118.7 kB / 0.4897 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009061/0.3802, allocations: 2.363 MB / 0.492 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.3804, allocations: 38.05 kB / 0.4921 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.3805, allocations: 17.34 kB / 0.4921 GB, free: 10.87 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.0002141/0.3807, allocations: 183.2 kB / 0.4923 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.3807, allocations: 10.97 kB / 0.4923 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009202/0.3817, allocations: 354.1 kB / 0.4926 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3817, allocations: 7.656 kB / 0.4926 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3817, allocations: 0 / 0.4926 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3817, allocations: 11.38 kB / 0.4926 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.3822, allocations: 340.2 kB / 0.4929 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3822, allocations: 1.188 kB / 0.4929 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004239/0.3826, allocations: 110.6 kB / 0.493 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3827, allocations: 1.75 kB / 0.493 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.3827, allocations: 9.609 kB / 0.4931 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008786/0.3836, allocations: 2.363 MB / 0.4954 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3836, allocations: 4.328 kB / 0.4954 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.3842, allocations: 376.9 kB / 0.4957 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.3843, allocations: 98.3 kB / 0.4958 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.3843, allocations: 6.359 kB / 0.4958 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3845, allocations: 15.53 kB / 0.4958 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.3846, allocations: 21.72 kB / 0.4959 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.3846, allocations: 16.78 kB / 0.4959 GB, free: 7.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.209e-05/0.3847, allocations: 100.3 kB / 0.496 GB, free: 7.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3847, allocations: 0 / 0.496 GB, free: 7.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008775/0.3856, allocations: 169.4 kB / 0.4961 GB, free: 7.449 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.0005008/0.3861, allocations: 229.8 kB / 0.4964 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009639/0.3871, allocations: 291.2 kB / 0.4966 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3871, allocations: 0.6875 kB / 0.4966 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.3876, allocations: 184.9 kB / 0.4968 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.3881, allocations: 25.47 kB / 0.4968 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3896, allocations: 0.5612 MB / 0.4974 GB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.39, allocations: 0.7953 MB / 0.4982 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.3903, allocations: 99.89 kB / 0.4983 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.3904, allocations: 29.25 kB / 0.4983 GB, free: 6.156 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3904, allocations: 1.5 kB / 0.4983 GB, free: 6.156 MB / 382.1 MB Notification: Performance of Templates: time 0.01149/0.4019, allocations: 4.607 MB / 0.5028 GB, free: 4.363 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)