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_overall_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_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008745/0.008745, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001931/0.001931, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.565/1.565, allocations: 205.1 MB / 222.6 MB, free: 4.543 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.387/0.387, allocations: 38 MB / 307.9 MB, free: 10.2 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.001548/0.001548, allocations: 75.89 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3479, allocations: 56.47 MB / 489.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003379/0.3513, allocations: 1.813 MB / 491.3 MB, free: 18.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.3558, allocations: 2.912 MB / 494.2 MB, free: 16.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.3559, allocations: 2.188 kB / 494.2 MB, free: 16.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.3563, allocations: 46.28 kB / 494.3 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.3566, allocations: 82.86 kB / 494.3 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.3587, allocations: 0.7172 MB / 495.1 MB, free: 16.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.3591, allocations: 244.8 kB / 495.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.641e-05/0.3591, allocations: 29.56 kB / 495.3 MB, free: 16.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.3593, allocations: 105.1 kB / 495.4 MB, free: 16.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.3595, allocations: 117.5 kB / 495.5 MB, free: 16.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.3596, allocations: 8.406 kB / 495.6 MB, free: 16.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.3618, allocations: 1.202 MB / 496.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3619, allocations: 82.8 kB / 496.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.3621, allocations: 114.9 kB / 497 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.3639, allocations: 0.913 MB / 497.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.3639, allocations: 1.562 kB / 497.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3639, allocations: 0 / 497.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.3639, allocations: 0 / 497.9 MB, free: 15.32 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.001456/0.3654, allocations: 0.685 MB / 498.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.611e-05/0.3655, allocations: 12.67 kB / 498.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.3656, allocations: 33.56 kB / 498.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.3661, allocations: 246.2 kB / 498.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.3661, allocations: 18.45 kB / 498.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.3662, allocations: 33.7 kB / 498.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.3673, allocations: 471.4 kB / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.3673, allocations: 0 / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.3674, allocations: 14.73 kB / 499.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.3675, allocations: 44.23 kB / 499.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3687, allocations: 0.5523 MB / 500 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.3712, allocations: 1.305 MB / 0.4895 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.3719, allocations: 271.9 kB / 0.4898 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.3722, allocations: 95.88 kB / 0.4899 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.3722, allocations: 5.312 kB / 0.4899 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3723, allocations: 45.06 kB / 0.4899 GB, free: 13.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.3723, allocations: 3.938 kB / 0.4899 GB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008774/0.3732, allocations: 325.5 kB / 0.4902 GB, free: 13.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.3732, allocations: 58.41 kB / 0.4903 GB, free: 12.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3733, allocations: 138.6 kB / 0.4904 GB, free: 12.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3734, allocations: 27.14 kB / 0.4904 GB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.3735, allocations: 213.6 kB / 0.4906 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.3735, allocations: 85.92 kB / 0.4907 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/0.3736, allocations: 69.38 kB / 0.4908 GB, free: 12.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.3737, allocations: 324.8 kB / 0.4911 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.3739, allocations: 90.3 kB / 0.4912 GB, free: 12.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.3742, allocations: 180.2 kB / 0.4914 GB, free: 12.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.3746, allocations: 295.6 kB / 0.4916 GB, free: 11.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3746, allocations: 0 / 0.4916 GB, free: 11.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00064/0.3753, allocations: 327.3 kB / 0.492 GB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.3753, allocations: 11.03 kB / 0.492 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3753, allocations: 2.781 kB / 0.492 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.3754, allocations: 5.281 kB / 0.492 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.3759, allocations: 117.5 kB / 0.4921 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.377, allocations: 2.366 MB / 0.4944 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3771, allocations: 37.3 kB / 0.4944 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.3772, allocations: 17.17 kB / 0.4944 GB, free: 9.348 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.0002187/0.3774, allocations: 184.9 kB / 0.4946 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.3775, allocations: 14.78 kB / 0.4946 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008282/0.3783, allocations: 357.9 kB / 0.495 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3783, allocations: 7.312 kB / 0.495 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3783, allocations: 0 / 0.495 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3783, allocations: 6.828 kB / 0.495 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.3787, allocations: 346.2 kB / 0.4953 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3787, allocations: 4 kB / 0.4953 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.3791, allocations: 103 kB / 0.4954 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3792, allocations: 1.531 kB / 0.4954 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.3792, allocations: 16.45 kB / 0.4954 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007168/0.3799, allocations: 2.364 MB / 0.4978 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3799, allocations: 0 / 0.4978 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.3805, allocations: 379.8 kB / 0.4981 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.3805, allocations: 99.42 kB / 0.4982 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.3806, allocations: 9.984 kB / 0.4982 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3807, allocations: 15.84 kB / 0.4982 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.3808, allocations: 21.41 kB / 0.4983 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.3808, allocations: 12.95 kB / 0.4983 GB, free: 6.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.349e-05/0.3809, allocations: 98 kB / 0.4984 GB, free: 5.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3809, allocations: 4 kB / 0.4984 GB, free: 5.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008236/0.3817, allocations: 247.4 kB / 0.4986 GB, free: 5.875 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.0007131/0.3825, allocations: 344.3 kB / 0.4989 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007724/0.3832, allocations: 298.2 kB / 0.4992 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3833, allocations: 0 / 0.4992 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.3837, allocations: 181 kB / 0.4994 GB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3841, allocations: 21.98 kB / 0.4994 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009759/0.3851, allocations: 0.569 MB / 0.5 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.3854, allocations: 0.8027 MB / 0.5007 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002467/0.3856, allocations: 100.6 kB / 0.5008 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.3857, allocations: 29.55 kB / 0.5009 GB, free: 4.523 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3857, allocations: 0 / 0.5009 GB, free: 4.523 MB / 382.1 MB Notification: Performance of Templates: time 0.009447/0.3951, allocations: 6.144 MB / 0.5069 GB, free: 1.457 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1)