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_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.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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.01092/0.01092, allocations: 108.3 kB / 15.74 MB, free: 5.984 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.001687/0.001687, allocations: 193.3 kB / 16.67 MB, free: 5.906 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.664/1.664, allocations: 205.1 MB / 222.6 MB, free: 4.398 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.3257/0.3257, allocations: 37.99 MB / 307.9 MB, free: 10.32 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.001787/0.001787, allocations: 72.36 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3388, allocations: 56.46 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002739/0.3416, allocations: 1.786 MB / 491.3 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3429, allocations: 0.8431 MB / 492.1 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.3429, allocations: 1.062 kB / 492.1 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.3432, allocations: 46.52 kB / 492.2 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.3434, allocations: 70.52 kB / 492.2 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.3436, allocations: 64.03 kB / 492.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3438, allocations: 135 kB / 492.4 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.3438, allocations: 18.64 kB / 492.4 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.344, allocations: 72.02 kB / 492.5 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3441, allocations: 82.16 kB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3442, allocations: 4.594 kB / 492.6 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.3443, allocations: 66.78 kB / 492.7 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.3444, allocations: 35.36 kB / 492.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.3444, allocations: 37.47 kB / 492.7 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.3447, allocations: 139.9 kB / 492.9 MB, free: 17.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3447, allocations: 0.8438 kB / 492.9 MB, free: 17.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3447, allocations: 0 / 492.9 MB, free: 17.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3448, allocations: 1.312 kB / 492.9 MB, free: 17.73 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.00057/0.3453, allocations: 412.2 kB / 493.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3454, allocations: 12.11 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.3457, allocations: 34.91 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3459, allocations: 188.4 kB / 493.5 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3459, allocations: 12.78 kB / 493.5 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.3459, allocations: 14.84 kB / 493.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.3463, allocations: 178.8 kB / 493.7 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3463, allocations: 0 / 493.7 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3463, allocations: 9.172 kB / 493.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.3464, allocations: 14.91 kB / 493.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.3467, allocations: 132 kB / 493.9 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007333/0.3474, allocations: 0.6417 MB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.3478, allocations: 114.8 kB / 494.6 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3479, allocations: 36.42 kB / 494.7 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3479, allocations: 5.156 kB / 494.7 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.3479, allocations: 32.22 kB / 494.7 MB, free: 16.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.3479, allocations: 0 / 494.7 MB, free: 16.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000427/0.3484, allocations: 143.6 kB / 494.8 MB, free: 16.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.3484, allocations: 57.16 kB / 494.9 MB, free: 16.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.3485, allocations: 122.6 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.3485, allocations: 30.36 kB / 495 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.3486, allocations: 121.5 kB / 495.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3486, allocations: 22.61 kB / 495.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.3486, allocations: 29.52 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.3487, allocations: 319.7 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3488, allocations: 42.91 kB / 495.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.349, allocations: 97.11 kB / 495.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.3493, allocations: 154 kB / 495.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3493, allocations: 1.094 kB / 495.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000322/0.3496, allocations: 155.5 kB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3496, allocations: 6.016 kB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3496, allocations: 1.875 kB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3497, allocations: 3.531 kB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.3498, allocations: 41.89 kB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3498, allocations: 6.844 kB / 496 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.53e-05/0.3499, allocations: 22.66 kB / 496 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.35, allocations: 4.719 kB / 496 MB, free: 15.25 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 7.91e-05/0.3501, allocations: 134.3 kB / 496.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.3501, allocations: 8.094 kB / 496.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.3504, allocations: 133.7 kB / 496.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3504, allocations: 1.953 kB / 496.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3504, allocations: 1.062 kB / 496.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3504, allocations: 3.984 kB / 496.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.3507, allocations: 196.2 kB / 496.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3507, allocations: 0 / 496.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.3508, allocations: 26.38 kB / 496.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3508, allocations: 5.156 kB / 496.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3509, allocations: 1.922 kB / 496.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3509, allocations: 0 / 496.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3509, allocations: 1.375 kB / 496.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.3512, allocations: 217.8 kB / 496.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.3513, allocations: 84.58 kB / 496.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3513, allocations: 5.094 kB / 496.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3514, allocations: 10.98 kB / 496.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.3515, allocations: 4.984 kB / 496.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3515, allocations: 6.125 kB / 496.9 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.327e-05/0.3515, allocations: 93.31 kB / 497 MB, free: 14.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3515, allocations: 0 / 497 MB, free: 14.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3518, allocations: 27.47 kB / 497 MB, free: 14.48 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.0001432/0.352, allocations: 106.6 kB / 497.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003599/0.3523, allocations: 97.47 kB / 497.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3523, allocations: 0 / 497.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.3525, allocations: 43.33 kB / 497.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.3527, allocations: 15.38 kB / 497.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.3532, allocations: 260.1 kB / 497.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.3534, allocations: 0.7116 MB / 498.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.818e-05/0.3535, allocations: 32.03 kB / 498.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.3536, allocations: 12.08 kB / 498.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3536, allocations: 1.438 kB / 498.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of Templates: time 0.003703/0.3573, allocations: 0.9502 MB / 499.2 MB, free: 13.33 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)