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.0009107/0.0009108, allocations: 93.72 kB / 17 MB, free: 6.797 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.000902/0.000902, allocations: 184.4 kB / 17.89 MB, free: 6.055 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.446/1.446, allocations: 223.2 MB / 241.9 MB, free: 364 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.212/0.212, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003041, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001954/0.1353, allocations: 1.361 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1365, allocations: 0.7407 MB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.1366, allocations: 4 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.1368, allocations: 23.83 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.137, allocations: 59.73 kB / 473.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1372, allocations: 63.8 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1374, allocations: 187.2 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.1375, allocations: 21.09 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1376, allocations: 59.72 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1377, allocations: 71.69 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1378, allocations: 4 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.1381, allocations: 147.8 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.1381, allocations: 35.88 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.1382, allocations: 53.58 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1384, allocations: 139.9 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1384, allocations: 3.938 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1384, allocations: 0 / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1384, allocations: 0 / 474.6 MB, free: 10.66 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.0005237/0.1389, allocations: 442.8 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.139, allocations: 12.02 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.1391, allocations: 54.53 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.1395, allocations: 63.75 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1397, allocations: 206.9 kB / 475.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1397, allocations: 11.95 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1398, allocations: 12 kB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.1402, allocations: 243 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1402, allocations: 4 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1402, allocations: 0 / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.1403, allocations: 23.98 kB / 475.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.1407, allocations: 231.8 kB / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1417, allocations: 0.7324 MB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1419, allocations: 90.5 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1421, allocations: 56.91 kB / 476.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1421, allocations: 15.92 kB / 476.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1421, allocations: 34.52 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1421, allocations: 0 / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000464/0.1426, allocations: 177.5 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1427, allocations: 59.34 kB / 477.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1428, allocations: 187.2 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1428, allocations: 29.7 kB / 477.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.1429, allocations: 135.5 kB / 477.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.143, allocations: 35.62 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.143, allocations: 0 / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1431, allocations: 326.8 kB / 477.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1432, allocations: 51.89 kB / 477.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1434, allocations: 110.4 kB / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1435, allocations: 63.95 kB / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1435, allocations: 0 / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003513/0.1439, allocations: 193.2 kB / 478.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1439, allocations: 8 kB / 478.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1439, allocations: 4.344 kB / 478.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1439, allocations: 4 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/0.1447, allocations: 112 kB / 478.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.1459, allocations: 1.813 MB / 480.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.146, allocations: 35.77 kB / 480.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.146, allocations: 4 kB / 480.1 MB, free: 4.773 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.0001241/0.1461, allocations: 143.9 kB / 480.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.1462, allocations: 11.84 kB / 480.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004294/0.1466, allocations: 202.7 kB / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1466, allocations: 4 kB / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1466, allocations: 0 / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1467, allocations: 0 / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.1469, allocations: 233.6 kB / 480.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1469, allocations: 0 / 480.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.1475, allocations: 95.89 kB / 480.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1475, allocations: 3.984 kB / 480.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1476, allocations: 0 / 480.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009772/0.1485, allocations: 1.793 MB / 482.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1486, allocations: 0 / 482.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1489, allocations: 247.4 kB / 482.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.149, allocations: 88.95 kB / 482.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.149, allocations: 8 kB / 482.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1492, allocations: 7.984 kB / 483 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1492, allocations: 11.94 kB / 483 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.1492, allocations: 8 kB / 483 MB, free: 1.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1493, allocations: 135.9 kB / 483.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1493, allocations: 0 / 483.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.1496, allocations: 43.91 kB / 483.1 MB, free: 1.598 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.0006504/0.1503, allocations: 0.7902 MB / 483.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.1513, allocations: 224 kB / 484.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1514, allocations: 4 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.1519, allocations: 115.9 kB / 484.3 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1523, allocations: 44.41 kB / 484.3 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1538, allocations: 1.052 MB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.1541, allocations: 0.7358 MB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.1542, allocations: 41.34 kB / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.1543, allocations: 39.42 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1543, allocations: 0 / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.1849, allocations: 4.567 MB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003492/0.1853, allocations: 274.9 kB / 491 MB, free: 9.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.141, allocations: 4 kB / 491 MB, free: 9.812 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