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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.00172/0.00172, 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.002057/0.002057, 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.469/1.469, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2317/0.2317, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.002491/0.002491, allocations: 76.62 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1264, allocations: 62.46 MB / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003753/0.1302, allocations: 1.837 MB / 482.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0047/0.1349, allocations: 2.944 MB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.135, allocations: 3.938 kB / 485 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.1353, allocations: 47.69 kB / 485.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1356, allocations: 79.62 kB / 485.1 MB, free: 160 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.1373, allocations: 0.7199 MB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.1377, allocations: 250.8 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.9e-05/0.1377, allocations: 36.38 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.138, allocations: 107.4 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.1382, allocations: 115.5 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.1382, allocations: 8 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.14, allocations: 1.228 MB / 487.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.1401, allocations: 75.61 kB / 487.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.1403, allocations: 115.2 kB / 487.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.1416, allocations: 0.9274 MB / 488.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1416, allocations: 0 / 488.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1416, allocations: 0 / 488.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1416, allocations: 0 / 488.7 MB, free: 12.58 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00103/0.1426, allocations: 0.6746 MB / 489.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1427, allocations: 12.03 kB / 489.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.326e-05/0.1428, allocations: 70.72 kB / 489.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.1428, allocations: 32.56 kB / 489.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1431, allocations: 243.1 kB / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1432, allocations: 20.56 kB / 489.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.1432, allocations: 24 kB / 489.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007643/0.144, allocations: 475.2 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.144, allocations: 0 / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1441, allocations: 8 kB / 490.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-05/0.1441, allocations: 44.97 kB / 490.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000887/0.145, allocations: 0.5621 MB / 490.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.147, allocations: 1.299 MB / 492.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.1475, allocations: 274.4 kB / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.1477, allocations: 108.8 kB / 492.5 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.1478, allocations: 12.27 kB / 492.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1478, allocations: 38.5 kB / 492.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.1478, allocations: 0 / 492.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007536/0.1486, allocations: 329.2 kB / 492.9 MB, free: 8.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1486, allocations: 55.41 kB / 493 MB, free: 8.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1488, allocations: 142 kB / 493.1 MB, free: 7.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1488, allocations: 29.7 kB / 493.1 MB, free: 7.883 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.149, allocations: 199.7 kB / 493.3 MB, free: 7.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/0.149, allocations: 86.75 kB / 493.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1491, allocations: 69.69 kB / 493.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1493, allocations: 322.8 kB / 493.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1495, allocations: 91.78 kB / 493.9 MB, free: 7.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.1498, allocations: 178.1 kB / 494.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.1503, allocations: 290 kB / 494.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1504, allocations: 0 / 494.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006225/0.151, allocations: 330 kB / 494.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.151, allocations: 4 kB / 494.7 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.151, allocations: 4 kB / 494.7 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.151, allocations: 4 kB / 494.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.1515, allocations: 119.9 kB / 494.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.1529, allocations: 2.368 MB / 497.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1531, allocations: 39.91 kB / 497.2 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.1532, allocations: 19.98 kB / 497.2 MB, free: 3.602 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.1534, allocations: 165.9 kB / 497.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.1534, allocations: 11.91 kB / 497.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008135/0.1542, allocations: 370.3 kB / 497.7 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1543, allocations: 7.938 kB / 497.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1543, allocations: 8 kB / 497.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1543, allocations: 3.938 kB / 497.8 MB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.1547, allocations: 341.3 kB / 498.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1547, allocations: 0 / 498.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.1551, allocations: 99.95 kB / 498.2 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.1551, allocations: 4 kB / 498.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.1552, allocations: 15.92 kB / 498.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.1565, allocations: 2.36 MB / 0.4888 GB, free: 80 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1565, allocations: 4.094 kB / 0.4888 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.1571, allocations: 367.2 kB / 0.4892 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.1572, allocations: 100.8 kB / 0.4893 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.1572, allocations: 8 kB / 0.4893 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.1574, allocations: 8 kB / 0.4893 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.1575, allocations: 23.97 kB / 0.4893 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1575, allocations: 11.98 kB / 0.4893 GB, free: 15.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.828e-05/0.1576, allocations: 106.1 kB / 0.4894 GB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1576, allocations: 0 / 0.4894 GB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000725/0.1583, allocations: 251.4 kB / 0.4897 GB, free: 15.18 MB / 382.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.1598, allocations: 1.154 MB / 0.4908 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008441/0.1607, allocations: 360.2 kB / 0.4912 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1607, allocations: 0 / 0.4912 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.1611, allocations: 183.7 kB / 0.4913 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1615, allocations: 12 kB / 0.4913 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.1648, allocations: 2.566 MB / 0.4938 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.1653, allocations: 0.7987 MB / 0.4946 GB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003139/0.1656, allocations: 109.7 kB / 0.4947 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.1658, allocations: 87.41 kB / 0.4948 GB, free: 9.734 MB / 382.1 MB Notification: Performance of SimCode: time 3.486e-06/0.1658, allocations: 0 / 0.4948 GB, free: 9.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.2007, allocations: 8.766 MB / 0.5034 GB, free: 1.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/11.99, allocations: 20.89 kB / 0.5034 GB, free: 1.16 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1)