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.00909/0.00909, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.00199/0.00199, allocations: 186.9 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.51/1.51, 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.3294/0.3294, allocations: 38 MB / 307.9 MB, free: 10.05 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.001488/0.001488, allocations: 75.84 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3399, allocations: 56.45 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002813/0.3427, allocations: 1.806 MB / 491.3 MB, free: 18.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3442, allocations: 0.8374 MB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.3443, allocations: 1.656 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.3446, allocations: 43.2 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.345, allocations: 74.62 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.3452, allocations: 72.31 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.3455, allocations: 135 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.715e-05/0.3456, allocations: 18.95 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3457, allocations: 68.69 kB / 492.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.3459, allocations: 78.3 kB / 492.6 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.346, allocations: 4.312 kB / 492.6 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.3462, allocations: 66.81 kB / 492.7 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.3463, allocations: 35.14 kB / 492.7 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.38e-05/0.3463, allocations: 45.17 kB / 492.8 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.3467, allocations: 135.9 kB / 492.9 MB, free: 17.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3467, allocations: 4 kB / 492.9 MB, free: 17.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3467, allocations: 1.281 kB / 492.9 MB, free: 17.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3467, allocations: 0 / 492.9 MB, free: 17.83 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.0006766/0.3474, allocations: 412.2 kB / 493.3 MB, free: 17.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3475, allocations: 12.27 kB / 493.3 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.3479, allocations: 35.56 kB / 493.3 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3481, allocations: 187.9 kB / 493.5 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3481, allocations: 12.88 kB / 493.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.3481, allocations: 15.31 kB / 493.6 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.3486, allocations: 174.2 kB / 493.7 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3486, allocations: 0 / 493.7 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3487, allocations: 13.66 kB / 493.7 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.3487, allocations: 10.41 kB / 493.7 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.3491, allocations: 140.4 kB / 493.9 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.3499, allocations: 0.6388 MB / 494.5 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.3503, allocations: 105.7 kB / 494.6 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3504, allocations: 41.25 kB / 494.7 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3504, allocations: 0 / 494.7 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3505, allocations: 35.84 kB / 494.7 MB, free: 16.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.3505, allocations: 0 / 494.7 MB, free: 16.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004768/0.351, allocations: 137.5 kB / 494.8 MB, free: 16.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.351, allocations: 52.98 kB / 494.9 MB, free: 16.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3511, allocations: 125.3 kB / 495 MB, free: 16.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3511, allocations: 26.77 kB / 495 MB, free: 16.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.3512, allocations: 130.4 kB / 495.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.3512, allocations: 21.09 kB / 495.2 MB, free: 16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.3513, allocations: 30.83 kB / 495.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.3514, allocations: 320 kB / 495.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3515, allocations: 37.67 kB / 495.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.3516, allocations: 96.73 kB / 495.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3519, allocations: 151.5 kB / 495.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3519, allocations: 0 / 495.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000342/0.3523, allocations: 166.9 kB / 496 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3523, allocations: 7.891 kB / 496 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.3523, allocations: 1.469 kB / 496 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.3524, allocations: 2.938 kB / 496 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.3526, allocations: 41.95 kB / 496 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.3526, allocations: 2.984 kB / 496 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.3527, allocations: 18.27 kB / 496 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3527, allocations: 9.531 kB / 496 MB, free: 15.36 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.0001064/0.3528, allocations: 139.3 kB / 496.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.3529, allocations: 7.125 kB / 496.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.3532, allocations: 125.9 kB / 496.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3532, allocations: 1.344 kB / 496.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3533, allocations: 1.672 kB / 496.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3533, allocations: 4.516 kB / 496.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.3535, allocations: 194.8 kB / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3535, allocations: 0 / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.3537, allocations: 27.22 kB / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3537, allocations: 1.703 kB / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3537, allocations: 8 kB / 496.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3537, allocations: 1.828 kB / 496.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3537, allocations: 0 / 496.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.3541, allocations: 223.1 kB / 496.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.3541, allocations: 84.11 kB / 496.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3541, allocations: 1.625 kB / 496.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.3542, allocations: 7.547 kB / 496.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.3543, allocations: 7.969 kB / 496.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3543, allocations: 1.969 kB / 496.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.569e-05/0.3544, allocations: 97.81 kB / 497 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3544, allocations: 0 / 497 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.3547, allocations: 27.44 kB / 497 MB, free: 14.58 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.0001377/0.3548, allocations: 98.64 kB / 497.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.3551, allocations: 101.5 kB / 497.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3551, allocations: 0 / 497.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3552, allocations: 42.3 kB / 497.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.3555, allocations: 10.86 kB / 497.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.356, allocations: 261.1 kB / 497.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.3561, allocations: 0.715 MB / 498.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.984e-05/0.3562, allocations: 31.05 kB / 498.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.3563, allocations: 16.88 kB / 498.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3563, allocations: 1.156 kB / 498.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of Templates: time 0.004256/0.3606, allocations: 0.9315 MB / 499.2 MB, free: 13.45 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)