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.006503/0.006503, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.0013/0.001301, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3313/0.3313, allocations: 38 MB / 307.9 MB, free: 10.18 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.001736/0.001736, allocations: 72.56 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3464, allocations: 56.48 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003135/0.3496, allocations: 1.817 MB / 491.3 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004356/0.354, allocations: 2.907 MB / 494.2 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.3542, allocations: 5.094 kB / 494.2 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.3546, allocations: 42.75 kB / 494.3 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.355, allocations: 92.08 kB / 494.4 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.3577, allocations: 0.7171 MB / 495.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.3582, allocations: 239.6 kB / 495.3 MB, free: 16.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.3583, allocations: 35.17 kB / 495.3 MB, free: 16.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.3585, allocations: 103.8 kB / 495.4 MB, free: 16.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.3587, allocations: 119.5 kB / 495.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3587, allocations: 8.219 kB / 495.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.3613, allocations: 1.205 MB / 496.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3614, allocations: 77.83 kB / 496.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.3615, allocations: 116 kB / 497 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.3632, allocations: 0.918 MB / 497.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3632, allocations: 0 / 497.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3632, allocations: 0 / 497.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3632, allocations: 1.281 kB / 497.9 MB, free: 15.28 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.00111/0.3644, allocations: 0.6613 MB / 498.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3644, allocations: 18.47 kB / 498.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.3645, allocations: 28.94 kB / 498.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3648, allocations: 250.1 kB / 498.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3648, allocations: 15.56 kB / 498.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.3649, allocations: 28.48 kB / 498.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008002/0.3657, allocations: 467.1 kB / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3657, allocations: 1.156 kB / 499.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.3657, allocations: 10.19 kB / 499.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.948e-05/0.3658, allocations: 44.05 kB / 499.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.3668, allocations: 0.5542 MB / 499.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.3688, allocations: 1.299 MB / 0.4895 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.3695, allocations: 272.7 kB / 0.4897 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.3697, allocations: 100.3 kB / 0.4898 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/0.3698, allocations: 12.88 kB / 0.4899 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3698, allocations: 41.5 kB / 0.4899 GB, free: 13.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.422e-06/0.3698, allocations: 0 / 0.4899 GB, free: 13.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007844/0.3706, allocations: 320.9 kB / 0.4902 GB, free: 13.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.3706, allocations: 58.38 kB / 0.4903 GB, free: 12.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3708, allocations: 143.1 kB / 0.4904 GB, free: 12.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3708, allocations: 34.67 kB / 0.4904 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.3709, allocations: 199.3 kB / 0.4906 GB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.371, allocations: 84.55 kB / 0.4907 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.3711, allocations: 69.12 kB / 0.4908 GB, free: 12.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.3711, allocations: 321.8 kB / 0.4911 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.3713, allocations: 93.23 kB / 0.4912 GB, free: 12.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.3716, allocations: 175.2 kB / 0.4913 GB, free: 12.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.3721, allocations: 297 kB / 0.4916 GB, free: 11.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3721, allocations: 0 / 0.4916 GB, free: 11.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005844/0.3727, allocations: 328.5 kB / 0.4919 GB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3727, allocations: 10.81 kB / 0.4919 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3727, allocations: 6.203 kB / 0.4919 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.3728, allocations: 3.844 kB / 0.4919 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.3732, allocations: 120.2 kB / 0.4921 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009125/0.3742, allocations: 2.368 MB / 0.4944 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.3744, allocations: 33.02 kB / 0.4944 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.3744, allocations: 24.16 kB / 0.4944 GB, free: 9.344 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.0002046/0.3746, allocations: 187.8 kB / 0.4946 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.3747, allocations: 11.38 kB / 0.4946 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008362/0.3755, allocations: 357.9 kB / 0.495 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3755, allocations: 3.188 kB / 0.495 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3756, allocations: 0 / 0.495 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3756, allocations: 9.656 kB / 0.495 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.376, allocations: 342.1 kB / 0.4953 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.376, allocations: 0 / 0.4953 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.3764, allocations: 108 kB / 0.4954 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3764, allocations: 1.375 kB / 0.4954 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3764, allocations: 9.812 kB / 0.4954 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006787/0.3771, allocations: 2.358 MB / 0.4977 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3771, allocations: 0.7969 kB / 0.4977 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.3777, allocations: 384.1 kB / 0.4981 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.3778, allocations: 95.06 kB / 0.4982 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.3778, allocations: 5.25 kB / 0.4982 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.378, allocations: 11.48 kB / 0.4982 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.3781, allocations: 21.44 kB / 0.4982 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.3781, allocations: 13.14 kB / 0.4982 GB, free: 6.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.003e-05/0.3782, allocations: 105.7 kB / 0.4983 GB, free: 5.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3782, allocations: 0 / 0.4983 GB, free: 5.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001173/0.3794, allocations: 242.4 kB / 0.4986 GB, free: 5.898 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.001212/0.3806, allocations: 350.6 kB / 0.4989 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008169/0.3814, allocations: 290.9 kB / 0.4992 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3814, allocations: 0 / 0.4992 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.3819, allocations: 184.7 kB / 0.4993 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.3823, allocations: 17.28 kB / 0.4994 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3834, allocations: 0.561 MB / 0.4999 GB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3837, allocations: 0.803 MB / 0.5007 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.384, allocations: 100.1 kB / 0.5008 GB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.3841, allocations: 29.62 kB / 0.5008 GB, free: 4.559 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3841, allocations: 0 / 0.5008 GB, free: 4.559 MB / 382.1 MB Notification: Performance of Templates: time 0.01335/0.3974, allocations: 6.152 MB / 0.5068 GB, free: 1.473 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)