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.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.001288/0.001288, 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.001338/0.001338, 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.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2354/0.2354, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002206/0.002207, allocations: 80.94 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1248, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.004265/0.1291, allocations: 2.079 MB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.1333, allocations: 1.986 MB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.1335, allocations: 4 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003564/0.1339, allocations: 59.66 kB / 484.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.1344, allocations: 151.3 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.1364, allocations: 0.5797 MB / 485.1 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.1371, allocations: 386.1 kB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1372, allocations: 36.73 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.1377, allocations: 163.3 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.1381, allocations: 195.1 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.1382, allocations: 12 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.1409, allocations: 1.638 MB / 487.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1412, allocations: 91.66 kB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.1415, allocations: 151 kB / 487.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.1435, allocations: 1.064 MB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1435, allocations: 0 / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1436, allocations: 3.938 kB / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.1436, allocations: 4 kB / 488.8 MB, free: 12.53 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00143/0.145, allocations: 0.6707 MB / 489.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1451, allocations: 12.03 kB / 489.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.1452, allocations: 78.7 kB / 489.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.1453, allocations: 36.56 kB / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.1457, allocations: 267.6 kB / 489.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.1458, allocations: 25.02 kB / 489.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.1458, allocations: 35.94 kB / 489.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/0.1467, allocations: 0.496 MB / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1467, allocations: 0 / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.1468, allocations: 15.98 kB / 490.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.421e-05/0.1469, allocations: 48.95 kB / 490.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009357/0.1478, allocations: 0.527 MB / 491 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.1499, allocations: 1.294 MB / 492.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.1508, allocations: 383.2 kB / 492.7 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.1511, allocations: 124.7 kB / 492.8 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.1511, allocations: 15.97 kB / 492.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1512, allocations: 38.56 kB / 492.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.1512, allocations: 0 / 492.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001002/0.1522, allocations: 433.5 kB / 493.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.1522, allocations: 55.41 kB / 493.3 MB, free: 7.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.1526, allocations: 302.6 kB / 493.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1526, allocations: 37.64 kB / 493.7 MB, free: 7.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1528, allocations: 200 kB / 493.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.1529, allocations: 94.67 kB / 493.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.153, allocations: 69.61 kB / 494 MB, free: 7.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1532, allocations: 342.8 kB / 494.4 MB, free: 6.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.1535, allocations: 115.9 kB / 494.5 MB, free: 6.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.1538, allocations: 158.6 kB / 494.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/0.1544, allocations: 300.7 kB / 494.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1544, allocations: 0 / 494.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007871/0.1552, allocations: 379 kB / 495.3 MB, free: 5.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1552, allocations: 10.72 kB / 495.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1552, allocations: 0 / 495.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1553, allocations: 4 kB / 495.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.1558, allocations: 119.9 kB / 495.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.1579, allocations: 3.004 MB / 498.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.1582, allocations: 43.67 kB / 498.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.1582, allocations: 16 kB / 498.5 MB, free: 2.434 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.1585, allocations: 177.7 kB / 498.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.1586, allocations: 31.66 kB / 498.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1596, allocations: 455.2 kB / 499.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1596, allocations: 0 / 499.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1596, allocations: 4 kB / 499.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1596, allocations: 0 / 499.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.1602, allocations: 369.3 kB / 499.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.1602, allocations: 0 / 499.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.1607, allocations: 127.7 kB / 499.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1607, allocations: 4 kB / 499.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.1607, allocations: 15.98 kB / 499.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.1628, allocations: 3.004 MB / 0.4909 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1628, allocations: 0 / 0.4909 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.1636, allocations: 443.9 kB / 0.4913 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.1638, allocations: 108.7 kB / 0.4914 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.464e-05/0.1639, allocations: 15.88 kB / 0.4914 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.1641, allocations: 11.98 kB / 0.4914 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.1642, allocations: 23.97 kB / 0.4914 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.1642, allocations: 12 kB / 0.4914 GB, free: 13.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002787/0.1645, allocations: 233.9 kB / 0.4917 GB, free: 13.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1645, allocations: 0 / 0.4917 GB, free: 13.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006661/0.1652, allocations: 187.7 kB / 0.4918 GB, free: 13.04 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/0.1669, allocations: 1.122 MB / 0.4929 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.1681, allocations: 431.8 kB / 0.4934 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1681, allocations: 0 / 0.4934 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.1687, allocations: 219.7 kB / 0.4936 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.1693, allocations: 64.41 kB / 0.4936 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005416/0.1747, allocations: 3.539 MB / 0.4971 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.1753, allocations: 0.8379 MB / 0.4979 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.1757, allocations: 126.7 kB / 0.498 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.1759, allocations: 115.4 kB / 0.4981 GB, free: 6.453 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1759, allocations: 0 / 0.4981 GB, free: 6.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2255/0.4014, allocations: 10.99 MB / 0.5089 GB, free: 42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.25, allocations: 14.06 kB / 0.5089 GB, free: 42 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1)