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.001392/0.001392, 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.001579/0.001579, 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.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.57 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.11 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.002409/0.002409, allocations: 81.05 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1245, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003581/0.1281, allocations: 1.807 MB / 482 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1298, allocations: 0.8335 MB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1299, allocations: 4 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1303, allocations: 43.75 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.1306, allocations: 67.66 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.131, allocations: 75.66 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.1313, allocations: 131.5 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.1313, allocations: 7.984 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.1317, allocations: 79.7 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.1319, allocations: 75.72 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1319, allocations: 4 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1322, allocations: 79.88 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1323, allocations: 27.84 kB / 483.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.955e-05/0.1324, allocations: 39.8 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.1328, allocations: 135.8 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1328, allocations: 0 / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1328, allocations: 0 / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1329, allocations: 0 / 483.6 MB, free: 1.695 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.0008641/0.1337, allocations: 417.2 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.1338, allocations: 12.03 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.095e-05/0.1339, allocations: 46.67 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.1345, allocations: 36.8 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1348, allocations: 184.2 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.1348, allocations: 8.375 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.1349, allocations: 15.94 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.1354, allocations: 180.1 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1354, allocations: 0 / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.1355, allocations: 7.984 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/0.1355, allocations: 8 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.1359, allocations: 135.7 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.1371, allocations: 0.6445 MB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.1375, allocations: 106.7 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1376, allocations: 32.83 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1377, allocations: 7.938 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.1377, allocations: 38.56 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1377, allocations: 0 / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005099/0.1382, allocations: 137.5 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.1383, allocations: 51.41 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1385, allocations: 122 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.1385, allocations: 25.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1387, allocations: 132 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1387, allocations: 27.64 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1388, allocations: 33.61 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002962/0.1391, allocations: 322.7 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1393, allocations: 39.95 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.1395, allocations: 98.17 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.1399, allocations: 143.5 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1399, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004341/0.1403, allocations: 157.5 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.1404, allocations: 6.656 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.1404, allocations: 4 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.1404, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1407, allocations: 47.91 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.1407, allocations: 4.391 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1408, allocations: 23.77 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1409, allocations: 12.22 kB / 486.8 MB, free: 14.16 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.0001975/0.1411, allocations: 125.8 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.1411, allocations: 11.89 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.1416, allocations: 133.9 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1416, allocations: 4 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.1416, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1416, allocations: 4 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.1419, allocations: 193.6 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1419, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.1421, allocations: 27.97 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1421, allocations: 0 / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1421, allocations: 4 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1421, allocations: 0 / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1421, allocations: 0 / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.1425, allocations: 215.3 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.1426, allocations: 92.95 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1426, allocations: 0 / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.1427, allocations: 4 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.1428, allocations: 7.984 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1428, allocations: 0 / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.666e-05/0.1429, allocations: 99.27 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1429, allocations: 4 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.1432, allocations: 23.91 kB / 487.8 MB, free: 13.13 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.00074/0.1439, allocations: 0.7436 MB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1443, allocations: 107.8 kB / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1443, allocations: 3.938 kB / 488.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1444, allocations: 35.97 kB / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.1447, allocations: 12.44 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.002407/0.1472, allocations: 1.677 MB / 490.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.1476, allocations: 0.7165 MB / 491.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1477, allocations: 24.53 kB / 491.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.1478, allocations: 31.42 kB / 491.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1478, allocations: 0 / 491.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.1757, allocations: 2.266 MB / 493.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.14, allocations: 13.75 kB / 493.4 MB, free: 7.496 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)