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.0009636/0.0009639, allocations: 92.56 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.001028/0.001029, allocations: 181.8 kB / 17.87 MB, free: 5.598 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.418/1.418, allocations: 223.2 MB / 241.8 MB, free: 400 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.2374/0.2374, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1171, allocations: 61.92 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.001875/0.119, allocations: 1.545 MB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1203, allocations: 0.967 MB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.1204, allocations: 7.938 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1206, allocations: 55.77 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1208, allocations: 63.81 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1211, allocations: 119.1 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1213, allocations: 191.5 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.502e-05/0.1214, allocations: 40.72 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1216, allocations: 83.56 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1217, allocations: 99.48 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1217, allocations: 8 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.1222, allocations: 311.6 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.1222, allocations: 47.8 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.1223, allocations: 69.58 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.1226, allocations: 275.7 kB / 475.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1226, allocations: 0 / 475.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1226, allocations: 7.875 kB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1227, allocations: 0 / 475.4 MB, free: 9.789 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.0005997/0.1233, allocations: 0.5229 MB / 475.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1233, allocations: 8.031 kB / 476 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.879e-05/0.1234, allocations: 86.52 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.1234, allocations: 31.62 kB / 476.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1237, allocations: 238.5 kB / 476.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1237, allocations: 28.95 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.1238, allocations: 28 kB / 476.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.1244, allocations: 0.4896 MB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1244, allocations: 3.984 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.1245, allocations: 16 kB / 476.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.1245, allocations: 28.98 kB / 476.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000599/0.1251, allocations: 431.7 kB / 477.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.1264, allocations: 1.201 MB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1266, allocations: 86.42 kB / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1267, allocations: 4 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1267, allocations: 30.72 kB / 478.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.545e-06/0.1267, allocations: 7.938 kB / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000481/0.1272, allocations: 165.5 kB / 478.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.1272, allocations: 55.41 kB / 478.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1274, allocations: 170.3 kB / 479 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1274, allocations: 25.7 kB / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1275, allocations: 219.2 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.1276, allocations: 27.64 kB / 479.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.1276, allocations: 4 kB / 479.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1277, allocations: 322.8 kB / 479.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1278, allocations: 63.89 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.128, allocations: 172.3 kB / 479.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1282, allocations: 88.19 kB / 479.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1282, allocations: 3.953 kB / 479.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004377/0.1287, allocations: 261.3 kB / 480.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1287, allocations: 7.984 kB / 480.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.1287, allocations: 8 kB / 480.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1287, allocations: 4 kB / 480.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.1291, allocations: 91.81 kB / 480.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008315/0.1299, allocations: 1.778 MB / 482.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.1301, allocations: 32.02 kB / 482.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1301, allocations: 20 kB / 482.1 MB, free: 2.668 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.0001813/0.1303, allocations: 184.2 kB / 482.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.1303, allocations: 7.906 kB / 482.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.1308, allocations: 210 kB / 482.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1309, allocations: 3.938 kB / 482.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1309, allocations: 0 / 482.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1309, allocations: 4 kB / 482.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.1312, allocations: 301.4 kB / 482.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1312, allocations: 3.953 kB / 482.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.1314, allocations: 59.95 kB / 482.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1314, allocations: 0 / 482.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1314, allocations: 4 kB / 482.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007878/0.1322, allocations: 1.77 MB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1322, allocations: 0 / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.1326, allocations: 235.6 kB / 484.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1327, allocations: 92.88 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1327, allocations: 3.938 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.1328, allocations: 7.984 kB / 485 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.1328, allocations: 12 kB / 485 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1329, allocations: 7.984 kB / 485 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.536e-05/0.133, allocations: 117.5 kB / 485.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.133, allocations: 0 / 485.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004925/0.1335, allocations: 95.62 kB / 485.2 MB, free: 15.41 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.0007088/0.1342, allocations: 0.8098 MB / 486 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.1347, allocations: 192.8 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1347, allocations: 0 / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.135, allocations: 95.92 kB / 486.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.1352, allocations: 11.92 kB / 486.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.1375, allocations: 3.937 MB / 490.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1379, allocations: 0.8063 MB / 491.1 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1381, allocations: 61.2 kB / 491.1 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.1381, allocations: 75.41 kB / 491.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1382, allocations: 3.938 kB / 491.2 MB, free: 9.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.1539, allocations: 4.717 MB / 495.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.1542, allocations: 280.3 kB / 496.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/1.934, allocations: 7.5 kB / 496.2 MB, free: 4.441 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