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.001643/0.001642, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002977/0.002976, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.646/1.646, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.3761/0.3761, allocations: 37.99 MB / 307.8 MB, free: 10.06 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.002403/0.002403, allocations: 73.17 kB / 375.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1345, allocations: 56.46 MB / 431.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.004462/0.139, allocations: 1.79 MB / 433.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1408, allocations: 0.8345 MB / 434.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.141, allocations: 4 kB / 434.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.1414, allocations: 39.73 kB / 434.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.1418, allocations: 71.59 kB / 434.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.1421, allocations: 63.73 kB / 434.5 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.1424, allocations: 139.4 kB / 434.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.506e-05/0.1425, allocations: 24.25 kB / 434.7 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.1427, allocations: 75.73 kB / 434.8 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1429, allocations: 75.67 kB / 434.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.1429, allocations: 4 kB / 434.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.1431, allocations: 71.89 kB / 434.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.1432, allocations: 27.89 kB / 434.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.1433, allocations: 39.8 kB / 435 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.1436, allocations: 147.4 kB / 435.1 MB, free: 3.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1436, allocations: 4 kB / 435.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1436, allocations: 0 / 435.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1436, allocations: 3.938 kB / 435.1 MB, free: 3.152 MB / 366.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.000642/0.1442, allocations: 406.6 kB / 435.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1443, allocations: 15.89 kB / 435.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.1447, allocations: 32.81 kB / 435.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1449, allocations: 192.2 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1449, allocations: 16.31 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.1449, allocations: 12.12 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.1453, allocations: 168.1 kB / 436 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1453, allocations: 4 kB / 436 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.1453, allocations: 7.969 kB / 436 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.1454, allocations: 16 kB / 436 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.1457, allocations: 135.8 kB / 436.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/0.1466, allocations: 0.6406 MB / 436.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.147, allocations: 106.6 kB / 436.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.1471, allocations: 36.83 kB / 436.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1471, allocations: 8 kB / 436.9 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1472, allocations: 34.56 kB / 436.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.1472, allocations: 0 / 436.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004201/0.1476, allocations: 133.5 kB / 437.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1477, allocations: 59.48 kB / 437.1 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1478, allocations: 126 kB / 437.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1478, allocations: 25.7 kB / 437.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.1479, allocations: 127.9 kB / 437.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.1479, allocations: 27.64 kB / 437.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.148, allocations: 33.61 kB / 437.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1481, allocations: 314.8 kB / 437.8 MB, free: 280 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.1482, allocations: 39.95 kB / 437.8 MB, free: 240 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1484, allocations: 95.5 kB / 437.9 MB, free: 120 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.1486, allocations: 147.5 kB / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1486, allocations: 0 / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003162/0.149, allocations: 153.4 kB / 438.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.149, allocations: 8 kB / 438.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.149, allocations: 0 / 438.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.149, allocations: 4 kB / 438.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.1492, allocations: 43.91 kB / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1492, allocations: 256 / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/0.1493, allocations: 31.77 kB / 438.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1493, allocations: 8 kB / 438.3 MB, free: 15.7 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.000102/0.1494, allocations: 133.6 kB / 438.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.1495, allocations: 7.906 kB / 438.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.1498, allocations: 118 kB / 438.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1498, allocations: 11.94 kB / 438.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1498, allocations: 3.984 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1498, allocations: 0 / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.15, allocations: 197.6 kB / 438.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1501, allocations: 0 / 438.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1502, allocations: 31.91 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1502, allocations: 0 / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1502, allocations: 0 / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-05/0.1503, allocations: 4 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1503, allocations: 4.469 kB / 438.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1505, allocations: 211.3 kB / 439 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1507, allocations: 96.92 kB / 439.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1507, allocations: 4 kB / 439.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.1508, allocations: 8 kB / 439.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.1509, allocations: 7.984 kB / 439.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1509, allocations: 4 kB / 439.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.597e-05/0.1509, allocations: 95.77 kB / 439.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1509, allocations: 0 / 439.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1512, allocations: 23.91 kB / 439.2 MB, free: 14.66 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.0001285/0.1513, allocations: 107.2 kB / 439.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1516, allocations: 99.86 kB / 439.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1516, allocations: 0 / 439.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.1517, allocations: 51.89 kB / 439.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.152, allocations: 15.8 kB / 439.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.1524, allocations: 255.1 kB / 439.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1527, allocations: 0.7119 MB / 440.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.49e-05/0.1528, allocations: 24.53 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.1529, allocations: 15.44 kB / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1529, allocations: 0 / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Templates: time 0.003239/0.1561, allocations: 0.9226 MB / 441.4 MB, free: 12.4 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)