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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001265/0.001265, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.238/0.238, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002556/0.002556, allocations: 87.56 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1368, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003761/0.1406, allocations: 1.841 MB / 482.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1419, allocations: 0.6269 MB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1421, allocations: 3.938 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1424, allocations: 47.73 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.1427, allocations: 75.58 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.1432, allocations: 123.5 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.1435, allocations: 230.8 kB / 483.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.914e-05/0.1436, allocations: 28.3 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1437, allocations: 83.58 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.1439, allocations: 107.4 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.1439, allocations: 8 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.1443, allocations: 227.7 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.1444, allocations: 51.7 kB / 483.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.1446, allocations: 95.36 kB / 483.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.1451, allocations: 327.1 kB / 484.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1451, allocations: 0 / 484.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1451, allocations: 0 / 484.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1451, allocations: 4 kB / 484.1 MB, free: 1.27 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007911/0.1459, allocations: 0.5266 MB / 484.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1459, allocations: 12.03 kB / 484.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.146, allocations: 62.73 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.1479, allocations: 208.3 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.1483, allocations: 275.8 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1483, allocations: 12.94 kB / 485.2 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.1484, allocations: 24.38 kB / 485.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1494, allocations: 0.4968 MB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1495, allocations: 0 / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.1495, allocations: 12 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/0.1496, allocations: 32.53 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.151, allocations: 0.5759 MB / 486.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.1535, allocations: 1.169 MB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.1543, allocations: 174.4 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.1546, allocations: 76.77 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.1546, allocations: 4 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.1547, allocations: 34.56 kB / 487.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.557e-06/0.1547, allocations: 4 kB / 487.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001307/0.156, allocations: 305.3 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1561, allocations: 51.41 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.1565, allocations: 286.4 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.1565, allocations: 29.64 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1566, allocations: 167.5 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.1567, allocations: 27.64 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1568, allocations: 33.69 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.157, allocations: 330.8 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.1574, allocations: 91.89 kB / 489 MB, free: 12.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.1578, allocations: 115.3 kB / 489.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007875/0.1586, allocations: 215.1 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1586, allocations: 0 / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009325/0.1595, allocations: 269 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1596, allocations: 4 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1596, allocations: 0 / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1596, allocations: 4 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005897/0.1655, allocations: 475.3 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.1685, allocations: 1.941 MB / 492 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.169, allocations: 43.66 kB / 492.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.169, allocations: 7.984 kB / 492.1 MB, free: 8.875 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002122/0.1692, allocations: 157.8 kB / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.1693, allocations: 19.72 kB / 492.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.1694, allocations: 29.69 kB / 492.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1694, allocations: 0 / 492.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1694, allocations: 0 / 492.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1694, allocations: 3.984 kB / 492.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1698, allocations: 285.5 kB / 492.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1698, allocations: 7.938 kB / 492.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00572/0.1756, allocations: 459.3 kB / 493 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1756, allocations: 0 / 493 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.1756, allocations: 11.98 kB / 493.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/0.1785, allocations: 1.945 MB / 495 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1785, allocations: 0 / 495 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.1794, allocations: 319.2 kB / 495.3 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1795, allocations: 92.83 kB / 495.4 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.1796, allocations: 0 / 495.4 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.18, allocations: 27.91 kB / 495.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.1801, allocations: 11.97 kB / 495.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.1801, allocations: 11.92 kB / 495.5 MB, free: 5.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.1803, allocations: 209.9 kB / 495.7 MB, free: 5.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1803, allocations: 0 / 495.7 MB, free: 5.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000415/0.1808, allocations: 67.94 kB / 495.7 MB, free: 5.086 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 (7): * Single equations (assignments): 4 * 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.001331/0.1821, allocations: 0.8643 MB / 496.6 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00614/0.1883, allocations: 0.5971 MB / 497.2 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1883, allocations: 0 / 497.2 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005597/0.1939, allocations: 499.4 kB / 497.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.1944, allocations: 55.64 kB / 497.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/0.1997, allocations: 2.986 MB / 0.489 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.2003, allocations: 0.783 MB / 0.4897 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.2005, allocations: 57.84 kB / 0.4898 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.2007, allocations: 67.34 kB / 0.4899 GB, free: 15.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2007, allocations: 0 / 0.4899 GB, free: 15.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.2346, allocations: 7.843 MB / 0.4975 GB, free: 7.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.16, allocations: 20.31 kB / 0.4975 GB, free: 7.395 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1)