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.006471/0.006472, allocations: 101.3 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.001535/0.001535, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.621/1.621, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.3303/0.3303, allocations: 37.99 MB / 307.9 MB, free: 10.16 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.00147/0.00147, allocations: 71.91 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3168, allocations: 56.46 MB / 489.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003846/0.3207, allocations: 1.789 MB / 491.3 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3224, allocations: 0.8412 MB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.3225, allocations: 1.469 kB / 492.1 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.3227, allocations: 39.84 kB / 492.2 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.323, allocations: 74.12 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.3232, allocations: 71.09 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.3234, allocations: 132.5 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.3235, allocations: 22.03 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.3236, allocations: 68.94 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.3238, allocations: 76.95 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3238, allocations: 4.625 kB / 492.6 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.324, allocations: 76.11 kB / 492.7 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.3241, allocations: 31.02 kB / 492.7 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.3241, allocations: 41.16 kB / 492.7 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.3245, allocations: 139.9 kB / 492.9 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3245, allocations: 0 / 492.9 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3245, allocations: 3.938 kB / 492.9 MB, free: 17.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3245, allocations: 1.281 kB / 492.9 MB, free: 17.89 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.0006412/0.3252, allocations: 407.5 kB / 493.3 MB, free: 17.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3252, allocations: 13.23 kB / 493.3 MB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.3257, allocations: 38.78 kB / 493.3 MB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3259, allocations: 191.7 kB / 493.5 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3259, allocations: 13.69 kB / 493.5 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.3259, allocations: 18.92 kB / 493.5 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.3264, allocations: 173.5 kB / 493.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3264, allocations: 1.672 kB / 493.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.3264, allocations: 9.344 kB / 493.7 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.3264, allocations: 9.656 kB / 493.7 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.3268, allocations: 132.1 kB / 493.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008631/0.3277, allocations: 0.6422 MB / 494.5 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.3281, allocations: 110.3 kB / 494.6 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3282, allocations: 45.48 kB / 494.7 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3282, allocations: 0 / 494.7 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.3283, allocations: 32.14 kB / 494.7 MB, free: 16.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3283, allocations: 1 kB / 494.7 MB, free: 16.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004582/0.3287, allocations: 141 kB / 494.8 MB, free: 16.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.3288, allocations: 52.2 kB / 494.9 MB, free: 16.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.3288, allocations: 125.4 kB / 495 MB, free: 16.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3289, allocations: 31.45 kB / 495 MB, free: 16.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.3289, allocations: 121.2 kB / 495.2 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.3289, allocations: 22.45 kB / 495.2 MB, free: 16.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.329, allocations: 29.19 kB / 495.2 MB, free: 16.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.329, allocations: 320.2 kB / 495.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3292, allocations: 38.22 kB / 495.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3293, allocations: 97.3 kB / 495.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3296, allocations: 151.2 kB / 495.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3296, allocations: 1.062 kB / 495.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003477/0.3299, allocations: 163 kB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.33, allocations: 5.344 kB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.33, allocations: 2.344 kB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.33, allocations: 4.359 kB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3302, allocations: 36.66 kB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3302, allocations: 11.7 kB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3303, allocations: 19.02 kB / 496 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3303, allocations: 8.344 kB / 496 MB, free: 15.41 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.817e-05/0.3304, allocations: 138 kB / 496.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.3304, allocations: 8.375 kB / 496.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.3308, allocations: 130.6 kB / 496.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3308, allocations: 1.438 kB / 496.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3308, allocations: 0 / 496.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3308, allocations: 0.5625 kB / 496.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.331, allocations: 200.4 kB / 496.5 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.331, allocations: 0 / 496.5 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3311, allocations: 27.06 kB / 496.5 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3312, allocations: 0 / 496.5 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3312, allocations: 6.016 kB / 496.5 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3312, allocations: 4 kB / 496.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3312, allocations: 4.797 kB / 496.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.3315, allocations: 211.1 kB / 496.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.3315, allocations: 88.28 kB / 496.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3315, allocations: 1.438 kB / 496.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.3316, allocations: 5.859 kB / 496.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.3317, allocations: 14.22 kB / 496.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.3317, allocations: 1 kB / 496.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.3318, allocations: 94.02 kB / 497 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3318, allocations: 0 / 497 MB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.3321, allocations: 27.62 kB / 497 MB, free: 14.64 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.0001937/0.3323, allocations: 98.22 kB / 497.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.3326, allocations: 101.2 kB / 497.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3327, allocations: 0 / 497.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.3328, allocations: 42.25 kB / 497.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.3331, allocations: 15.56 kB / 497.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.3337, allocations: 261.6 kB / 497.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.3339, allocations: 0.7071 MB / 498.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.334, allocations: 32.25 kB / 498.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.334, allocations: 12.61 kB / 498.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.382e-06/0.3341, allocations: 0 / 498.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of Templates: time 0.003928/0.338, allocations: 0.9447 MB / 499.2 MB, free: 13.5 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)