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_laminar_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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006497/0.006497, allocations: 97.58 kB / 15.73 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.001201/0.001201, allocations: 191.5 kB / 16.67 MB, free: 5.918 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.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.349/0.349, allocations: 39.94 MB / 309.9 MB, free: 9.293 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.001437/0.001437, allocations: 63.84 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3444, allocations: 56.88 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003034/0.3475, allocations: 1.789 MB / 494.5 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3488, allocations: 0.8432 MB / 495.3 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.3489, allocations: 5.406 kB / 495.3 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.3492, allocations: 39.7 kB / 495.4 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.3495, allocations: 78.05 kB / 495.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.3498, allocations: 68.36 kB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.35, allocations: 135.5 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.813e-05/0.3501, allocations: 14.56 kB / 495.7 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.3502, allocations: 63.81 kB / 495.7 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.3504, allocations: 82.59 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3505, allocations: 3.906 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.3507, allocations: 71.58 kB / 495.9 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.781e-05/0.3508, allocations: 31.06 kB / 495.9 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.3508, allocations: 41.64 kB / 495.9 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.3512, allocations: 142.4 kB / 496.1 MB, free: 17.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3513, allocations: 0.75 kB / 496.1 MB, free: 17.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3513, allocations: 1.375 kB / 496.1 MB, free: 17.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3513, allocations: 0 / 496.1 MB, free: 17.3 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000673/0.352, allocations: 411.1 kB / 496.5 MB, free: 16.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.352, allocations: 13.55 kB / 496.5 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.3524, allocations: 30.55 kB / 496.5 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3526, allocations: 188.6 kB / 496.7 MB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3527, allocations: 13.22 kB / 496.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3527, allocations: 18.89 kB / 496.7 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.3532, allocations: 173.7 kB / 496.9 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3532, allocations: 3.938 kB / 496.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.3532, allocations: 6.656 kB / 496.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/0.3533, allocations: 13.14 kB / 496.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.3536, allocations: 136.5 kB / 497.1 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.3545, allocations: 0.6344 MB / 497.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.3548, allocations: 115.1 kB / 497.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3549, allocations: 39.61 kB / 497.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.355, allocations: 2.016 kB / 497.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.355, allocations: 31.97 kB / 497.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.355, allocations: 0 / 497.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004806/0.3555, allocations: 141 kB / 498 MB, free: 15.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3555, allocations: 56.02 kB / 498.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3557, allocations: 137.4 kB / 498.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3557, allocations: 26.98 kB / 498.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3558, allocations: 118.2 kB / 498.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.3558, allocations: 29.62 kB / 498.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.3558, allocations: 31.19 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.3559, allocations: 318.2 kB / 498.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.3561, allocations: 39.62 kB / 498.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3562, allocations: 88.89 kB / 498.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.3565, allocations: 150.9 kB / 499 MB, free: 14.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3565, allocations: 4 kB / 499 MB, free: 14.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003338/0.3568, allocations: 160.3 kB / 499.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3569, allocations: 7.188 kB / 499.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3569, allocations: 2.438 kB / 499.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3569, allocations: 2.875 kB / 499.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.3571, allocations: 52.84 kB / 499.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3571, allocations: 4.078 kB / 499.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.971e-05/0.3572, allocations: 17.84 kB / 499.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3572, allocations: 9.453 kB / 499.3 MB, free: 14.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.3574, allocations: 142.7 kB / 499.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3574, allocations: 6.641 kB / 499.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.3578, allocations: 123.1 kB / 499.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3579, allocations: 1.125 kB / 499.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3579, allocations: 0 / 499.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.3579, allocations: 2.453 kB / 499.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.3582, allocations: 202.3 kB / 499.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3582, allocations: 0 / 499.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3583, allocations: 30.91 kB / 499.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.3583, allocations: 5.875 kB / 499.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3584, allocations: 4 kB / 499.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3584, allocations: 6.047 kB / 499.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3584, allocations: 0 / 499.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3588, allocations: 207.4 kB / 500 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.3588, allocations: 79.55 kB / 0.4883 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3588, allocations: 6.016 kB / 0.4883 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.3589, allocations: 5.984 kB / 0.4883 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.359, allocations: 10.22 kB / 0.4883 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.359, allocations: 2.109 kB / 0.4883 GB, free: 14.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.3591, allocations: 100.5 kB / 0.4884 GB, free: 14.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.3591, allocations: 0 / 0.4884 GB, free: 14.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.3594, allocations: 36.38 kB / 0.4885 GB, free: 14.04 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.3596, allocations: 105.9 kB / 0.4886 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.36, allocations: 92.64 kB / 0.4887 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.36, allocations: 0 / 0.4887 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3601, allocations: 47.86 kB / 0.4887 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3605, allocations: 20.52 kB / 0.4887 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.361, allocations: 250.8 kB / 0.489 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.3613, allocations: 0.7073 MB / 0.4897 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.854e-05/0.3614, allocations: 27.02 kB / 0.4897 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.3614, allocations: 12.98 kB / 0.4897 GB, free: 13.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3614, allocations: 1.281 kB / 0.4897 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Templates: time 0.003821/0.3652, allocations: 0.9443 MB / 0.4906 GB, free: 12.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)