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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.000981/0.000981, allocations: 97.2 kB / 16.98 MB, free: 6.398 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.001654/0.001655, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.394/1.394, allocations: 223.2 MB / 241.8 MB, free: 384 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.2355/0.2355, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004654, allocations: 12 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 61.91 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002315/0.1301, allocations: 1.338 MB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1319, allocations: 0.7135 MB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1321, allocations: 0 / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.1324, allocations: 35.81 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.1326, allocations: 39.86 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.133, allocations: 70.66 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1333, allocations: 103.8 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.1333, allocations: 13.11 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1335, allocations: 47.8 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1337, allocations: 47.83 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1337, allocations: 4 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.1341, allocations: 163.8 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.1341, allocations: 27.91 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.1342, allocations: 45.64 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1345, allocations: 136 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1345, allocations: 4 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1345, allocations: 3.938 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1345, allocations: 0 / 474.3 MB, free: 10.83 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006525/0.1351, allocations: 438.8 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1352, allocations: 12.03 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.521e-05/0.1353, allocations: 50.55 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005345/0.1358, allocations: 63.73 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1361, allocations: 206.9 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1362, allocations: 19.94 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.1362, allocations: 12 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/0.1367, allocations: 239 kB / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1367, allocations: 4 kB / 475.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.1367, allocations: 7.984 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.1368, allocations: 23.97 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.1372, allocations: 235.8 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.1385, allocations: 0.7246 MB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.1387, allocations: 98.45 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1388, allocations: 0 / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1388, allocations: 30.56 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1388, allocations: 0 / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005546/0.1394, allocations: 197.5 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1394, allocations: 51.41 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1396, allocations: 203.1 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1397, allocations: 33.64 kB / 476.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.1398, allocations: 131.5 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1398, allocations: 23.66 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.1398, allocations: 4 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.14, allocations: 322.8 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1401, allocations: 47.95 kB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.1403, allocations: 106.8 kB / 477.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.1405, allocations: 67.94 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1405, allocations: 0 / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003974/0.1409, allocations: 193.2 kB / 477.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1409, allocations: 8 kB / 477.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1409, allocations: 0 / 477.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1409, allocations: 7.953 kB / 477.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/0.1419, allocations: 120 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1431, allocations: 1.805 MB / 479.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1433, allocations: 27.78 kB / 479.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.1433, allocations: 7.984 kB / 479.8 MB, free: 5.004 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 (14): * Single equations (assignments): 11 * 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.000145/0.1435, allocations: 149.9 kB / 479.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.1435, allocations: 7.906 kB / 479.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.144, allocations: 194.8 kB / 480.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.144, allocations: 7.953 kB / 480.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.144, allocations: 0 / 480.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.144, allocations: 0 / 480.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.1442, allocations: 221.6 kB / 480.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1443, allocations: 0 / 480.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.1449, allocations: 107.8 kB / 480.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1449, allocations: 0 / 480.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.145, allocations: 0 / 480.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009916/0.146, allocations: 1.781 MB / 482.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.146, allocations: 0 / 482.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.1463, allocations: 243.6 kB / 482.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.1464, allocations: 104.9 kB / 482.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1464, allocations: 0 / 482.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1466, allocations: 8 kB / 482.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.1467, allocations: 19.94 kB / 482.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1467, allocations: 0 / 482.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1468, allocations: 143.9 kB / 482.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1468, allocations: 0 / 482.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.1471, allocations: 39.91 kB / 482.8 MB, free: 1.836 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 (11): * Single equations (assignments): 8 * 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.0006825/0.1478, allocations: 0.7982 MB / 483.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.149, allocations: 232 kB / 483.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.149, allocations: 0 / 483.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000625/0.1496, allocations: 111.9 kB / 483.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.15, allocations: 39.92 kB / 484 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1522, allocations: 2.086 MB / 486.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1525, allocations: 0.7436 MB / 486.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.1527, allocations: 37.34 kB / 486.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.1528, allocations: 43.42 kB / 486.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1528, allocations: 0 / 486.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.1682, allocations: 4.547 MB / 491.4 MB, free: 9.363 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.1684, allocations: 273.5 kB / 491.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/1.964, allocations: 2.969 kB / 491.7 MB, free: 9.004 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat