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_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 96.83 kB / 15.69 MB, free: 480 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.001297/0.001297, allocations: 176.6 kB / 16.57 MB, free: 6.387 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.725/1.725, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4553/0.4553, allocations: 43.55 MB / 314.5 MB, free: 9.039 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.0006363/0.0006365, allocations: 22.97 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1719, allocations: 58.85 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.002578/0.1745, allocations: 1.736 MB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.1777, allocations: 1.689 MB / 446.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1778, allocations: 0 / 446.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.1782, allocations: 63.7 kB / 446.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.1786, allocations: 107.7 kB / 446.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1797, allocations: 0.503 MB / 447 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1801, allocations: 251.5 kB / 447.2 MB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.1802, allocations: 40.7 kB / 447.3 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.1804, allocations: 123.5 kB / 447.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.1807, allocations: 135.5 kB / 447.5 MB, free: 8.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.1807, allocations: 12 kB / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.183, allocations: 1.603 MB / 449.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.1832, allocations: 87.7 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1833, allocations: 81.5 kB / 449.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009447/0.1843, allocations: 0.507 MB / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1843, allocations: 0 / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1843, allocations: 0 / 449.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1843, allocations: 4 kB / 449.8 MB, free: 6.219 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001267/0.1856, allocations: 0.6237 MB / 450.4 MB, free: 5.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/0.1856, allocations: 8.031 kB / 450.4 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.1858, allocations: 78.52 kB / 450.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.1858, allocations: 43.48 kB / 450.5 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.1863, allocations: 262.5 kB / 450.8 MB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.1863, allocations: 28.64 kB / 450.8 MB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.1864, allocations: 28 kB / 450.9 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.1872, allocations: 0.5036 MB / 451.4 MB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1873, allocations: 0 / 451.4 MB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.1873, allocations: 15.98 kB / 451.4 MB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/0.1874, allocations: 52.91 kB / 451.4 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.1882, allocations: 0.5348 MB / 452 MB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.1903, allocations: 1.321 MB / 453.3 MB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000831/0.1912, allocations: 378.4 kB / 453.7 MB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.1912, allocations: 12.02 kB / 453.7 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.1913, allocations: 30.56 kB / 453.7 MB, free: 2.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.1913, allocations: 4 kB / 453.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001082/0.1924, allocations: 437.6 kB / 454.1 MB, free: 1.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.1924, allocations: 55.41 kB / 454.2 MB, free: 1.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.1928, allocations: 310.6 kB / 454.5 MB, free: 1.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.1929, allocations: 29.7 kB / 454.5 MB, free: 1.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.193, allocations: 192.1 kB / 454.7 MB, free: 1.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.1931, allocations: 94.67 kB / 454.8 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.1932, allocations: 8 kB / 454.8 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1933, allocations: 338.8 kB / 455.1 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.1936, allocations: 123.9 kB / 455.3 MB, free: 488 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.1939, allocations: 170.6 kB / 455.4 MB, free: 308 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1942, allocations: 145.2 kB / 455.6 MB, free: 164 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1942, allocations: 0 / 455.6 MB, free: 164 kB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.312/0.5062, allocations: 380.8 kB / 455.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.5063, allocations: 6.375 kB / 455.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5063, allocations: 0 / 455.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.5063, allocations: 4.5 kB / 455.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.5069, allocations: 126.3 kB / 456.1 MB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.508, allocations: 3.006 MB / 459.1 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.5083, allocations: 46.33 kB / 459.1 MB, free: 43.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.5083, allocations: 17.38 kB / 459.1 MB, free: 43.45 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.5086, allocations: 181 kB / 459.3 MB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.5086, allocations: 24.22 kB / 459.3 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009447/0.5096, allocations: 474.2 kB / 459.8 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.5096, allocations: 7.016 kB / 459.8 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5096, allocations: 3.953 kB / 459.8 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5096, allocations: 3.281 kB / 459.8 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.5101, allocations: 364.8 kB / 460.2 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5101, allocations: 3.094 kB / 460.2 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.5106, allocations: 115 kB / 460.3 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.5106, allocations: 0 / 460.3 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.5106, allocations: 14.27 kB / 460.3 MB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.5116, allocations: 3.01 MB / 463.3 MB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5116, allocations: 0 / 463.3 MB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.5123, allocations: 457 kB / 463.8 MB, free: 40 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.5124, allocations: 109.1 kB / 463.9 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.5125, allocations: 5.625 kB / 463.9 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.5127, allocations: 21.22 kB / 463.9 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.5128, allocations: 19.88 kB / 463.9 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.5128, allocations: 15.75 kB / 463.9 MB, free: 39.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.5131, allocations: 224.6 kB / 464.1 MB, free: 39.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5131, allocations: 0 / 464.1 MB, free: 39.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006555/0.5137, allocations: 186.8 kB / 464.3 MB, free: 39.79 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 (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.515, allocations: 1.113 MB / 465.4 MB, free: 39.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009287/0.516, allocations: 376.2 kB / 465.8 MB, free: 39.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.516, allocations: 1.469 kB / 465.8 MB, free: 39.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.5165, allocations: 218.7 kB / 466 MB, free: 39.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.5169, allocations: 53.69 kB / 466.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.5198, allocations: 2.467 MB / 468.5 MB, free: 38.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.52, allocations: 0.8368 MB / 469.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.5204, allocations: 126.5 kB / 469.5 MB, free: 37.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.5205, allocations: 116 kB / 469.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5205, allocations: 0 / 469.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.5448, allocations: 10.15 MB / 479.8 MB, free: 36.56 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.5451, allocations: 261.5 kB / 480 MB, free: 36.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.107/2.652, allocations: 3.938 kB / 480 MB, free: 36.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat