Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001608, allocations: 187 kB / 16.4 MB, free: 5.625 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.121/2.121, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001208/0.001207, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2968/0.2968, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004647, allocations: 16 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1308, allocations: 58.86 MB / 490.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003115/0.134, allocations: 1.724 MB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.1378, allocations: 1.693 MB / 493.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.138, allocations: 0 / 493.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.1383, allocations: 59.72 kB / 493.8 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.1388, allocations: 107.7 kB / 493.9 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.1404, allocations: 0.5066 MB / 494.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.1409, allocations: 247.5 kB / 494.7 MB, free: 4.852 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.141, allocations: 32.73 kB / 494.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.1413, allocations: 123.5 kB / 494.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.1416, allocations: 143.5 kB / 495 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.1416, allocations: 8 kB / 495 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.1449, allocations: 1.607 MB / 496.6 MB, free: 2.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.145, allocations: 83.66 kB / 496.7 MB, free: 2.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.1452, allocations: 73.58 kB / 496.7 MB, free: 2.781 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.1464, allocations: 0.5188 MB / 497.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1464, allocations: 4 kB / 497.3 MB, free: 2.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1464, allocations: 0 / 497.3 MB, free: 2.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1464, allocations: 0 / 497.3 MB, free: 2.258 MB / 330.7 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.001413/0.1479, allocations: 0.6159 MB / 497.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1479, allocations: 8.031 kB / 497.9 MB, free: 1.582 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.1481, allocations: 86.5 kB / 498 MB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.849e-05/0.1482, allocations: 39.56 kB / 498 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.1487, allocations: 266.5 kB / 498.3 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.1487, allocations: 20.64 kB / 498.3 MB, free: 1.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.1488, allocations: 28 kB / 498.3 MB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.1501, allocations: 0.4998 MB / 498.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1501, allocations: 4 kB / 498.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.1502, allocations: 11.98 kB / 498.8 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.1503, allocations: 52.97 kB / 498.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.1517, allocations: 0.5348 MB / 499.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.1548, allocations: 1.321 MB / 0.489 GB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.1561, allocations: 374.1 kB / 0.4894 GB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.1562, allocations: 7.984 kB / 0.4894 GB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1562, allocations: 47.03 kB / 0.4894 GB, free: 14.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 2.545e-06/0.1563, allocations: 0 / 0.4894 GB, free: 14.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001583/0.1578, allocations: 441.6 kB / 0.4898 GB, free: 13.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1579, allocations: 55.53 kB / 0.4899 GB, free: 13.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.1584, allocations: 310.4 kB / 0.4902 GB, free: 13.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.1585, allocations: 29.7 kB / 0.4902 GB, free: 13.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.1587, allocations: 246.6 kB / 0.4904 GB, free: 13.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1588, allocations: 98.58 kB / 0.4905 GB, free: 12.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1589, allocations: 12 kB / 0.4905 GB, free: 12.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.159, allocations: 322.8 kB / 0.4909 GB, free: 12.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.1595, allocations: 127.8 kB / 0.491 GB, free: 12.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.16, allocations: 162.5 kB / 0.4911 GB, free: 12.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.1605, allocations: 157.2 kB / 0.4913 GB, free: 12.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1606, allocations: 0 / 0.4913 GB, free: 12.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001244/0.1618, allocations: 358.7 kB / 0.4916 GB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.1619, allocations: 8.062 kB / 0.4916 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1619, allocations: 0 / 0.4916 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1619, allocations: 4 kB / 0.4916 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.163, allocations: 127.8 kB / 0.4918 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.1653, allocations: 3.016 MB / 0.4947 GB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.1658, allocations: 39.53 kB / 0.4947 GB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.1658, allocations: 15.98 kB / 0.4948 GB, free: 8.473 MB / 346.7 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.0003176/0.1661, allocations: 185.6 kB / 0.4949 GB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.1662, allocations: 27.72 kB / 0.495 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.1679, allocations: 475.1 kB / 0.4954 GB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.168, allocations: 4 kB / 0.4954 GB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.168, allocations: 4 kB / 0.4954 GB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.168, allocations: 3.984 kB / 0.4954 GB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.1687, allocations: 369.2 kB / 0.4958 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1688, allocations: 0 / 0.4958 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.1698, allocations: 119.8 kB / 0.4959 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.537e-06/0.1698, allocations: 7.984 kB / 0.4959 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.1699, allocations: 15.98 kB / 0.4959 GB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.1721, allocations: 3.004 MB / 0.4988 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1722, allocations: 0 / 0.4988 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.1734, allocations: 447.3 kB / 0.4993 GB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1736, allocations: 112.7 kB / 0.4994 GB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/0.1737, allocations: 7.953 kB / 0.4994 GB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.174, allocations: 19.98 kB / 0.4994 GB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1741, allocations: 19.97 kB / 0.4994 GB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.1742, allocations: 19.92 kB / 0.4994 GB, free: 3.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004774/0.1747, allocations: 221.9 kB / 0.4997 GB, free: 3.242 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.1747, allocations: 0 / 0.4997 GB, free: 3.242 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001253/0.176, allocations: 183.7 kB / 0.4998 GB, free: 3.062 MB / 346.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 (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.002191/0.1782, allocations: 1.111 MB / 0.5009 GB, free: 1.922 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.1799, allocations: 383.5 kB / 0.5013 GB, free: 1.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1799, allocations: 0 / 0.5013 GB, free: 1.547 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.1811, allocations: 223.8 kB / 0.5015 GB, free: 1.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.1817, allocations: 52.61 kB / 0.5015 GB, free: 1.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0068/0.1885, allocations: 2.481 MB / 0.504 GB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00078/0.1893, allocations: 0.8341 MB / 0.5048 GB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.1898, allocations: 119.4 kB / 0.5049 GB, free: 13.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1898, allocations: 7.938 kB / 0.5049 GB, free: 13.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.326/3.516, allocations: 14.13 MB / 0.5187 GB, free: 45.58 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat