Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002059/0.002059, allocations: 182.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 92.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5332/0.5332, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 16 kB / 431.5 MB, free: 6.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1389, allocations: 58.85 MB / 490.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002889/0.1418, allocations: 1.473 MB / 491.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1434, allocations: 0.5574 MB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1436, allocations: 0 / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1439, allocations: 47.75 kB / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1442, allocations: 59.81 kB / 492.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.1446, allocations: 83.8 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.145, allocations: 155.6 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.1451, allocations: 28.3 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1452, allocations: 67.7 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1454, allocations: 83.55 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.1454, allocations: 4 kB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.1461, allocations: 219.8 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.1462, allocations: 55.69 kB / 493.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.1463, allocations: 65.56 kB / 493.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.1468, allocations: 207.8 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1468, allocations: 0 / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1468, allocations: 0 / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1468, allocations: 0 / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009027/0.1477, allocations: 499 kB / 493.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.1478, allocations: 11.97 kB / 493.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.849e-05/0.1479, allocations: 66.53 kB / 494 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.1512, allocations: 203.4 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.1518, allocations: 270.6 kB / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.1519, allocations: 20.55 kB / 494.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-05/0.152, allocations: 20 kB / 494.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.1537, allocations: 0.5005 MB / 495 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1538, allocations: 0 / 495 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/0.1539, allocations: 12 kB / 495 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/0.154, allocations: 24.55 kB / 495 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.1565, allocations: 0.5915 MB / 495.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/0.1605, allocations: 1.177 MB / 496.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.1619, allocations: 178.4 kB / 497 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.162, allocations: 0 / 497 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.162, allocations: 30.56 kB / 497 MB, free: 4.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.162, allocations: 0 / 497 MB, free: 4.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.002348/0.1644, allocations: 325 kB / 497.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.1645, allocations: 55.41 kB / 497.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.1649, allocations: 274.5 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.165, allocations: 29.69 kB / 497.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.1652, allocations: 222.1 kB / 497.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.1653, allocations: 27.64 kB / 497.9 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1653, allocations: 8 kB / 497.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1654, allocations: 318.8 kB / 498.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/0.1662, allocations: 91.91 kB / 498.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.167, allocations: 119.3 kB / 498.4 MB, free: 2.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.1677, allocations: 103.9 kB / 498.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1677, allocations: 0 / 498.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001595/0.1693, allocations: 265.2 kB / 498.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.1694, allocations: 4 kB / 498.8 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.1694, allocations: 8.094 kB / 498.8 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1694, allocations: 0 / 498.8 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01191/0.1814, allocations: 467.2 kB / 499.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3194/0.5008, allocations: 1.943 MB / 0.4895 GB, free: 42.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008156/0.5017, allocations: 49.06 kB / 0.4895 GB, free: 42.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.5017, allocations: 7.984 kB / 0.4895 GB, free: 42.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002648/0.502, allocations: 155.7 kB / 0.4897 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.5021, allocations: 20.38 kB / 0.4897 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.528e-05/0.5022, allocations: 25.36 kB / 0.4897 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.5022, allocations: 5.156 kB / 0.4897 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5022, allocations: 0 / 0.4897 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5023, allocations: 0.5156 kB / 0.4897 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.5028, allocations: 295.9 kB / 0.49 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5028, allocations: 1.562 kB / 0.49 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01168/0.5145, allocations: 456.7 kB / 0.4904 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.5146, allocations: 0.7031 kB / 0.4904 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/0.5147, allocations: 6.812 kB / 0.4904 GB, free: 42.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/0.5191, allocations: 1.946 MB / 0.4923 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5191, allocations: 0 / 0.4923 GB, free: 40.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.5207, allocations: 333.9 kB / 0.4927 GB, free: 40.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.5208, allocations: 96.2 kB / 0.4927 GB, free: 40.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.5209, allocations: 1.797 kB / 0.4927 GB, free: 40.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/0.5216, allocations: 26.67 kB / 0.4928 GB, free: 40.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.5217, allocations: 9.922 kB / 0.4928 GB, free: 40.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.5217, allocations: 5.516 kB / 0.4928 GB, free: 40.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003113/0.5221, allocations: 207.2 kB / 0.493 GB, free: 40.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5221, allocations: 0 / 0.493 GB, free: 40.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005415/0.5226, allocations: 73.34 kB / 0.4931 GB, free: 40.46 MB / 378.7 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.002324/0.525, allocations: 0.8758 MB / 0.4939 GB, free: 39.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01314/0.5382, allocations: 0.6071 MB / 0.4945 GB, free: 39.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.5382, allocations: 0 / 0.4945 GB, free: 39.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0123/0.5506, allocations: 0.4968 MB / 0.495 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.5511, allocations: 41.47 kB / 0.495 GB, free: 39.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005588/0.5567, allocations: 2.144 MB / 0.4971 GB, free: 38.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.557, allocations: 0.7825 MB / 0.4979 GB, free: 38.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.5573, allocations: 71.94 kB / 0.498 GB, free: 38.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5573, allocations: 0 / 0.498 GB, free: 38.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.928/3.486, allocations: 7.639 MB / 0.5054 GB, free: 37.68 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat