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.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001612/0.001612, 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.001907/0.001907, 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.451/1.451, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2325/0.2325, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002169/0.002169, allocations: 85.72 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1154, allocations: 62.44 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003134/0.1186, allocations: 1.838 MB / 482.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1206, allocations: 1.363 MB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.1207, allocations: 3.938 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.121, allocations: 55.72 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.1212, allocations: 83.52 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.1217, allocations: 226.1 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.1221, allocations: 405.8 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.1222, allocations: 40.73 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.1224, allocations: 167 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1227, allocations: 175.1 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.1227, allocations: 16 kB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007104/0.1234, allocations: 459 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1236, allocations: 127.4 kB / 485.2 MB, free: 164 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.1238, allocations: 190.7 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007377/0.1246, allocations: 0.6152 MB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1246, allocations: 7.938 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1246, allocations: 0 / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1246, allocations: 0 / 486 MB, free: 15.35 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.00116/0.1258, allocations: 0.7741 MB / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1258, allocations: 8.031 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1259, allocations: 98.69 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.81e-05/0.126, allocations: 52.28 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.1264, allocations: 319.5 kB / 487.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.1265, allocations: 33.38 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.1265, allocations: 51.92 kB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.1275, allocations: 0.6953 MB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1276, allocations: 4 kB / 488 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.1276, allocations: 15.98 kB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.028e-05/0.1277, allocations: 69.27 kB / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.1288, allocations: 0.7155 MB / 488.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.1312, allocations: 1.712 MB / 490.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.1318, allocations: 355.3 kB / 490.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.1321, allocations: 153.2 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.1322, allocations: 8.219 kB / 491 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1322, allocations: 42.67 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.1322, allocations: 0 / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001016/0.1332, allocations: 487.5 kB / 491.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1333, allocations: 59.41 kB / 491.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.1338, allocations: 461.4 kB / 492 MB, free: 9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.1338, allocations: 29.7 kB / 492.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.134, allocations: 259.5 kB / 492.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.1341, allocations: 98.58 kB / 492.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1343, allocations: 85.69 kB / 492.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1344, allocations: 346.8 kB / 492.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.1347, allocations: 147.9 kB / 493 MB, free: 8.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.1351, allocations: 253.1 kB / 493.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/0.1358, allocations: 429.3 kB / 493.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1358, allocations: 3.938 kB / 493.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008457/0.1367, allocations: 481.9 kB / 494.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1367, allocations: 6.656 kB / 494.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1367, allocations: 4 kB / 494.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1368, allocations: 8 kB / 494.1 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.1374, allocations: 159.9 kB / 494.3 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.1397, allocations: 3.61 MB / 497.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.14, allocations: 59.28 kB / 498 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.1401, allocations: 27.92 kB / 498 MB, free: 2.773 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.1403, allocations: 213.7 kB / 498.2 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.1404, allocations: 35.8 kB / 498.2 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.1416, allocations: 0.5411 MB / 498.8 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1416, allocations: 4 kB / 498.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1416, allocations: 0 / 498.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1416, allocations: 7.984 kB / 498.8 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.1423, allocations: 453.1 kB / 499.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1424, allocations: 0 / 499.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.1429, allocations: 139.8 kB / 499.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1429, allocations: 11.92 kB / 499.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.143, allocations: 8 kB / 499.4 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.1453, allocations: 3.614 MB / 0.4912 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1453, allocations: 0 / 0.4912 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.1464, allocations: 0.6598 MB / 0.4918 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.1467, allocations: 156.5 kB / 0.492 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.1468, allocations: 8 kB / 0.492 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.147, allocations: 15.92 kB / 0.492 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.1471, allocations: 35.91 kB / 0.4921 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.1471, allocations: 12 kB / 0.4921 GB, free: 12.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003916/0.1475, allocations: 343.1 kB / 0.4924 GB, free: 12.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1475, allocations: 0 / 0.4924 GB, free: 12.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005326/0.148, allocations: 167.6 kB / 0.4926 GB, free: 12.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/0.1497, allocations: 1.278 MB / 0.4938 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.1509, allocations: 0.5005 MB / 0.4943 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.151, allocations: 0 / 0.4943 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.1516, allocations: 251.7 kB / 0.4945 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.152, allocations: 41.44 kB / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006648/0.1587, allocations: 4.968 MB / 0.4994 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.1592, allocations: 0.9015 MB / 0.5003 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003699/0.1596, allocations: 143 kB / 0.5004 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.1599, allocations: 167.3 kB / 0.5006 GB, free: 3.68 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1599, allocations: 3.938 kB / 0.5006 GB, free: 3.676 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2172/0.3771, allocations: 11.03 MB / 0.5114 GB, free: 42.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.39, allocations: 13.39 kB / 0.5114 GB, free: 42.34 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1)