Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.0008624/0.0008627, allocations: 89.88 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001043, allocations: 186.8 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 241.8 MB, free: 14.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002026/0.1213, allocations: 1.47 MB / 473 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.1253, allocations: 2.48 MB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.1254, allocations: 0 / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.1256, allocations: 35.81 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.1259, allocations: 67.77 kB / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.1272, allocations: 0.6152 MB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1275, allocations: 171.6 kB / 476.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.48e-05/0.1275, allocations: 20.41 kB / 476.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1277, allocations: 79.58 kB / 476.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1279, allocations: 103.6 kB / 476.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1279, allocations: 8 kB / 476.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.1296, allocations: 1.193 MB / 477.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.1296, allocations: 59.75 kB / 477.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.1297, allocations: 65.58 kB / 477.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008061/0.1305, allocations: 0.5266 MB / 478.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1305, allocations: 0 / 478.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1305, allocations: 4 kB / 478.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1305, allocations: 0 / 478.4 MB, free: 6.707 MB / 350.1 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.00091/0.1315, allocations: 0.6199 MB / 479.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1315, allocations: 8.031 kB / 479.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.891e-05/0.1316, allocations: 78.52 kB / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.1317, allocations: 39.45 kB / 479.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.132, allocations: 246.6 kB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.132, allocations: 24.55 kB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.1321, allocations: 24 kB / 479.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.1328, allocations: 467.3 kB / 479.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1328, allocations: 0 / 479.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.1328, allocations: 15.98 kB / 479.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.19e-05/0.1329, allocations: 44.97 kB / 480 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008299/0.1337, allocations: 0.5581 MB / 480.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.1356, allocations: 1.335 MB / 481.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.1362, allocations: 301.5 kB / 482.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.1363, allocations: 8.344 kB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1363, allocations: 38.5 kB / 482.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.1363, allocations: 0 / 482.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007434/0.1371, allocations: 346.2 kB / 482.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1371, allocations: 55.41 kB / 482.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1372, allocations: 142 kB / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1373, allocations: 29.7 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1374, allocations: 195.8 kB / 483 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.1374, allocations: 82.77 kB / 483.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.1375, allocations: 7.938 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1376, allocations: 326.8 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1378, allocations: 99.78 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.138, allocations: 178.1 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.1383, allocations: 128.1 kB / 483.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1383, allocations: 0 / 483.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005526/0.1388, allocations: 325.2 kB / 484.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1389, allocations: 8 kB / 484.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1389, allocations: 0 / 484.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1389, allocations: 11.98 kB / 484.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.1394, allocations: 131.8 kB / 484.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.1406, allocations: 2.368 MB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.1408, allocations: 31.69 kB / 486.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.1408, allocations: 19.98 kB / 486.7 MB, free: 14.06 MB / 366.1 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.0001708/0.141, allocations: 182.1 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.1411, allocations: 15.81 kB / 486.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007835/0.1419, allocations: 375.4 kB / 487.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1419, allocations: 4 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1419, allocations: 0 / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1419, allocations: 3.984 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.1423, allocations: 341.3 kB / 487.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1423, allocations: 0 / 487.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.1428, allocations: 127.8 kB / 487.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1428, allocations: 0 / 487.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.1428, allocations: 8 kB / 487.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.144, allocations: 2.36 MB / 490.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.144, allocations: 0 / 490.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.1446, allocations: 383.6 kB / 490.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.1447, allocations: 92.86 kB / 490.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.1447, allocations: 7.984 kB / 490.5 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1449, allocations: 16 kB / 490.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.1449, allocations: 23.97 kB / 490.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.145, allocations: 15.98 kB / 490.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.266e-05/0.1451, allocations: 103.2 kB / 490.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1451, allocations: 0 / 490.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009539/0.146, allocations: 239.5 kB / 490.9 MB, free: 9.613 MB / 366.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 (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.001705/0.1477, allocations: 1.144 MB / 492.1 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007539/0.1485, allocations: 303.6 kB / 492.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1485, allocations: 0.6875 kB / 492.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.1489, allocations: 184.3 kB / 492.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.1492, allocations: 8 kB / 492.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.1522, allocations: 3.191 MB / 495.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.1526, allocations: 0.8026 MB / 496.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.153, allocations: 101.7 kB / 496.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.1531, allocations: 91.39 kB / 496.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1531, allocations: 0 / 496.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.1752, allocations: 8.113 MB / 0.493 GB, free: 11.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/0.1756, allocations: 256.9 kB / 0.4933 GB, free: 11.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.286, allocations: 0 / 0.4933 GB, free: 11.44 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat