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.008757/0.008757, allocations: 103.3 kB / 15.73 MB, free: 6 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.001594/0.001595, allocations: 193.9 kB / 16.68 MB, free: 5.922 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.559/1.559, 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.2+maint.om/package.mo): time 0.3608/0.3608, allocations: 39.95 MB / 309.8 MB, free: 9.402 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.00161/0.00161, allocations: 63.91 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3404, allocations: 56.89 MB / 492.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002858/0.3433, allocations: 1.786 MB / 494.5 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3446, allocations: 0.84 MB / 495.3 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.3447, allocations: 5.562 kB / 495.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.3449, allocations: 32.03 kB / 495.4 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.3452, allocations: 77.44 kB / 495.4 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.3455, allocations: 72.31 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.3457, allocations: 135.7 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.3457, allocations: 18.53 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.3459, allocations: 68.11 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.3461, allocations: 77.27 kB / 495.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3461, allocations: 4.688 kB / 495.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.3463, allocations: 71.7 kB / 495.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.3464, allocations: 26.52 kB / 495.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.3464, allocations: 50.38 kB / 495.9 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3467, allocations: 143.5 kB / 496.1 MB, free: 17.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3467, allocations: 0 / 496.1 MB, free: 17.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3467, allocations: 0 / 496.1 MB, free: 17.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3468, allocations: 1.156 kB / 496.1 MB, free: 17.36 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.0005349/0.3473, allocations: 403.8 kB / 496.5 MB, free: 16.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3474, allocations: 13.8 kB / 496.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.3478, allocations: 33.98 kB / 496.5 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.348, allocations: 196.9 kB / 496.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.348, allocations: 17.14 kB / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.348, allocations: 10.56 kB / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.3484, allocations: 173.8 kB / 496.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3484, allocations: 1.25 kB / 496.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3485, allocations: 1.25 kB / 496.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.3485, allocations: 18.64 kB / 496.9 MB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.3488, allocations: 139.5 kB / 497.1 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.3497, allocations: 0.6425 MB / 497.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.35, allocations: 109.8 kB / 497.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.3502, allocations: 36.88 kB / 497.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3502, allocations: 1.125 kB / 497.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.3502, allocations: 36.55 kB / 497.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.3502, allocations: 0 / 497.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000462/0.3507, allocations: 140.2 kB / 498 MB, free: 15.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.3507, allocations: 52.72 kB / 498.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.3508, allocations: 125.7 kB / 498.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.3508, allocations: 27.17 kB / 498.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.3509, allocations: 129.1 kB / 498.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3509, allocations: 27 kB / 498.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.3509, allocations: 28.98 kB / 498.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.351, allocations: 320.5 kB / 498.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3511, allocations: 42.11 kB / 498.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3513, allocations: 92.31 kB / 498.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.3516, allocations: 151.5 kB / 499 MB, free: 14.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3516, allocations: 1.219 kB / 499 MB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003459/0.3519, allocations: 158.5 kB / 499.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.352, allocations: 6.219 kB / 499.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.352, allocations: 2.766 kB / 499.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.352, allocations: 4.031 kB / 499.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.3522, allocations: 40.61 kB / 499.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3522, allocations: 3.281 kB / 499.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.3523, allocations: 22.25 kB / 499.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.3523, allocations: 6.875 kB / 499.2 MB, free: 14.89 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 8.125e-05/0.3524, allocations: 137.3 kB / 499.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3524, allocations: 8.281 kB / 499.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.3528, allocations: 125.8 kB / 499.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3528, allocations: 1.531 kB / 499.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3528, allocations: 4.656 kB / 499.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3528, allocations: 0.6562 kB / 499.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.353, allocations: 199.4 kB / 499.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.353, allocations: 0 / 499.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3531, allocations: 35.02 kB / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3531, allocations: 1.094 kB / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3531, allocations: 0.6094 kB / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3532, allocations: 1.125 kB / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3532, allocations: 0 / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3535, allocations: 212.7 kB / 500 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.3535, allocations: 84.03 kB / 0.4883 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3535, allocations: 5.188 kB / 0.4883 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.3536, allocations: 13.91 kB / 0.4883 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.3537, allocations: 5.062 kB / 0.4883 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3537, allocations: 6.219 kB / 0.4883 GB, free: 14.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.3537, allocations: 101.8 kB / 0.4884 GB, free: 14.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3537, allocations: 0 / 0.4884 GB, free: 14.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.354, allocations: 30.84 kB / 0.4885 GB, free: 14.1 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.0001323/0.3541, allocations: 105.3 kB / 0.4886 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3544, allocations: 98.25 kB / 0.4887 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3544, allocations: 0 / 0.4887 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.3545, allocations: 42.11 kB / 0.4887 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3548, allocations: 12.34 kB / 0.4887 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.3553, allocations: 260.4 kB / 0.489 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.3554, allocations: 0.7119 MB / 0.4897 GB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.618e-05/0.3555, allocations: 26.97 kB / 0.4897 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.3556, allocations: 12.59 kB / 0.4897 GB, free: 13.09 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3556, allocations: 1.375 kB / 0.4897 GB, free: 13.09 MB / 382.1 MB Notification: Performance of Templates: time 0.003369/0.359, allocations: 0.9436 MB / 0.4906 GB, free: 12.96 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)