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_overall_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_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001371/0.001372, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 222.1 MB, free: 5.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.335/0.335, allocations: 38.02 MB / 308.4 MB, free: 10.51 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.0005659/0.0005659, allocations: 20 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1331, allocations: 57.52 MB / 433.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002141/0.1353, allocations: 1.485 MB / 435.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.1388, allocations: 2.501 MB / 437.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.585e-05/0.1389, allocations: 0 / 437.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.1391, allocations: 47.73 kB / 438 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.1394, allocations: 55.78 kB / 438 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1406, allocations: 0.6312 MB / 438.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1408, allocations: 163.6 kB / 438.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.963e-05/0.1409, allocations: 32.66 kB / 438.9 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1411, allocations: 83.64 kB / 438.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1412, allocations: 91.59 kB / 439 MB, free: 468 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1412, allocations: 4 kB / 439 MB, free: 464 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.1428, allocations: 1.193 MB / 440.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.192e-05/0.1429, allocations: 63.8 kB / 440.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.143, allocations: 65.52 kB / 440.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.1438, allocations: 0.5302 MB / 440.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1438, allocations: 4 kB / 440.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1438, allocations: 0 / 440.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1438, allocations: 0 / 440.9 MB, free: 14.59 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009764/0.1448, allocations: 0.6316 MB / 441.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1449, allocations: 8.031 kB / 441.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.1449, allocations: 31.53 kB / 441.6 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.1453, allocations: 234.7 kB / 441.8 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1453, allocations: 24.5 kB / 441.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.1454, allocations: 31.97 kB / 441.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.1461, allocations: 467.3 kB / 442.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1462, allocations: 4 kB / 442.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1462, allocations: 15.95 kB / 442.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.1e-05/0.1463, allocations: 40.97 kB / 442.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/0.1471, allocations: 0.5621 MB / 442.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.149, allocations: 1.338 MB / 444.3 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.1496, allocations: 294.5 kB / 444.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.1497, allocations: 7.938 kB / 444.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1497, allocations: 30.56 kB / 444.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.714e-06/0.1497, allocations: 4 kB / 444.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007356/0.1504, allocations: 341.7 kB / 444.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1505, allocations: 59.41 kB / 445 MB, free: 10.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1506, allocations: 138.4 kB / 445.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1506, allocations: 29.7 kB / 445.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1508, allocations: 195.7 kB / 445.3 MB, free: 9.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.1508, allocations: 91.12 kB / 445.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.1508, allocations: 4 kB / 445.4 MB, free: 9.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.151, allocations: 326.8 kB / 445.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.1512, allocations: 99.78 kB / 445.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.1514, allocations: 170.1 kB / 446 MB, free: 9.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1516, allocations: 128.7 kB / 446.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1516, allocations: 4 kB / 446.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005592/0.1522, allocations: 329.1 kB / 446.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1522, allocations: 10.97 kB / 446.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1523, allocations: 0 / 446.5 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1523, allocations: 4 kB / 446.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.1528, allocations: 135.8 kB / 446.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.1542, allocations: 2.372 MB / 449 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.1544, allocations: 31.69 kB / 449 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.1544, allocations: 19.98 kB / 449 MB, free: 6.031 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.1547, allocations: 174.7 kB / 449.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.1547, allocations: 15.81 kB / 449.2 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008778/0.1556, allocations: 391 kB / 449.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.1556, allocations: 7.953 kB / 449.6 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1556, allocations: 0 / 449.6 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.1557, allocations: 3.984 kB / 449.6 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1561, allocations: 337.3 kB / 449.9 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1562, allocations: 4 kB / 449.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/0.1567, allocations: 123.8 kB / 450.1 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.1567, allocations: 0 / 450.1 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1567, allocations: 8 kB / 450.1 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.1581, allocations: 2.356 MB / 452.4 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1581, allocations: 0 / 452.4 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.1587, allocations: 383.5 kB / 452.8 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.1588, allocations: 100.8 kB / 452.9 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.1588, allocations: 4 kB / 452.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.159, allocations: 12 kB / 452.9 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.159, allocations: 23.97 kB / 452.9 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1591, allocations: 15.98 kB / 453 MB, free: 1.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.622e-05/0.1591, allocations: 99.34 kB / 453.1 MB, free: 1.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1591, allocations: 0 / 453.1 MB, free: 1.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007613/0.1599, allocations: 243.5 kB / 453.3 MB, free: 1.574 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006729/0.1606, allocations: 354.6 kB / 453.6 MB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007521/0.1614, allocations: 304.2 kB / 453.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1614, allocations: 0 / 453.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.1618, allocations: 183.7 kB / 454.1 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.162, allocations: 8 kB / 454.1 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1632, allocations: 0.7042 MB / 454.8 MB, free: 4 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2235/0.3866, allocations: 0.8022 MB / 455.6 MB, free: 50.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.387, allocations: 97.3 kB / 455.7 MB, free: 50.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.3871, allocations: 29.95 kB / 455.8 MB, free: 50.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.754e-06/0.3871, allocations: 0 / 455.8 MB, free: 50.28 MB / 382.1 MB Notification: Performance of Templates: time 0.009983/0.3971, allocations: 5.75 MB / 461.5 MB, free: 49.92 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: