Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.000951/0.0009511, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009789/0.000979, allocations: 172.2 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3495/0.3495, allocations: 43.54 MB / 314.6 MB, free: 8.793 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005451/0.0005453, allocations: 16 kB / 384 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002248/0.1146, allocations: 1.528 MB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.117, allocations: 1.679 MB / 446.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.633e-05/0.1171, allocations: 0 / 446.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.1173, allocations: 31.83 kB / 446.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1176, allocations: 79.59 kB / 446.2 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008585/0.1185, allocations: 0.5064 MB / 446.7 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.1188, allocations: 266.8 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.1189, allocations: 17.69 kB / 447 MB, free: 8.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.119, allocations: 99.56 kB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1192, allocations: 107.5 kB / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1192, allocations: 8 kB / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.1206, allocations: 1.088 MB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.1207, allocations: 71.72 kB / 448.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.1208, allocations: 65.52 kB / 448.4 MB, free: 7.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.1214, allocations: 431.4 kB / 448.8 MB, free: 6.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1214, allocations: 3.938 kB / 448.9 MB, free: 6.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1214, allocations: 0 / 448.9 MB, free: 6.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1214, allocations: 0 / 448.9 MB, free: 6.941 MB / 382.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.0007604/0.1222, allocations: 0.5497 MB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1222, allocations: 8.031 kB / 449.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.235e-05/0.1223, allocations: 74.52 kB / 449.5 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.1223, allocations: 31.58 kB / 449.5 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1226, allocations: 226.7 kB / 449.7 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1226, allocations: 12.44 kB / 449.7 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.1227, allocations: 27.98 kB / 449.8 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.1232, allocations: 384.3 kB / 450.2 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1232, allocations: 4 kB / 450.2 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.1233, allocations: 8 kB / 450.2 MB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/0.1233, allocations: 36.62 kB / 450.2 MB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.1239, allocations: 402.3 kB / 450.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.1252, allocations: 1.02 MB / 451.6 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.1258, allocations: 282.8 kB / 451.9 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.126, allocations: 97.16 kB / 452 MB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.126, allocations: 20.19 kB / 452 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1261, allocations: 38.69 kB / 452 MB, free: 3.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.1261, allocations: 0 / 452 MB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007016/0.1268, allocations: 334.2 kB / 452.4 MB, free: 3.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1268, allocations: 59.39 kB / 452.4 MB, free: 3.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.127, allocations: 219.8 kB / 452.6 MB, free: 2.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1271, allocations: 33.7 kB / 452.7 MB, free: 2.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1272, allocations: 144.4 kB / 452.8 MB, free: 2.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.1273, allocations: 78.84 kB / 452.9 MB, free: 2.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.1273, allocations: 0 / 452.9 MB, free: 2.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1274, allocations: 334.8 kB / 453.2 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1276, allocations: 83.92 kB / 453.3 MB, free: 2.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.1278, allocations: 110.4 kB / 453.4 MB, free: 2.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.128, allocations: 107.9 kB / 453.5 MB, free: 1.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.128, allocations: 0 / 453.5 MB, free: 1.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004442/0.1285, allocations: 266 kB / 453.8 MB, free: 1.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1285, allocations: 4 kB / 453.8 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1285, allocations: 7.984 kB / 453.8 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1285, allocations: 0 / 453.8 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.1289, allocations: 91.95 kB / 453.9 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1895/0.3184, allocations: 2.375 MB / 456.2 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.3187, allocations: 30.2 kB / 456.3 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.3187, allocations: 10.02 kB / 456.3 MB, free: 45.62 MB / 382.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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.3189, allocations: 166.7 kB / 456.4 MB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.3189, allocations: 18.97 kB / 456.5 MB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006418/0.3196, allocations: 362.9 kB / 456.8 MB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3196, allocations: 5.859 kB / 456.8 MB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3196, allocations: 1.719 kB / 456.8 MB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3196, allocations: 0 / 456.8 MB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3199, allocations: 316.3 kB / 457.1 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3199, allocations: 3.25 kB / 457.1 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.3202, allocations: 94.14 kB / 457.2 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3202, allocations: 3.422 kB / 457.2 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3203, allocations: 8.719 kB / 457.2 MB, free: 45.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005962/0.3209, allocations: 2.387 MB / 459.6 MB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3209, allocations: 0 / 459.6 MB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.3213, allocations: 376.6 kB / 460 MB, free: 42.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.3214, allocations: 125.5 kB / 460.1 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.3214, allocations: 3.938 kB / 460.1 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3216, allocations: 11.12 kB / 460.1 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.3216, allocations: 24.14 kB / 460.2 MB, free: 42.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3216, allocations: 14.58 kB / 460.2 MB, free: 42.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.3217, allocations: 166 kB / 460.3 MB, free: 42.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3217, allocations: 0 / 460.3 MB, free: 42.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.3222, allocations: 166.3 kB / 460.5 MB, free: 42.6 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008066/0.323, allocations: 1.033 MB / 461.5 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005539/0.3236, allocations: 276.5 kB / 461.8 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3236, allocations: 0 / 461.8 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.3239, allocations: 174.7 kB / 462 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3243, allocations: 51.05 kB / 462 MB, free: 41.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3261, allocations: 1.657 MB / 463.7 MB, free: 41.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3263, allocations: 0.785 MB / 464.5 MB, free: 40.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.3265, allocations: 82.11 kB / 464.5 MB, free: 40.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3266, allocations: 80.19 kB / 464.6 MB, free: 40.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3266, allocations: 0 / 464.6 MB, free: 40.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.3454, allocations: 8.078 MB / 472.7 MB, free: 39.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.3456, allocations: 268.4 kB / 473 MB, free: 39.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.261, allocations: 4 kB / 473 MB, free: 39.58 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat