Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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 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 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 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4032/0.4032, allocations: 43.55 MB / 314.5 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005782, allocations: 14.97 kB / 384 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1493, allocations: 58.86 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002004/0.1514, allocations: 1.475 MB / 444.3 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009285/0.1523, allocations: 0.5497 MB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.1524, allocations: 0 / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1526, allocations: 39.75 kB / 444.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.1528, allocations: 63.81 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1531, allocations: 87.75 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1533, allocations: 159.6 kB / 445.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.756e-05/0.1534, allocations: 32.28 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.1535, allocations: 67.69 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1536, allocations: 75.62 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1536, allocations: 8 kB / 445.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.1539, allocations: 223.7 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.154, allocations: 43.83 kB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.1541, allocations: 61.58 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1543, allocations: 207.8 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1544, allocations: 0 / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1544, allocations: 0 / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1544, allocations: 4 kB / 445.9 MB, free: 10.07 MB / 382.1 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.0006084/0.155, allocations: 0.4951 MB / 446.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.155, allocations: 8.031 kB / 446.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.1551, allocations: 66.53 kB / 446.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.1568, allocations: 207.3 kB / 446.7 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.1572, allocations: 266.6 kB / 447 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1572, allocations: 12.56 kB / 447 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.1573, allocations: 24 kB / 447 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/0.1582, allocations: 0.5005 MB / 447.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1582, allocations: 3.938 kB / 447.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.1583, allocations: 4 kB / 447.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/0.1583, allocations: 28.55 kB / 447.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.1596, allocations: 0.5915 MB / 448.1 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.1617, allocations: 1.181 MB / 449.3 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.1624, allocations: 178.4 kB / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1624, allocations: 0 / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.1624, allocations: 38.56 kB / 449.5 MB, free: 6.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1624, allocations: 0 / 449.5 MB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001213/0.1637, allocations: 329.1 kB / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1637, allocations: 55.34 kB / 449.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.164, allocations: 274.6 kB / 450.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.164, allocations: 25.7 kB / 450.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1641, allocations: 167.5 kB / 450.4 MB, free: 5.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.1642, allocations: 27.64 kB / 450.4 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.1642, allocations: 0 / 450.4 MB, free: 5.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1643, allocations: 330.8 kB / 450.7 MB, free: 5.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.1647, allocations: 99.89 kB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.1651, allocations: 123.3 kB / 450.9 MB, free: 4.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.1654, allocations: 107.8 kB / 451 MB, free: 4.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1654, allocations: 0 / 451 MB, free: 4.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008008/0.1662, allocations: 269.2 kB / 451.3 MB, free: 4.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1663, allocations: 4 kB / 451.3 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1663, allocations: 0 / 451.3 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1663, allocations: 4 kB / 451.3 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005833/0.1721, allocations: 475.3 kB / 451.8 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.1748, allocations: 1.945 MB / 453.7 MB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.1753, allocations: 55.64 kB / 453.8 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.1753, allocations: 8 kB / 453.8 MB, free: 1.879 MB / 382.1 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.0002052/0.1755, allocations: 161.7 kB / 453.9 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.1756, allocations: 15.91 kB / 454 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.1756, allocations: 29.64 kB / 454 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1757, allocations: 0 / 454 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.1757, allocations: 3.953 kB / 454 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1757, allocations: 0 / 454 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.176, allocations: 289.5 kB / 454.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1761, allocations: 4 kB / 454.3 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005621/0.1817, allocations: 455.3 kB / 454.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.1817, allocations: 4 kB / 454.7 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.1817, allocations: 7.984 kB / 454.7 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2535/0.4352, allocations: 1.939 MB / 456.7 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.4353, allocations: 0 / 456.7 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/0.4362, allocations: 338.6 kB / 457 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.4363, allocations: 93.62 kB / 457.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.4363, allocations: 9.609 kB / 457.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.4367, allocations: 23 kB / 457.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4368, allocations: 12.73 kB / 457.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.4368, allocations: 5.984 kB / 457.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.4371, allocations: 206 kB / 457.3 MB, free: 45.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4371, allocations: 0 / 457.3 MB, free: 45.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.4375, allocations: 63.69 kB / 457.4 MB, free: 45.69 MB / 382.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.001075/0.4386, allocations: 0.8751 MB / 458.3 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005898/0.4445, allocations: 0.6053 MB / 458.9 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.4445, allocations: 0 / 458.9 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0054/0.4499, allocations: 0.4998 MB / 459.4 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.4504, allocations: 36.84 kB / 459.4 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.4535, allocations: 2.128 MB / 461.5 MB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.4538, allocations: 0.7887 MB / 462.3 MB, free: 43.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.454, allocations: 56.69 kB / 462.4 MB, free: 43.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4541, allocations: 65.61 kB / 462.5 MB, free: 43.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4541, allocations: 0 / 462.5 MB, free: 43.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.4732, allocations: 7.192 MB / 469.6 MB, free: 42.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.4734, allocations: 280.1 kB / 469.9 MB, free: 42.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.582, allocations: 4 kB / 469.9 MB, free: 42.4 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat