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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001335/0.001335, 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.001357/0.001357, 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.442/1.442, 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.2349/0.2349, allocations: 46.12 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.003116/0.003116, allocations: 85.66 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1357, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003482/0.1392, allocations: 1.915 MB / 482.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1412, allocations: 1.137 MB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1414, allocations: 4 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.1417, allocations: 67.59 kB / 483.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.142, allocations: 75.53 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.1425, allocations: 151.6 kB / 483.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.1428, allocations: 258.4 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.1429, allocations: 44.66 kB / 483.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1432, allocations: 115.3 kB / 484 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1434, allocations: 115.3 kB / 484.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.1435, allocations: 8 kB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.144, allocations: 315.5 kB / 484.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.1441, allocations: 55.7 kB / 484.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1443, allocations: 119.2 kB / 484.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006768/0.145, allocations: 430.6 kB / 485 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.145, allocations: 0 / 485 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.145, allocations: 3.938 kB / 485 MB, free: 352 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.145, allocations: 3.938 kB / 485 MB, free: 348 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.00104/0.1461, allocations: 0.5621 MB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1461, allocations: 8.031 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.799e-05/0.1462, allocations: 82.7 kB / 485.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/0.1463, allocations: 36.56 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.1466, allocations: 231.9 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.1467, allocations: 32.94 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.1467, allocations: 28 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008206/0.1475, allocations: 497.3 kB / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1476, allocations: 0 / 486.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.1476, allocations: 12 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.1477, allocations: 36.98 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.1484, allocations: 419.7 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.15, allocations: 1.193 MB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1502, allocations: 82.47 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.1504, allocations: 36.83 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1504, allocations: 4 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1504, allocations: 34.56 kB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.1504, allocations: 0 / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004913/0.1509, allocations: 157.6 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.151, allocations: 59.34 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1512, allocations: 161.4 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1512, allocations: 29.7 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1514, allocations: 219.2 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.1514, allocations: 27.64 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.1515, allocations: 65.55 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1517, allocations: 322.8 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1518, allocations: 55.89 kB / 489.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.1521, allocations: 170.3 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.1525, allocations: 252.3 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1525, allocations: 4 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004875/0.153, allocations: 253.5 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.153, allocations: 10.81 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.153, allocations: 4 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1531, allocations: 4 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.1534, allocations: 91.89 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.1546, allocations: 1.778 MB / 491.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1548, allocations: 27.75 kB / 491.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.1548, allocations: 16 kB / 491.9 MB, free: 8.938 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002672/0.1551, allocations: 189.8 kB / 492.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.1552, allocations: 11.89 kB / 492.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.1557, allocations: 190 kB / 492.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1557, allocations: 0 / 492.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1557, allocations: 0 / 492.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1557, allocations: 7.984 kB / 492.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.1561, allocations: 289.5 kB / 492.6 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1561, allocations: 0 / 492.6 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.1563, allocations: 63.97 kB / 492.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1563, allocations: 4 kB / 492.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1564, allocations: 15.94 kB / 492.7 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.1575, allocations: 1.774 MB / 494.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1575, allocations: 0 / 494.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.1579, allocations: 211.4 kB / 494.7 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.158, allocations: 92.94 kB / 494.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.158, allocations: 0 / 494.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.1581, allocations: 8.094 kB / 494.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.1582, allocations: 11.98 kB / 494.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1582, allocations: 4 kB / 494.8 MB, free: 5.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.915e-05/0.1583, allocations: 111.2 kB / 494.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1583, allocations: 4 kB / 494.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004635/0.1588, allocations: 95.53 kB / 495 MB, free: 5.711 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.0009212/0.1597, allocations: 0.8034 MB / 495.8 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.1604, allocations: 183.7 kB / 496 MB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1604, allocations: 1.125 kB / 496 MB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.1607, allocations: 91.89 kB / 496.1 MB, free: 4.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.161, allocations: 16.28 kB / 496.1 MB, free: 4.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.1638, allocations: 2.209 MB / 498.3 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.1643, allocations: 0.7982 MB / 499.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000193/0.1645, allocations: 69.12 kB / 499.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.1646, allocations: 75.41 kB / 499.2 MB, free: 1.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1646, allocations: 0 / 499.2 MB, free: 1.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.1929, allocations: 5.187 MB / 0.4926 GB, free: 12.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.9, allocations: 25.45 kB / 0.4926 GB, free: 12.21 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1)