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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001759/0.001759, 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.002178/0.002178, 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.453/1.453, 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.2229/0.2229, 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.002738/0.002738, allocations: 83.38 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1233, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003652/0.127, allocations: 1.834 MB / 482.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1282, allocations: 0.623 MB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1283, allocations: 4 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1287, allocations: 51.67 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1289, allocations: 71.58 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.1292, allocations: 119.5 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.1295, allocations: 230.8 kB / 483.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.136e-05/0.1296, allocations: 32.23 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1297, allocations: 83.58 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1299, allocations: 107.4 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.1299, allocations: 11.94 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/0.1303, allocations: 223.8 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1304, allocations: 59.64 kB / 483.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1305, allocations: 91.36 kB / 483.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.131, allocations: 327.2 kB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.131, allocations: 0 / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.131, allocations: 0 / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.131, allocations: 4 kB / 484.1 MB, free: 1.258 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.000731/0.1317, allocations: 0.5304 MB / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1318, allocations: 8.031 kB / 484.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.902e-05/0.1319, allocations: 70.72 kB / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.1337, allocations: 204.3 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.1341, allocations: 263.9 kB / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.1341, allocations: 20.94 kB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.1342, allocations: 20.31 kB / 485.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.1353, allocations: 0.5007 MB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1353, allocations: 0 / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.1353, allocations: 11.91 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.1354, allocations: 32.53 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.1368, allocations: 0.5798 MB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.1392, allocations: 1.158 MB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.1399, allocations: 174.3 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.1403, allocations: 84.77 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1403, allocations: 0 / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1404, allocations: 34.56 kB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1404, allocations: 4 kB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001393/0.1418, allocations: 301.3 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.1419, allocations: 59.34 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.1422, allocations: 286.4 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.1422, allocations: 25.7 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.1424, allocations: 163.5 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.1424, allocations: 27.64 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1425, allocations: 37.69 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1427, allocations: 338.8 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.1431, allocations: 83.91 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.1435, allocations: 119.3 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007668/0.1443, allocations: 215.1 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1443, allocations: 0 / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009314/0.1452, allocations: 265.1 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1453, allocations: 8 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1453, allocations: 0 / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1453, allocations: 0 / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006209/0.1515, allocations: 475.4 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.1547, allocations: 1.941 MB / 492 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.1551, allocations: 39.69 kB / 492.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.1552, allocations: 7.984 kB / 492.1 MB, free: 8.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (13): * Single equations (assignments): 10 * 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.0002076/0.1554, allocations: 165.8 kB / 492.3 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.1554, allocations: 23.7 kB / 492.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.1555, allocations: 25.72 kB / 492.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1555, allocations: 3.984 kB / 492.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1555, allocations: 0 / 492.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1556, allocations: 0 / 492.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.1559, allocations: 289.4 kB / 492.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.156, allocations: 0 / 492.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006018/0.162, allocations: 455.3 kB / 493 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.162, allocations: 4 kB / 493 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.1621, allocations: 7.984 kB / 493 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/0.1651, allocations: 1.949 MB / 495 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1651, allocations: 0 / 495 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000902/0.166, allocations: 319.2 kB / 495.3 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.1661, allocations: 96.83 kB / 495.4 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.1661, allocations: 3.984 kB / 495.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.1665, allocations: 19.97 kB / 495.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.1666, allocations: 7.984 kB / 495.4 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.1666, allocations: 11.92 kB / 495.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.1669, allocations: 209.9 kB / 495.7 MB, free: 5.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1669, allocations: 3.938 kB / 495.7 MB, free: 5.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.1672, allocations: 63.94 kB / 495.7 MB, free: 5.082 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.001308/0.1686, allocations: 0.8721 MB / 496.6 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006441/0.175, allocations: 0.5933 MB / 497.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.175, allocations: 0 / 497.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005843/0.1809, allocations: 0.4955 MB / 497.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.1813, allocations: 48.61 kB / 497.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.1866, allocations: 2.989 MB / 0.489 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.1871, allocations: 0.7714 MB / 0.4897 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.1873, allocations: 66.02 kB / 0.4898 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1874, allocations: 63.41 kB / 0.4899 GB, free: 15.03 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1874, allocations: 3.938 kB / 0.4899 GB, free: 15.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.2221, allocations: 7.841 MB / 0.4975 GB, free: 7.402 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.06, allocations: 23.44 kB / 0.4975 GB, free: 7.383 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1)