Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001478/0.001478, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.527/1.527, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.3071/0.3071, allocations: 37.98 MB / 307.4 MB, free: 10.09 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.001405/0.001406, allocations: 70.62 kB / 374.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1323, allocations: 56.46 MB / 431.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003167/0.1355, allocations: 1.835 MB / 433.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.137, allocations: 1.021 MB / 434.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.1371, allocations: 0 / 434.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1374, allocations: 43.8 kB / 434.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.1376, allocations: 59.66 kB / 434.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.138, allocations: 107.6 kB / 434.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1382, allocations: 226.8 kB / 434.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/0.1383, allocations: 21.67 kB / 434.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1384, allocations: 91.52 kB / 434.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1386, allocations: 103.5 kB / 434.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1386, allocations: 8 kB / 434.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.1389, allocations: 211.7 kB / 434.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.139, allocations: 59.69 kB / 435 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.603e-05/0.1391, allocations: 91.41 kB / 435.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.1395, allocations: 303.2 kB / 435.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1395, allocations: 0 / 435.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1395, allocations: 0 / 435.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1395, allocations: 0 / 435.4 MB, free: 2.762 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008343/0.1404, allocations: 0.5341 MB / 435.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1404, allocations: 8.031 kB / 435.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000844/0.1413, allocations: 136.4 kB / 436.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1416, allocations: 267.2 kB / 436.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1416, allocations: 12.81 kB / 436.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.1416, allocations: 32.33 kB / 436.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.1423, allocations: 433.8 kB / 436.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1423, allocations: 0 / 436.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.1424, allocations: 7.984 kB / 436.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.071e-05/0.1424, allocations: 36.47 kB / 436.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000632/0.1431, allocations: 389.9 kB / 437.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.1451, allocations: 1.465 MB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.1454, allocations: 98.44 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1455, allocations: 52.81 kB / 438.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1456, allocations: 0 / 438.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1456, allocations: 38.5 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1456, allocations: 0 / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005448/0.1461, allocations: 181.4 kB / 439 MB, free: 14.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1462, allocations: 63.39 kB / 439.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.1465, allocations: 334.5 kB / 439.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1465, allocations: 29.7 kB / 439.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1467, allocations: 179.1 kB / 439.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1467, allocations: 27.64 kB / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.1468, allocations: 41.7 kB / 439.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1469, allocations: 330.8 kB / 440 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1471, allocations: 75.92 kB / 440.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.1473, allocations: 114 kB / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.1476, allocations: 185.8 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1476, allocations: 3.938 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004631/0.1481, allocations: 245.2 kB / 440.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1481, allocations: 8 kB / 440.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1481, allocations: 0 / 440.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1482, allocations: 4 kB / 440.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.1498, allocations: 111.8 kB / 440.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.1517, allocations: 1.84 MB / 442.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.152, allocations: 31.91 kB / 442.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1521, allocations: 15.98 kB / 442.6 MB, free: 11.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.1522, allocations: 165.6 kB / 442.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.1523, allocations: 15.81 kB / 442.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005231/0.1528, allocations: 203.1 kB / 443 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1528, allocations: 0 / 443 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1528, allocations: 0 / 443 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1528, allocations: 0 / 443 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.1532, allocations: 285.4 kB / 443.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1532, allocations: 0 / 443.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.1544, allocations: 95.81 kB / 443.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1544, allocations: 4 kB / 443.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1545, allocations: 0 / 443.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.1558, allocations: 1.793 MB / 445.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1558, allocations: 0 / 445.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.1562, allocations: 259.2 kB / 445.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.1563, allocations: 100.8 kB / 445.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.1563, allocations: 0 / 445.5 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1566, allocations: 12.08 kB / 445.5 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.1566, allocations: 11.98 kB / 445.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1566, allocations: 4 kB / 445.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.1569, allocations: 237.9 kB / 445.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.816e-06/0.1569, allocations: 3.938 kB / 445.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.1572, allocations: 75.77 kB / 445.9 MB, free: 7.684 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002086/0.1575, allocations: 127 kB / 446 MB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.1599, allocations: 263.7 kB / 446.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1599, allocations: 4.375 kB / 446.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.161, allocations: 111.8 kB / 446.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1614, allocations: 48.75 kB / 446.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.1625, allocations: 0.5601 MB / 447 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.1629, allocations: 0.7753 MB / 447.7 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.163, allocations: 50.27 kB / 447.8 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.1631, allocations: 19.44 kB / 447.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1631, allocations: 4 kB / 447.8 MB, free: 5.672 MB / 382.1 MB Notification: Performance of Templates: time 0.008675/0.1718, allocations: 4.82 MB / 452.6 MB, free: 0.8594 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1)