Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001355, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2282/0.2282, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 81.98 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1147, allocations: 62.46 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003435/0.1182, allocations: 1.791 MB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1197, allocations: 1.005 MB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.1198, allocations: 0 / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.12, allocations: 51.69 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1202, allocations: 63.58 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1206, allocations: 123.5 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.1209, allocations: 218.8 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.1209, allocations: 21.67 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.121, allocations: 99.44 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1212, allocations: 95.55 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1213, allocations: 8 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.1216, allocations: 207.7 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.1217, allocations: 63.73 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.963e-05/0.1218, allocations: 95.3 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.1223, allocations: 291.3 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1223, allocations: 3.984 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1223, allocations: 0 / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1223, allocations: 4 kB / 484.3 MB, free: 0.9688 MB / 350.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.0007642/0.1231, allocations: 0.5363 MB / 484.9 MB, free: 396 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1231, allocations: 12.03 kB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.833e-05/0.1232, allocations: 54.73 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007909/0.124, allocations: 136.4 kB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.1243, allocations: 263.8 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1244, allocations: 16.8 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1244, allocations: 24.12 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.1251, allocations: 433.9 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1251, allocations: 0 / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.1252, allocations: 8 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-05/0.1252, allocations: 24.55 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.126, allocations: 397.8 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.1279, allocations: 1.469 MB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1282, allocations: 94.52 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1284, allocations: 52.81 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1284, allocations: 4.094 kB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1284, allocations: 34.55 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1284, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005837/0.129, allocations: 193.2 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1291, allocations: 51.41 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.1294, allocations: 338.5 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1295, allocations: 25.7 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.1296, allocations: 179.3 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.1296, allocations: 23.66 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.1297, allocations: 37.7 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1299, allocations: 334.8 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.1301, allocations: 75.94 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.1303, allocations: 109.9 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.1307, allocations: 192.9 kB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1307, allocations: 0 / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005285/0.1313, allocations: 241.1 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1313, allocations: 7.938 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1313, allocations: 7.938 kB / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1313, allocations: 0 / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.1328, allocations: 119.8 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.1349, allocations: 1.84 MB / 491.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.1351, allocations: 39.64 kB / 491.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1352, allocations: 8 kB / 491.7 MB, free: 9.23 MB / 366.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.0001488/0.1353, allocations: 157.7 kB / 491.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.1354, allocations: 19.81 kB / 491.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005148/0.1359, allocations: 199.1 kB / 492 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.1359, allocations: 7.984 kB / 492 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1359, allocations: 0 / 492 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1359, allocations: 3.984 kB / 492 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.1363, allocations: 269.5 kB / 492.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1363, allocations: 0 / 492.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.1374, allocations: 107.8 kB / 492.4 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.1375, allocations: 7.922 kB / 492.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1375, allocations: 0 / 492.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.1389, allocations: 1.789 MB / 494.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1389, allocations: 4 kB / 494.2 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.1393, allocations: 255.2 kB / 494.4 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1394, allocations: 104.7 kB / 494.6 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.1395, allocations: 12.09 kB / 494.6 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.1397, allocations: 4 kB / 494.6 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.1397, allocations: 11.98 kB / 494.6 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.1397, allocations: 0 / 494.6 MB, free: 6.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.14, allocations: 245.9 kB / 494.8 MB, free: 5.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.14, allocations: 0 / 494.8 MB, free: 5.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.1404, allocations: 71.84 kB / 494.9 MB, free: 5.824 MB / 366.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.0008612/0.1413, allocations: 0.802 MB / 495.7 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.1435, allocations: 275.5 kB / 496 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1436, allocations: 0 / 496 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009503/0.1445, allocations: 107.8 kB / 496.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1449, allocations: 41.56 kB / 496.1 MB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.1488, allocations: 2.935 MB / 499 MB, free: 1.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.1492, allocations: 0.7791 MB / 499.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.1493, allocations: 58.17 kB / 499.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.1495, allocations: 71.41 kB / 499.9 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1495, allocations: 0 / 499.9 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.1816, allocations: 7.67 MB / 0.4957 GB, free: 9.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.02, allocations: 19.5 kB / 0.4957 GB, free: 9.148 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1)