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.001625/0.001625, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001886/0.001886, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247 MB, free: 10.41 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.2212/0.2212, allocations: 46.11 MB / 344.3 MB, free: 11.45 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.002189/0.00219, allocations: 79.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3185, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003118/0.3217, allocations: 1.79 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.3247, allocations: 1.909 MB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.3248, allocations: 1.5 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.3251, allocations: 44.09 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.3253, allocations: 75.56 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.3264, allocations: 0.5699 MB / 0.5349 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.3267, allocations: 243 kB / 0.5351 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.3268, allocations: 16.44 kB / 0.5351 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.327, allocations: 110.4 kB / 0.5353 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.3272, allocations: 103 kB / 0.5354 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.3273, allocations: 11.31 kB / 0.5354 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.329, allocations: 1.173 MB / 0.5365 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3291, allocations: 67.77 kB / 0.5366 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3293, allocations: 109.4 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.3305, allocations: 0.8046 MB / 0.5375 GB, free: 8.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3305, allocations: 1.062 kB / 0.5375 GB, free: 8.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3305, allocations: 0 / 0.5375 GB, free: 8.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3305, allocations: 0 / 0.5375 GB, free: 8.465 MB / 398.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.0009878/0.3315, allocations: 0.6195 MB / 0.5381 GB, free: 7.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3316, allocations: 9.844 kB / 0.5381 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.972e-05/0.3317, allocations: 61.84 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.3317, allocations: 28.22 kB / 0.5382 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.3321, allocations: 244.3 kB / 0.5384 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3321, allocations: 12.25 kB / 0.5384 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.3321, allocations: 26.14 kB / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.3328, allocations: 375.8 kB / 0.5388 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3328, allocations: 0 / 0.5388 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3328, allocations: 5.406 kB / 0.5388 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/0.3329, allocations: 36.22 kB / 0.5388 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.3335, allocations: 399 kB / 0.5392 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.335, allocations: 1.019 MB / 0.5402 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.3357, allocations: 284.7 kB / 0.5405 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.3359, allocations: 92.03 kB / 0.5406 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.3359, allocations: 12.56 kB / 0.5406 GB, free: 6.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.336, allocations: 31.66 kB / 0.5406 GB, free: 6.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.336, allocations: 0 / 0.5406 GB, free: 6.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007744/0.3368, allocations: 323.5 kB / 0.5409 GB, free: 5.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3368, allocations: 52.84 kB / 0.541 GB, free: 5.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.3371, allocations: 226.8 kB / 0.5412 GB, free: 5.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3371, allocations: 35.05 kB / 0.5412 GB, free: 5.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3373, allocations: 157.1 kB / 0.5414 GB, free: 5.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.3373, allocations: 77.02 kB / 0.5414 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.3374, allocations: 48.02 kB / 0.5415 GB, free: 5.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3376, allocations: 334 kB / 0.5418 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3378, allocations: 80.83 kB / 0.5419 GB, free: 5.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.338, allocations: 110.9 kB / 0.542 GB, free: 5.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.3385, allocations: 194.2 kB / 0.5422 GB, free: 4.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3385, allocations: 0 / 0.5422 GB, free: 4.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005206/0.339, allocations: 265.5 kB / 0.5424 GB, free: 4.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.339, allocations: 12.53 kB / 0.5424 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3391, allocations: 5.188 kB / 0.5424 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3391, allocations: 1.125 kB / 0.5424 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.3395, allocations: 91.84 kB / 0.5425 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.341, allocations: 2.378 MB / 0.5449 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.3412, allocations: 37.39 kB / 0.5449 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.3412, allocations: 14.69 kB / 0.5449 GB, free: 2.305 MB / 398.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.0001797/0.3414, allocations: 166.9 kB / 0.5451 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.3415, allocations: 22.11 kB / 0.5451 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007303/0.3422, allocations: 340.7 kB / 0.5454 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3422, allocations: 2.156 kB / 0.5454 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3422, allocations: 1.062 kB / 0.5454 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.3423, allocations: 7.984 kB / 0.5454 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.3427, allocations: 315.5 kB / 0.5457 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3427, allocations: 0 / 0.5457 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.3431, allocations: 94.05 kB / 0.5458 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3431, allocations: 1.062 kB / 0.5458 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.3431, allocations: 7.438 kB / 0.5458 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.3446, allocations: 2.385 MB / 0.5481 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3446, allocations: 0 / 0.5481 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.3452, allocations: 372 kB / 0.5485 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.3453, allocations: 124.8 kB / 0.5486 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.3454, allocations: 8 kB / 0.5486 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.3456, allocations: 11.98 kB / 0.5486 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.3456, allocations: 15.97 kB / 0.5487 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.3457, allocations: 12 kB / 0.5487 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3458, allocations: 169.5 kB / 0.5488 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3458, allocations: 0 / 0.5488 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006426/0.3465, allocations: 175.2 kB / 0.549 GB, free: 14.29 MB / 414.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.001336/0.3478, allocations: 1.051 MB / 0.55 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007463/0.3486, allocations: 263.8 kB / 0.5503 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3486, allocations: 0 / 0.5503 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.3491, allocations: 171.8 kB / 0.5504 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.3495, allocations: 47.69 kB / 0.5505 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.3534, allocations: 2.827 MB / 0.5532 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.3539, allocations: 0.787 MB / 0.554 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.3541, allocations: 77.77 kB / 0.5541 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.3542, allocations: 91.39 kB / 0.5542 GB, free: 8.852 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3542, allocations: 0 / 0.5542 GB, free: 8.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.3874, allocations: 8.888 MB / 0.5629 GB, free: 212 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.13, allocations: 1.625 kB / 0.5629 GB, free: 208 kB / 414.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)