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.0008329/0.0008327, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005197/0.005197, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.394/1.394, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.3294/0.3294, allocations: 38.04 MB / 308.8 MB, free: 10.33 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.0005849/0.0005849, allocations: 12.66 kB / 377.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1167, allocations: 57.51 MB / 434.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.001922/0.1187, allocations: 1.496 MB / 436.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1203, allocations: 1.021 MB / 437.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.097e-05/0.1204, allocations: 0 / 437.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1206, allocations: 43.8 kB / 437.1 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1208, allocations: 59.67 kB / 437.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1211, allocations: 103.6 kB / 437.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.1213, allocations: 254.8 kB / 437.6 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.038e-05/0.1214, allocations: 25.66 kB / 437.6 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1215, allocations: 83.52 kB / 437.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1217, allocations: 107.5 kB / 437.8 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1218, allocations: 4 kB / 437.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.1221, allocations: 207.7 kB / 438 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1222, allocations: 63.73 kB / 438 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1223, allocations: 117.1 kB / 438.1 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.1227, allocations: 295.2 kB / 438.4 MB, free: 1.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1227, allocations: 0 / 438.4 MB, free: 1.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1227, allocations: 0 / 438.4 MB, free: 1.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.1228, allocations: 0 / 438.4 MB, free: 1.301 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.0007176/0.1235, allocations: 0.503 MB / 438.9 MB, free: 0.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1235, allocations: 12.03 kB / 439 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.1243, allocations: 136.4 kB / 439.1 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1246, allocations: 259.8 kB / 439.3 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1247, allocations: 16.75 kB / 439.4 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.1247, allocations: 24.38 kB / 439.4 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/0.1254, allocations: 437.9 kB / 439.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1254, allocations: 3.938 kB / 439.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.1254, allocations: 12 kB / 439.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.1255, allocations: 24.55 kB / 439.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.1262, allocations: 405.9 kB / 440.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.1281, allocations: 1.473 MB / 441.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.1283, allocations: 102.5 kB / 441.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1285, allocations: 60.75 kB / 441.9 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1285, allocations: 4.141 kB / 441.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1285, allocations: 34.5 kB / 441.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.1285, allocations: 0 / 441.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005685/0.1291, allocations: 197.4 kB / 442.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1292, allocations: 51.41 kB / 442.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.1295, allocations: 338.5 kB / 442.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1295, allocations: 29.7 kB / 442.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1296, allocations: 183.1 kB / 442.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.1297, allocations: 35.56 kB / 442.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.1297, allocations: 17.72 kB / 442.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1299, allocations: 338.8 kB / 443.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.13, allocations: 71.88 kB / 443.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1303, allocations: 122 kB / 443.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.1306, allocations: 189.8 kB / 443.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1307, allocations: 7.938 kB / 443.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005059/0.1312, allocations: 253 kB / 443.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1312, allocations: 8 kB / 443.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1312, allocations: 4.188 kB / 443.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1312, allocations: 4 kB / 443.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.1328, allocations: 115.9 kB / 443.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.1348, allocations: 1.84 MB / 445.7 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.1351, allocations: 39.7 kB / 445.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.1352, allocations: 8.188 kB / 445.7 MB, free: 9.594 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.0001803/0.1354, allocations: 161.7 kB / 445.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.1354, allocations: 23.72 kB / 445.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/0.136, allocations: 211.1 kB / 446.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.136, allocations: 0 / 446.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.136, allocations: 0 / 446.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.136, allocations: 3.938 kB / 446.1 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.1363, allocations: 281.4 kB / 446.4 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1363, allocations: 3.938 kB / 446.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.1375, allocations: 103.9 kB / 446.5 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1375, allocations: 0 / 446.5 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1375, allocations: 0 / 446.5 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.1386, allocations: 1.801 MB / 448.3 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1386, allocations: 0 / 448.3 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.1391, allocations: 267.3 kB / 448.6 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.1392, allocations: 96.83 kB / 448.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1392, allocations: 7.984 kB / 448.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.1394, allocations: 12 kB / 448.7 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.1395, allocations: 11.97 kB / 448.7 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1395, allocations: 4 kB / 448.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.1397, allocations: 249.9 kB / 448.9 MB, free: 6.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.973e-06/0.1397, allocations: 0 / 448.9 MB, free: 6.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.1401, allocations: 67.88 kB / 449 MB, free: 6.152 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.0001936/0.1403, allocations: 115.1 kB / 449.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.1425, allocations: 267.8 kB / 449.4 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1426, allocations: 0 / 449.4 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009646/0.1435, allocations: 115.8 kB / 449.5 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1439, allocations: 37 kB / 449.5 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.1449, allocations: 0.5685 MB / 450.1 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.1452, allocations: 0.7792 MB / 450.9 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.1454, allocations: 58.19 kB / 450.9 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.1454, allocations: 23.38 kB / 450.9 MB, free: 4.137 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1455, allocations: 0 / 450.9 MB, free: 4.137 MB / 382.1 MB Notification: Performance of Templates: time 0.1887/0.3342, allocations: 4.592 MB / 455.5 MB, free: 51.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: