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.001306/0.001306, allocations: 104 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.00137/0.00137, 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.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.283/0.283, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002253/0.002253, allocations: 82.14 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1221, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003408/0.1255, allocations: 1.794 MB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1272, allocations: 1.001 MB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.1273, allocations: 0 / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1277, allocations: 63.66 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1279, allocations: 59.59 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.1284, allocations: 119.5 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.1287, allocations: 214.8 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.1288, allocations: 25.67 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.129, allocations: 91.5 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1292, allocations: 103.5 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1292, allocations: 4 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.1297, allocations: 207.7 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1298, allocations: 59.75 kB / 484 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1299, allocations: 95.3 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.1304, allocations: 299.2 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1304, allocations: 0 / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1304, allocations: 4 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1304, allocations: 0 / 484.3 MB, free: 0.9766 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.0009853/0.1314, allocations: 0.5263 MB / 484.9 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1315, allocations: 12.03 kB / 484.9 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.289e-05/0.1316, allocations: 62.72 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.1325, allocations: 136.4 kB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1328, allocations: 269.9 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1329, allocations: 12.81 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1329, allocations: 20.12 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006833/0.1336, allocations: 437.9 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1336, allocations: 0 / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.1337, allocations: 11.98 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.1337, allocations: 24.55 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007214/0.1344, allocations: 393.8 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.1366, allocations: 1.473 MB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1369, allocations: 94.5 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.1371, allocations: 48.83 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1371, allocations: 7.938 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.1372, allocations: 38.55 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.1372, allocations: 4 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006165/0.1378, allocations: 181.2 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1379, allocations: 51.41 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.1382, allocations: 338.5 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1383, allocations: 29.7 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1384, allocations: 183.5 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1384, allocations: 23.66 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.803e-05/0.1385, allocations: 37.7 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1387, allocations: 338.8 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.1389, allocations: 63.94 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.1391, allocations: 117.9 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.1395, allocations: 181.8 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1395, allocations: 0 / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005369/0.1401, allocations: 241.1 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1401, allocations: 4.188 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1401, allocations: 11.94 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1402, allocations: 4 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.1417, allocations: 119.8 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.1437, allocations: 1.836 MB / 491.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.144, allocations: 35.58 kB / 491.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1441, allocations: 4 kB / 491.6 MB, free: 9.246 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.0001841/0.1442, allocations: 169.8 kB / 491.8 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.1443, allocations: 19.81 kB / 491.8 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/0.1449, allocations: 203 kB / 492 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1449, allocations: 4 kB / 492 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1449, allocations: 0 / 492 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1449, allocations: 0 / 492 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.1452, allocations: 269.5 kB / 492.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1453, allocations: 7.984 kB / 492.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.1465, allocations: 103.8 kB / 492.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1465, allocations: 0 / 492.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1465, allocations: 3.938 kB / 492.4 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.1478, allocations: 1.789 MB / 494.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1478, allocations: 4.312 kB / 494.2 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.1483, allocations: 259.2 kB / 494.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.184e-05/0.1484, allocations: 100.8 kB / 494.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1484, allocations: 8 kB / 494.6 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.1486, allocations: 7.984 kB / 494.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1487, allocations: 4 kB / 494.6 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1487, allocations: 8 kB / 494.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.149, allocations: 245.9 kB / 494.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.149, allocations: 0 / 494.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.1494, allocations: 71.84 kB / 494.9 MB, free: 5.832 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.0008346/0.1502, allocations: 0.8019 MB / 495.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.1525, allocations: 275.5 kB / 496 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1525, allocations: 0 / 496 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009957/0.1535, allocations: 107.8 kB / 496.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1539, allocations: 52.91 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.004077/0.158, allocations: 2.936 MB / 499.1 MB, free: 1.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.1585, allocations: 0.7791 MB / 499.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.1587, allocations: 46.27 kB / 499.9 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.1588, allocations: 71.41 kB / 499.9 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1589, allocations: 4 kB / 499.9 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.1923, allocations: 7.666 MB / 0.4957 GB, free: 9.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.95, allocations: 25.25 kB / 0.4957 GB, free: 9.156 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)