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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.0009303/0.0009303, allocations: 97.28 kB / 17 MB, free: 6.129 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.001229/0.001229, allocations: 179.5 kB / 17.89 MB, free: 5.711 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.502/1.502, allocations: 223.2 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.22 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.00031, allocations: 8.219 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1133, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002629/0.116, allocations: 1.582 MB / 473.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1177, allocations: 1.01 MB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.1178, allocations: 0 / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1182, allocations: 55.73 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1184, allocations: 75.58 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.1187, allocations: 115.5 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.1191, allocations: 294.3 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.1192, allocations: 32.73 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1194, allocations: 95.45 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1196, allocations: 115.4 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1196, allocations: 8 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005433/0.1202, allocations: 299.5 kB / 475.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.1202, allocations: 55.69 kB / 475.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.1203, allocations: 65.52 kB / 475.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1207, allocations: 299.4 kB / 475.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1207, allocations: 4 kB / 475.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1207, allocations: 0 / 475.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1207, allocations: 0 / 475.8 MB, free: 9.523 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007114/0.1215, allocations: 0.5268 MB / 476.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1215, allocations: 8.031 kB / 476.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.179e-05/0.1216, allocations: 74.52 kB / 476.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.1216, allocations: 31.62 kB / 476.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.122, allocations: 242.5 kB / 476.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.122, allocations: 28.95 kB / 476.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.1221, allocations: 39.98 kB / 476.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009586/0.1231, allocations: 0.4896 MB / 477.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1231, allocations: 0 / 477.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.1231, allocations: 8 kB / 477.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.1232, allocations: 32.98 kB / 477.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006761/0.1238, allocations: 431.7 kB / 477.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.1254, allocations: 1.174 MB / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1256, allocations: 90.42 kB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1257, allocations: 52.83 kB / 479 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.1258, allocations: 3.984 kB / 479 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1258, allocations: 30.72 kB / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.1258, allocations: 0 / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006788/0.1265, allocations: 177.4 kB / 479.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.1265, allocations: 51.41 kB / 479.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1268, allocations: 166.3 kB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1268, allocations: 29.7 kB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.127, allocations: 219.2 kB / 479.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.127, allocations: 31.64 kB / 479.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.127, allocations: 4 kB / 479.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1272, allocations: 322.8 kB / 480 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.1273, allocations: 51.95 kB / 480 MB, free: 4.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.1277, allocations: 168.3 kB / 480.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.1279, allocations: 100.1 kB / 480.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1279, allocations: 4 kB / 480.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004721/0.1284, allocations: 257.5 kB / 480.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.1285, allocations: 12.06 kB / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1285, allocations: 4 kB / 480.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.1285, allocations: 11.98 kB / 480.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.1289, allocations: 87.91 kB / 480.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.1302, allocations: 1.778 MB / 482.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.1303, allocations: 39.67 kB / 482.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.1304, allocations: 16 kB / 482.5 MB, free: 2.367 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0003419/0.1307, allocations: 182.3 kB / 482.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1307, allocations: 7.906 kB / 482.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006299/0.1314, allocations: 202.1 kB / 482.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1314, allocations: 0 / 482.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1314, allocations: 3.938 kB / 482.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1314, allocations: 4 kB / 482.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.1319, allocations: 297.4 kB / 483.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1319, allocations: 3.984 kB / 483.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.1321, allocations: 59.98 kB / 483.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1321, allocations: 0 / 483.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1321, allocations: 15.98 kB / 483.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009025/0.133, allocations: 1.77 MB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1331, allocations: 0 / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1334, allocations: 223.7 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1334, allocations: 96.88 kB / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1335, allocations: 0 / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.1336, allocations: 11.98 kB / 485.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.1336, allocations: 11.98 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1336, allocations: 8 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.272e-05/0.1337, allocations: 113.5 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1337, allocations: 0 / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005225/0.1343, allocations: 99.62 kB / 485.6 MB, free: 15.12 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 (7): * Single equations (assignments): 4 * 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.000973/0.1352, allocations: 0.8097 MB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.1358, allocations: 192.8 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1358, allocations: 0 / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.1361, allocations: 95.88 kB / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.1364, allocations: 11.94 kB / 486.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1383, allocations: 1.227 MB / 487.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.1389, allocations: 0.7985 MB / 488.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.1391, allocations: 61.25 kB / 488.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.1393, allocations: 79.41 kB / 488.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1393, allocations: 0 / 488.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.1567, allocations: 4.837 MB / 493.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/0.157, allocations: 287.1 kB / 494 MB, free: 6.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.179, allocations: 6.859 kB / 494 MB, free: 6.793 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat