Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01076/0.01076, allocations: 107.8 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001269/0.001269, allocations: 180.1 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.111/2.111, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3188/0.3188, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.000465, allocations: 12 kB / 361.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1429, allocations: 54.89 MB / 416.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003744/0.1467, allocations: 1.535 MB / 417.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.1499, allocations: 1.007 MB / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1501, allocations: 4 kB / 418.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.1506, allocations: 59.77 kB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.1509, allocations: 63.75 kB / 418.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.1516, allocations: 119.5 kB / 418.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.1521, allocations: 195.5 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1522, allocations: 32.73 kB / 419.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.1525, allocations: 87.56 kB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.1527, allocations: 91.55 kB / 419.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.1528, allocations: 8 kB / 419.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.1538, allocations: 311.5 kB / 419.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1539, allocations: 47.81 kB / 419.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1541, allocations: 73.52 kB / 419.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008041/0.1549, allocations: 275.7 kB / 419.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1549, allocations: 0 / 419.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1549, allocations: 0 / 419.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.155, allocations: 4 kB / 419.9 MB, free: 14.61 MB / 362.7 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.001161/0.1561, allocations: 0.519 MB / 420.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.1562, allocations: 8.031 kB / 420.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.1564, allocations: 78.53 kB / 420.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1565, allocations: 27.62 kB / 420.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.157, allocations: 242.5 kB / 420.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.1571, allocations: 28.95 kB / 420.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.1572, allocations: 35.94 kB / 420.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.1589, allocations: 497.4 kB / 421.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.159, allocations: 0 / 421.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.159, allocations: 15.94 kB / 421.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.182e-05/0.1592, allocations: 24.98 kB / 421.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.1608, allocations: 439.7 kB / 421.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.1641, allocations: 1.205 MB / 423 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.1645, allocations: 86.48 kB / 423.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.1646, allocations: 7.984 kB / 423.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1646, allocations: 34.56 kB / 423.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.587e-06/0.1647, allocations: 3.938 kB / 423.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001019/0.1657, allocations: 173.6 kB / 423.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1658, allocations: 51.41 kB / 423.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.1661, allocations: 170.3 kB / 423.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.1661, allocations: 25.7 kB / 423.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.1663, allocations: 219.2 kB / 423.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.1664, allocations: 27.64 kB / 423.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.1664, allocations: 0 / 423.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1666, allocations: 326.8 kB / 424.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.167, allocations: 59.95 kB / 424.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.1674, allocations: 168.3 kB / 424.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.1679, allocations: 91.88 kB / 424.4 MB, free: 9.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.1679, allocations: 3.953 kB / 424.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001073/0.169, allocations: 257 kB / 424.7 MB, free: 9.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.169, allocations: 8 kB / 424.7 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.1691, allocations: 4 kB / 424.7 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.1691, allocations: 8 kB / 424.7 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/0.17, allocations: 88.44 kB / 424.8 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.1716, allocations: 1.782 MB / 426.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.172, allocations: 35.73 kB / 426.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.1721, allocations: 16 kB / 426.6 MB, free: 7.496 MB / 362.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004266/0.1726, allocations: 177.6 kB / 426.8 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.1727, allocations: 11.91 kB / 426.8 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.174, allocations: 210 kB / 427 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.1741, allocations: 4 kB / 427 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1741, allocations: 0 / 427 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1741, allocations: 0 / 427 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.1748, allocations: 297.4 kB / 427.3 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.1748, allocations: 3.953 kB / 427.3 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.1755, allocations: 63.89 kB / 427.4 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1755, allocations: 7.938 kB / 427.4 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.1755, allocations: 3.984 kB / 427.4 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.1771, allocations: 1.778 MB / 429.2 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1772, allocations: 4.281 kB / 429.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.1779, allocations: 227.9 kB / 429.4 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.1781, allocations: 88.88 kB / 429.5 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.1781, allocations: 4 kB / 429.5 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1784, allocations: 11.98 kB / 429.5 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.1785, allocations: 7.984 kB / 429.5 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.1785, allocations: 8 kB / 429.5 MB, free: 4.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1787, allocations: 115.9 kB / 429.6 MB, free: 4.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1787, allocations: 4 kB / 429.6 MB, free: 4.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009077/0.1796, allocations: 95.56 kB / 429.7 MB, free: 4.234 MB / 362.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/0.1811, allocations: 0.8137 MB / 430.5 MB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.1825, allocations: 192.1 kB / 430.7 MB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1825, allocations: 0 / 430.7 MB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.1833, allocations: 104.5 kB / 430.8 MB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1836, allocations: 11.94 kB / 430.8 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.1891, allocations: 3.93 MB / 434.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.1899, allocations: 0.8021 MB / 435.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003725/0.1903, allocations: 69.17 kB / 435.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.1905, allocations: 71.42 kB / 435.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1905, allocations: 0 / 435.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.2276, allocations: 4.734 MB / 440.4 MB, free: 9.445 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003513/0.2281, allocations: 276 kB / 440.7 MB, free: 9.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.017, allocations: 0 / 440.7 MB, free: 9.09 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat