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_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 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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001223/0.001223, allocations: 97.22 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.002097/0.002097, allocations: 173.9 kB / 16.57 MB, free: 6.391 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.905/1.905, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4174/0.4174, allocations: 43.54 MB / 314.5 MB, free: 8.781 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.0005898/0.0005903, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1469, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002235/0.1492, allocations: 1.35 MB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1506, allocations: 0.7495 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.1506, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.1509, allocations: 39.81 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.151, allocations: 39.88 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1512, allocations: 63.83 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1514, allocations: 103.8 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.1515, allocations: 17.38 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1516, allocations: 47.84 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1517, allocations: 55.72 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1517, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.152, allocations: 159.8 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.1521, allocations: 31.91 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.1521, allocations: 45.64 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1524, allocations: 131.7 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1524, allocations: 0 / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1524, allocations: 4 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1524, allocations: 0 / 445.7 MB, free: 10.1 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005895/0.153, allocations: 442.8 kB / 446.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1531, allocations: 15.97 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.597e-05/0.1531, allocations: 46.55 kB / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005083/0.1536, allocations: 63.75 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1539, allocations: 218.8 kB / 446.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1539, allocations: 16 kB / 446.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.154, allocations: 11.94 kB / 446.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.1544, allocations: 241.5 kB / 446.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1545, allocations: 0 / 446.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.1545, allocations: 11.94 kB / 446.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.1545, allocations: 19.78 kB / 446.8 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/0.155, allocations: 231.8 kB / 447 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.156, allocations: 0.7287 MB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1563, allocations: 94.45 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1563, allocations: 160 / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1563, allocations: 38.56 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1563, allocations: 0 / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005024/0.1568, allocations: 185.4 kB / 448 MB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1569, allocations: 55.41 kB / 448.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.157, allocations: 179.3 kB / 448.3 MB, free: 7.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1571, allocations: 29.7 kB / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.1572, allocations: 135.5 kB / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.1572, allocations: 31.58 kB / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.1572, allocations: 0 / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1573, allocations: 330.8 kB / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1575, allocations: 51.95 kB / 448.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1577, allocations: 98.81 kB / 448.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1578, allocations: 67.95 kB / 449 MB, free: 6.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1578, allocations: 0 / 449 MB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000367/0.1582, allocations: 193.3 kB / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1582, allocations: 11.94 kB / 449.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1582, allocations: 0 / 449.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1583, allocations: 4 kB / 449.2 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008429/0.1591, allocations: 112 kB / 449.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.1603, allocations: 1.809 MB / 451.1 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1604, allocations: 31.73 kB / 451.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.1605, allocations: 8.188 kB / 451.1 MB, free: 4.293 MB / 382.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.0001537/0.1606, allocations: 145.7 kB / 451.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.1607, allocations: 7.906 kB / 451.3 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.1611, allocations: 182.9 kB / 451.5 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1611, allocations: 4 kB / 451.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1611, allocations: 0 / 451.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1612, allocations: 7.984 kB / 451.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.1614, allocations: 233.4 kB / 451.7 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1614, allocations: 0 / 451.7 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/0.1621, allocations: 103.8 kB / 451.8 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1621, allocations: 3.938 kB / 451.8 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1622, allocations: 0 / 451.8 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.1632, allocations: 1.777 MB / 453.6 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1632, allocations: 4.281 kB / 453.6 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1635, allocations: 247.4 kB / 453.8 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.1636, allocations: 92.92 kB / 453.9 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.1637, allocations: 7.984 kB / 453.9 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1638, allocations: 12 kB / 454 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.1639, allocations: 7.984 kB / 454 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.1639, allocations: 0 / 454 MB, free: 1.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.164, allocations: 136.9 kB / 454.1 MB, free: 1.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.164, allocations: 0 / 454.1 MB, free: 1.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.1644, allocations: 55.86 kB / 454.1 MB, free: 1.121 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 (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.0006952/0.1651, allocations: 0.7981 MB / 454.9 MB, free: 304 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1663, allocations: 228 kB / 455.2 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1663, allocations: 0 / 455.2 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2418/0.4081, allocations: 115.6 kB / 455.3 MB, free: 46.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.4085, allocations: 34.78 kB / 455.3 MB, free: 46.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.4103, allocations: 2.09 MB / 457.4 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.4105, allocations: 0.7505 MB / 458.2 MB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.4106, allocations: 35.22 kB / 458.2 MB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.4107, allocations: 38.89 kB / 458.2 MB, free: 44.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4107, allocations: 2.656 kB / 458.2 MB, free: 44.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.4268, allocations: 4.562 MB / 462.8 MB, free: 43.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.427, allocations: 269 kB / 463.1 MB, free: 43.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.317, allocations: 0 / 463.1 MB, free: 43.41 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat