Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001022, allocations: 100.6 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 45.92 MB / 344 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002973, allocations: 11.98 kB / 418.1 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1376, allocations: 63.46 MB / 481.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.00197/0.1396, allocations: 1.451 MB / 483 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1409, allocations: 0.8813 MB / 483.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.141, allocations: 4 kB / 483.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.1412, allocations: 47.78 kB / 483.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.1414, allocations: 55.78 kB / 484 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1416, allocations: 95.67 kB / 484.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.1418, allocations: 151.7 kB / 484.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.1419, allocations: 17.69 kB / 484.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.142, allocations: 71.69 kB / 484.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1421, allocations: 87.61 kB / 484.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1421, allocations: 4 kB / 484.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.1425, allocations: 203.7 kB / 484.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.1425, allocations: 51.83 kB / 484.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.1426, allocations: 57.58 kB / 484.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1429, allocations: 191.9 kB / 484.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1429, allocations: 0 / 484.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1429, allocations: 0 / 484.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1429, allocations: 0 / 484.9 MB, free: 1.848 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006926/0.1436, allocations: 0.5067 MB / 485.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1436, allocations: 12.03 kB / 485.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.531e-05/0.1437, allocations: 62.52 kB / 485.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007701/0.1445, allocations: 131.5 kB / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1448, allocations: 262.5 kB / 485.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1448, allocations: 20.42 kB / 485.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1449, allocations: 20 kB / 485.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/0.1455, allocations: 429.9 kB / 486.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1456, allocations: 3.938 kB / 486.3 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.1456, allocations: 8 kB / 486.3 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.1456, allocations: 32.53 kB / 486.4 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.1463, allocations: 401.8 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.1482, allocations: 1.477 MB / 488.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.1485, allocations: 102.4 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1485, allocations: 4.141 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1486, allocations: 34.56 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.1486, allocations: 0 / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006318/0.1492, allocations: 205.5 kB / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1493, allocations: 55.41 kB / 488.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.1496, allocations: 326.6 kB / 488.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1497, allocations: 29.69 kB / 489 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1498, allocations: 175.3 kB / 489.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1499, allocations: 27.64 kB / 489.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.1499, allocations: 4 kB / 489.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1501, allocations: 338.8 kB / 489.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.1503, allocations: 79.88 kB / 489.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.1505, allocations: 117.9 kB / 489.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.1507, allocations: 87.94 kB / 489.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1507, allocations: 0 / 489.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005244/0.1513, allocations: 261 kB / 490 MB, free: 12.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1513, allocations: 8 kB / 490 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1513, allocations: 0 / 490 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1513, allocations: 4 kB / 490 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.1528, allocations: 120 kB / 490.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.1546, allocations: 1.844 MB / 492 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.1549, allocations: 43.61 kB / 492 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1549, allocations: 4 kB / 492 MB, free: 10.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001668/0.1551, allocations: 160 kB / 492.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.1552, allocations: 23.8 kB / 492.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.1557, allocations: 211 kB / 492.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1557, allocations: 4 kB / 492.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1557, allocations: 3.953 kB / 492.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1557, allocations: 0 / 492.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.156, allocations: 269.5 kB / 492.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1561, allocations: 0 / 492.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.1572, allocations: 103.9 kB / 492.8 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.1572, allocations: 4 kB / 492.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1572, allocations: 0 / 492.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.1584, allocations: 1.786 MB / 494.6 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1584, allocations: 11.88 kB / 494.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.1589, allocations: 275.2 kB / 494.9 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.1589, allocations: 100.8 kB / 495 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.159, allocations: 4 kB / 495 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.1592, allocations: 11.98 kB / 495 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.1592, allocations: 4 kB / 495 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1593, allocations: 4 kB / 495 MB, free: 7.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.1595, allocations: 249.9 kB / 495.2 MB, free: 6.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1595, allocations: 4 kB / 495.2 MB, free: 6.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1599, allocations: 67.84 kB / 495.3 MB, free: 6.852 MB / 366.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.0007531/0.1606, allocations: 0.8102 MB / 496.1 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.1628, allocations: 263.7 kB / 496.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1629, allocations: 4 kB / 496.4 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009557/0.1638, allocations: 120.1 kB / 496.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.1642, allocations: 40.44 kB / 496.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.1669, allocations: 2.525 MB / 499.1 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1672, allocations: 0.7946 MB / 499.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.1674, allocations: 54.19 kB / 499.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1675, allocations: 67.42 kB / 500 MB, free: 2.059 MB / 366.1 MB Notification: Performance of SimCode: time 2.434e-06/0.1675, allocations: 0 / 500 MB, free: 2.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.1882, allocations: 7.052 MB / 0.4951 GB, free: 11.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003966/0.1887, allocations: 255.1 kB / 0.4954 GB, free: 10.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.292, allocations: 0 / 0.4954 GB, free: 10.94 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat