Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002782/0.002781, allocations: 183.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.297/2.297, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 104 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5461/0.5461, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004946, allocations: 12 kB / 431.5 MB, free: 6.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1421, allocations: 58.85 MB / 490.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002902/0.1451, allocations: 1.477 MB / 491.8 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.1484, allocations: 1.495 MB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1486, allocations: 3.938 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.149, allocations: 39.86 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.1494, allocations: 63.72 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.1509, allocations: 355.2 kB / 493.8 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.1512, allocations: 163.6 kB / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1514, allocations: 36.31 kB / 494 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.1516, allocations: 83.62 kB / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.1518, allocations: 91.59 kB / 494.1 MB, free: 7.285 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.1519, allocations: 8 kB / 494.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.1536, allocations: 0.6942 MB / 494.8 MB, free: 6.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1537, allocations: 67.73 kB / 494.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1538, allocations: 61.58 kB / 495 MB, free: 6.449 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009448/0.1548, allocations: 363.5 kB / 495.3 MB, free: 6.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1548, allocations: 0 / 495.3 MB, free: 6.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1548, allocations: 0 / 495.3 MB, free: 6.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1548, allocations: 0 / 495.3 MB, free: 6.094 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001311/0.1562, allocations: 0.5848 MB / 495.9 MB, free: 5.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1562, allocations: 8.031 kB / 495.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.1564, allocations: 82.5 kB / 496 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.1565, allocations: 27.62 kB / 496 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.1569, allocations: 234.7 kB / 496.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.1569, allocations: 16.56 kB / 496.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.157, allocations: 24 kB / 496.3 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1582, allocations: 475.3 kB / 496.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1582, allocations: 3.984 kB / 496.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.1583, allocations: 15.95 kB / 496.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.744e-05/0.1584, allocations: 40.97 kB / 496.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.1599, allocations: 0.5582 MB / 497.4 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.1632, allocations: 1.35 MB / 498.7 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1643, allocations: 302.4 kB / 499 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.95e-05/0.1644, allocations: 12.05 kB / 499 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1645, allocations: 30.56 kB / 499 MB, free: 2.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.946e-06/0.1645, allocations: 0 / 499 MB, free: 2.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001304/0.1658, allocations: 337.8 kB / 499.4 MB, free: 1.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1659, allocations: 55.41 kB / 499.4 MB, free: 1.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1661, allocations: 145.9 kB / 499.6 MB, free: 1.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.1662, allocations: 29.7 kB / 499.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1663, allocations: 258.2 kB / 499.9 MB, free: 1.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1665, allocations: 94.73 kB / 499.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.1665, allocations: 4 kB / 500 MB, free: 1.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1667, allocations: 326.8 kB / 0.4885 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.1671, allocations: 95.78 kB / 0.4886 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.1675, allocations: 170.2 kB / 0.4888 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.168, allocations: 120.7 kB / 0.4889 GB, free: 444 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.168, allocations: 0 / 0.4889 GB, free: 444 kB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001074/0.1691, allocations: 337 kB / 0.4892 GB, free: 100 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.1692, allocations: 4 kB / 0.4892 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.1692, allocations: 4.344 kB / 0.4892 GB, free: 92 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.1692, allocations: 8 kB / 0.4893 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3326/0.5018, allocations: 129.3 kB / 0.4894 GB, free: 42.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.5031, allocations: 2.363 MB / 0.4917 GB, free: 40.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.5035, allocations: 35.45 kB / 0.4917 GB, free: 40.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.5035, allocations: 15.95 kB / 0.4917 GB, free: 40.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * 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.0003144/0.5039, allocations: 178.6 kB / 0.4919 GB, free: 40.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.651e-05/0.504, allocations: 16.42 kB / 0.4919 GB, free: 40.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.5054, allocations: 381.9 kB / 0.4923 GB, free: 40.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5055, allocations: 4 kB / 0.4923 GB, free: 40.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5055, allocations: 3.266 kB / 0.4923 GB, free: 40.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.5055, allocations: 1.453 kB / 0.4923 GB, free: 40.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.5061, allocations: 335 kB / 0.4926 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5062, allocations: 3.781 kB / 0.4926 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/0.5072, allocations: 124.8 kB / 0.4927 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.5072, allocations: 3.891 kB / 0.4927 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.5073, allocations: 7.594 kB / 0.4927 GB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.5084, allocations: 2.361 MB / 0.4951 GB, free: 37.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5085, allocations: 0.7969 kB / 0.4951 GB, free: 37.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/0.5095, allocations: 382.7 kB / 0.4954 GB, free: 37.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.5095, allocations: 94.11 kB / 0.4955 GB, free: 37.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.5096, allocations: 4.688 kB / 0.4955 GB, free: 37.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.5099, allocations: 24.17 kB / 0.4955 GB, free: 37.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.51, allocations: 27.02 kB / 0.4956 GB, free: 37.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.5101, allocations: 9.344 kB / 0.4956 GB, free: 37.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.097e-05/0.5102, allocations: 98.78 kB / 0.4957 GB, free: 37.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5102, allocations: 0 / 0.4957 GB, free: 37.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008311/0.511, allocations: 175.2 kB / 0.4958 GB, free: 37.66 MB / 378.7 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 (29): * Single equations (assignments): 25 * 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.00177/0.5128, allocations: 1.023 MB / 0.4968 GB, free: 36.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.5142, allocations: 303.1 kB / 0.4971 GB, free: 36.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5143, allocations: 0.9375 kB / 0.4971 GB, free: 36.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.5151, allocations: 188.1 kB / 0.4973 GB, free: 36.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.5155, allocations: 15.3 kB / 0.4973 GB, free: 36.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.5196, allocations: 3.16 MB / 0.5004 GB, free: 34.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.5201, allocations: 0.8079 MB / 0.5012 GB, free: 33.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.5204, allocations: 99.44 kB / 0.5013 GB, free: 33.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5204, allocations: 0 / 0.5013 GB, free: 33.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.984/3.505, allocations: 9.756 MB / 0.5108 GB, free: 33.22 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat