Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.0009009/0.0009008, allocations: 102.2 kB / 16.99 MB, free: 5.941 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.0009486/0.0009487, allocations: 183.1 kB / 17.87 MB, free: 5.609 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.458/1.458, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.1953/0.1953, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1109, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002088/0.1131, allocations: 1.321 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1143, allocations: 0.7837 MB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.1144, allocations: 3.938 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1146, allocations: 23.91 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1148, allocations: 35.86 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.1152, allocations: 107.7 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1154, allocations: 87.8 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.1155, allocations: 17.44 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.1155, allocations: 43.78 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.1156, allocations: 43.84 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1157, allocations: 8 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.116, allocations: 203.6 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.1161, allocations: 31.89 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.1162, allocations: 53.52 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1164, allocations: 155.9 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1164, allocations: 0 / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1164, allocations: 0 / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.1165, allocations: 0 / 474.5 MB, free: 10.68 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005516/0.117, allocations: 450.8 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1171, allocations: 12.03 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.1171, allocations: 50.55 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.1182, allocations: 115.6 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1184, allocations: 226.8 kB / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1184, allocations: 15.89 kB / 475.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.1185, allocations: 8 kB / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.1191, allocations: 333.8 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1191, allocations: 3.938 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.1192, allocations: 4 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/0.1192, allocations: 19.98 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.12, allocations: 339.7 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.1214, allocations: 0.8337 MB / 476.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.1221, allocations: 226.4 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1221, allocations: 4 kB / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1222, allocations: 30.56 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1222, allocations: 0 / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001011/0.1232, allocations: 313.6 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1232, allocations: 51.41 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1234, allocations: 195.3 kB / 477.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1235, allocations: 25.8 kB / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.1236, allocations: 139.5 kB / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1236, allocations: 35.48 kB / 477.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.1236, allocations: 4 kB / 477.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1238, allocations: 326.8 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.1241, allocations: 87.89 kB / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.1244, allocations: 141.1 kB / 478.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.1247, allocations: 103.8 kB / 478.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.1247, allocations: 4 kB / 478.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007279/0.1255, allocations: 285 kB / 478.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1255, allocations: 4 kB / 478.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1255, allocations: 4 kB / 478.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1255, allocations: 3.953 kB / 478.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.126, allocations: 84.06 kB / 478.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008834/0.1269, allocations: 1.789 MB / 480.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.1271, allocations: 19.83 kB / 480.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.1271, allocations: 15.98 kB / 480.7 MB, free: 4.094 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.1273, allocations: 149.7 kB / 480.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.1273, allocations: 15.8 kB / 480.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007863/0.1281, allocations: 274.8 kB / 481.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.1281, allocations: 7.953 kB / 481.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1281, allocations: 4 kB / 481.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1281, allocations: 0 / 481.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.1284, allocations: 257.5 kB / 481.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1285, allocations: 0 / 481.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.1288, allocations: 63.91 kB / 481.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1288, allocations: 0 / 481.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.1289, allocations: 15.97 kB / 481.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008999/0.1298, allocations: 1.789 MB / 483.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1298, allocations: 0 / 483.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.1305, allocations: 327.4 kB / 483.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.1306, allocations: 89 kB / 483.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.1306, allocations: 0 / 483.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.1308, allocations: 23.98 kB / 483.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.1309, allocations: 19.86 kB / 483.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1309, allocations: 7.984 kB / 483.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.131, allocations: 139.9 kB / 483.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.131, allocations: 0 / 483.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.1314, allocations: 63.83 kB / 483.9 MB, free: 0.7109 MB / 350.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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/0.1325, allocations: 0.8802 MB / 484.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008066/0.1333, allocations: 248 kB / 485 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1334, allocations: 4 kB / 485 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.1338, allocations: 131.8 kB / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.134, allocations: 15.94 kB / 485.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.1366, allocations: 2.245 MB / 487.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.137, allocations: 0.7436 MB / 488.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.1372, allocations: 73.45 kB / 488.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1374, allocations: 55.38 kB / 488.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1374, allocations: 0 / 488.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.1534, allocations: 4.318 MB / 492.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.1537, allocations: 263.1 kB / 492.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/1.919, allocations: 4.062 kB / 492.9 MB, free: 7.781 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat