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_edgedOverall_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_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.001709/0.001709, 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.00233/0.00233, 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.46/1.46, allocations: 227.5 MB / 246.8 MB, free: 10.6 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.2367/0.2367, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002291/0.002291, allocations: 83.58 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1149, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003192/0.1181, allocations: 1.794 MB / 482 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.1211, allocations: 1.898 MB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.1212, allocations: 4 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.1215, allocations: 47.73 kB / 484 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1218, allocations: 75.62 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.123, allocations: 0.5685 MB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.1233, allocations: 238.8 kB / 484.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.767e-05/0.1233, allocations: 21.67 kB / 484.9 MB, free: 480 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.1236, allocations: 107.4 kB / 485 MB, free: 372 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.1238, allocations: 111.5 kB / 485.1 MB, free: 260 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.1238, allocations: 11.94 kB / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.1255, allocations: 1.174 MB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.871e-05/0.1256, allocations: 59.75 kB / 486.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1257, allocations: 103.3 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1269, allocations: 0.7951 MB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1269, allocations: 0 / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1269, allocations: 3.938 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1269, allocations: 4 kB / 487.2 MB, free: 14.1 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001061/0.128, allocations: 0.5927 MB / 487.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.128, allocations: 15.97 kB / 487.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.416e-05/0.1281, allocations: 62.72 kB / 487.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.1282, allocations: 28.56 kB / 487.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1285, allocations: 251.7 kB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1285, allocations: 12.44 kB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1286, allocations: 16 kB / 488.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.1292, allocations: 376.4 kB / 488.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1292, allocations: 0 / 488.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.1292, allocations: 11.94 kB / 488.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.1293, allocations: 36.62 kB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006745/0.13, allocations: 390.3 kB / 489 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.1315, allocations: 1.031 MB / 490 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/0.1322, allocations: 277.3 kB / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.1324, allocations: 96.78 kB / 490.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.1325, allocations: 8.062 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.1326, allocations: 38.56 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.324e-06/0.1326, allocations: 0 / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008216/0.1334, allocations: 321.2 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.1335, allocations: 55.41 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.1337, allocations: 235.6 kB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1338, allocations: 25.7 kB / 491.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.1339, allocations: 152.3 kB / 491.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.134, allocations: 66.95 kB / 491.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1341, allocations: 61.69 kB / 491.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1343, allocations: 330.8 kB / 491.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.1345, allocations: 75.92 kB / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.1347, allocations: 106.5 kB / 491.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.1352, allocations: 205.8 kB / 492 MB, free: 8.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1352, allocations: 3.938 kB / 492 MB, free: 8.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000562/0.1358, allocations: 253.2 kB / 492.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1358, allocations: 14.75 kB / 492.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1358, allocations: 3.984 kB / 492.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1358, allocations: 64 / 492.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.1363, allocations: 91.95 kB / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.1378, allocations: 2.383 MB / 494.8 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.138, allocations: 19.78 kB / 494.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1381, allocations: 19.92 kB / 494.8 MB, free: 6.117 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 (23): * Single equations (assignments): 19 * 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.0001873/0.1383, allocations: 164.7 kB / 495 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.1383, allocations: 24 kB / 495 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007614/0.1391, allocations: 347.2 kB / 495.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1391, allocations: 4 kB / 495.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1391, allocations: 0 / 495.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1391, allocations: 3.984 kB / 495.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1396, allocations: 313.3 kB / 495.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1396, allocations: 8 kB / 495.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.14, allocations: 91.89 kB / 495.7 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.14, allocations: 0 / 495.7 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.14, allocations: 11.98 kB / 495.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.1415, allocations: 2.379 MB / 498.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1415, allocations: 0 / 498.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.1421, allocations: 372.1 kB / 498.5 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.1423, allocations: 132.7 kB / 498.6 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.1423, allocations: 4 kB / 498.6 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1425, allocations: 7.984 kB / 498.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.1426, allocations: 23.97 kB / 498.7 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1426, allocations: 8 kB / 498.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1427, allocations: 169.5 kB / 498.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1428, allocations: 0 / 498.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.1433, allocations: 175.7 kB / 499 MB, free: 1.727 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 (25): * Single equations (assignments): 21 * 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.001293/0.1446, allocations: 1.032 MB / 0.4883 GB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007907/0.1454, allocations: 303.5 kB / 0.4886 GB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.1454, allocations: 4.125 kB / 0.4886 GB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.1459, allocations: 168.2 kB / 0.4888 GB, free: 208 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.1463, allocations: 50.28 kB / 0.4888 GB, free: 160 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.15, allocations: 2.829 MB / 0.4916 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1505, allocations: 0.7831 MB / 0.4924 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.1507, allocations: 85.77 kB / 0.4924 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1509, allocations: 83.41 kB / 0.4925 GB, free: 12.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1509, allocations: 0 / 0.4925 GB, free: 12.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.1851, allocations: 8.751 MB / 0.5011 GB, free: 3.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12, allocations: 17.83 kB / 0.5011 GB, free: 3.727 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1)