Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_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.2_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.006647/0.006647, allocations: 99.36 kB / 15.73 MB, free: 6.047 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.001351/0.00135, allocations: 183.4 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.533/1.533, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4592/0.4592, allocations: 39.95 MB / 309.8 MB, free: 9.438 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.2. 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.001543/0.001543, allocations: 60.47 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4221, allocations: 56.88 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003704/0.4259, allocations: 1.824 MB / 494.5 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.4286, allocations: 1.681 MB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.4288, allocations: 1.031 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.4291, allocations: 46.47 kB / 496.2 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.4295, allocations: 83.02 kB / 496.3 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.4306, allocations: 407 kB / 496.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.431, allocations: 240.4 kB / 496.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.4311, allocations: 41.75 kB / 497 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.4314, allocations: 94.95 kB / 497.1 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.4316, allocations: 124.2 kB / 497.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.4316, allocations: 7.594 kB / 497.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.4329, allocations: 0.6985 MB / 497.9 MB, free: 16.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.4331, allocations: 73.62 kB / 498 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.4332, allocations: 111.9 kB / 498.1 MB, free: 16.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.4344, allocations: 0.6183 MB / 498.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4344, allocations: 1.188 kB / 498.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.4344, allocations: 0 / 498.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.4345, allocations: 0 / 498.7 MB, free: 16.04 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.001181/0.4357, allocations: 0.6191 MB / 499.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.855e-05/0.4358, allocations: 13.23 kB / 499.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.4358, allocations: 29.78 kB / 499.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.4362, allocations: 251.3 kB / 499.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.4362, allocations: 26.92 kB / 499.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.4363, allocations: 20.69 kB / 499.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/0.4371, allocations: 468.5 kB / 0.4884 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4371, allocations: 0 / 0.4884 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.4372, allocations: 10.47 kB / 0.4884 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.242e-05/0.4373, allocations: 52.08 kB / 0.4885 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.4384, allocations: 0.5488 MB / 0.489 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.4406, allocations: 1.304 MB / 0.4903 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.4412, allocations: 267.7 kB / 0.4905 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.4414, allocations: 96.34 kB / 0.4906 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.4415, allocations: 13.7 kB / 0.4906 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4415, allocations: 43.88 kB / 0.4907 GB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.462e-06/0.4415, allocations: 0 / 0.4907 GB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008171/0.4424, allocations: 330 kB / 0.491 GB, free: 13.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.4424, allocations: 55.28 kB / 0.491 GB, free: 13.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.4425, allocations: 142.5 kB / 0.4912 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4426, allocations: 31.08 kB / 0.4912 GB, free: 13.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.4427, allocations: 195.3 kB / 0.4914 GB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.4428, allocations: 90.81 kB / 0.4915 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.4429, allocations: 70.16 kB / 0.4915 GB, free: 13.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.443, allocations: 326.6 kB / 0.4919 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.4432, allocations: 92.06 kB / 0.4919 GB, free: 12.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.4435, allocations: 168.7 kB / 0.4921 GB, free: 12.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.444, allocations: 299.8 kB / 0.4924 GB, free: 12.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4441, allocations: 1.125 kB / 0.4924 GB, free: 12.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007589/0.4448, allocations: 323.2 kB / 0.4927 GB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.4449, allocations: 6.219 kB / 0.4927 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4449, allocations: 4.281 kB / 0.4927 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.4449, allocations: 8.25 kB / 0.4927 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.4455, allocations: 122.5 kB / 0.4928 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009719/0.4464, allocations: 2.359 MB / 0.4951 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.4466, allocations: 32.8 kB / 0.4952 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.4467, allocations: 17.52 kB / 0.4952 GB, free: 10.13 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.0002707/0.447, allocations: 187.8 kB / 0.4954 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.447, allocations: 15.59 kB / 0.4954 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009791/0.448, allocations: 363.6 kB / 0.4957 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.448, allocations: 2.875 kB / 0.4957 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.448, allocations: 3.984 kB / 0.4957 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4481, allocations: 3.938 kB / 0.4957 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.4485, allocations: 336.4 kB / 0.4961 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4486, allocations: 0 / 0.4961 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/0.449, allocations: 112.4 kB / 0.4962 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.449, allocations: 1.125 kB / 0.4962 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.4491, allocations: 15.67 kB / 0.4962 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.4501, allocations: 2.358 MB / 0.4985 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4501, allocations: 0 / 0.4985 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.4508, allocations: 386.7 kB / 0.4989 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.4509, allocations: 98.05 kB / 0.4989 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.4509, allocations: 9.047 kB / 0.499 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.451, allocations: 9.562 kB / 0.499 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.4511, allocations: 18.66 kB / 0.499 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.4512, allocations: 11.25 kB / 0.499 GB, free: 6.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.917e-05/0.4512, allocations: 100.6 kB / 0.4991 GB, free: 6.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4513, allocations: 0 / 0.4991 GB, free: 6.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001019/0.4523, allocations: 173.2 kB / 0.4993 GB, free: 6.543 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.0005489/0.4528, allocations: 227.8 kB / 0.4995 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008531/0.4537, allocations: 301.1 kB / 0.4998 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4537, allocations: 0 / 0.4998 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.4542, allocations: 180 kB / 0.4999 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.4546, allocations: 19.69 kB / 0.4999 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4557, allocations: 0.5661 MB / 0.5005 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.456, allocations: 0.8024 MB / 0.5013 GB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.4563, allocations: 98.77 kB / 0.5014 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.4564, allocations: 34.02 kB / 0.5014 GB, free: 5.016 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4564, allocations: 1 kB / 0.5014 GB, free: 5.016 MB / 382.1 MB Notification: Performance of Templates: time 0.01047/0.4669, allocations: 4.645 MB / 0.5059 GB, free: 2.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1)