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.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001367/0.001367, allocations: 103.7 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.001538/0.001538, allocations: 212.6 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.493/1.493, 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.2292/0.2292, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.003382/0.003382, allocations: 86.17 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1615, allocations: 62.44 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003303/0.1649, allocations: 1.818 MB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1665, allocations: 0.8335 MB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.1666, allocations: 0 / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1668, allocations: 35.77 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1671, allocations: 75.62 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1674, allocations: 71.67 kB / 483.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1676, allocations: 135.4 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1676, allocations: 11.98 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1678, allocations: 67.77 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.168, allocations: 87.64 kB / 483.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.168, allocations: 4 kB / 483.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1682, allocations: 67.89 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.1683, allocations: 31.91 kB / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/0.1684, allocations: 39.8 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1686, allocations: 139.8 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1687, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1687, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1687, allocations: 0 / 483.6 MB, free: 1.707 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007026/0.1694, allocations: 413.2 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1694, allocations: 12.03 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.335e-05/0.1695, allocations: 50.72 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.1699, allocations: 32.81 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1701, allocations: 192.2 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1702, allocations: 4.375 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1702, allocations: 15.94 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.1706, allocations: 168.1 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1706, allocations: 0 / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1706, allocations: 15.98 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.1707, allocations: 8 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.171, allocations: 143.7 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009397/0.172, allocations: 0.6367 MB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.1723, allocations: 110.6 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1725, allocations: 40.83 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1725, allocations: 7.984 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1725, allocations: 30.56 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1725, allocations: 0 / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004612/0.173, allocations: 137.5 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1731, allocations: 55.41 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1732, allocations: 133.2 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1732, allocations: 25.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.1733, allocations: 124 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1733, allocations: 19.66 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.1734, allocations: 37.61 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1736, allocations: 330.7 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1737, allocations: 35.97 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.1739, allocations: 91.69 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1742, allocations: 143.5 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1742, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003554/0.1746, allocations: 149.4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1746, allocations: 10.66 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1746, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1746, allocations: 4.25 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.1748, allocations: 55.91 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1748, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1749, allocations: 23.77 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.175, allocations: 8 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.1751, allocations: 133.7 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1751, allocations: 7.906 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.1755, allocations: 126 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1755, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1755, allocations: 4 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1755, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.1757, allocations: 193.6 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1757, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1759, allocations: 35.91 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1759, allocations: 4 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1759, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1759, allocations: 480 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1759, allocations: 4 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.1763, allocations: 215.3 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.1763, allocations: 88.95 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1764, allocations: 0 / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1765, allocations: 15.98 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1765, allocations: 4 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1765, allocations: 0 / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.177e-05/0.1766, allocations: 91.27 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1766, allocations: 4 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1769, allocations: 23.91 kB / 487.8 MB, free: 13.15 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006804/0.1776, allocations: 0.7397 MB / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.1779, allocations: 112.3 kB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1779, allocations: 3.938 kB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.178, allocations: 39.97 kB / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.1783, allocations: 19.84 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.1803, allocations: 1.665 MB / 490.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1807, allocations: 0.7165 MB / 491.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.1808, allocations: 32.52 kB / 491.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.1809, allocations: 27.42 kB / 491.1 MB, free: 9.617 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1809, allocations: 0 / 491.1 MB, free: 9.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.2053, allocations: 2.264 MB / 493.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.037, allocations: 5.703 kB / 493.4 MB, free: 7.516 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)