Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001004/0.001004, allocations: 100.9 kB / 17.01 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 193.9 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2441/0.2441, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 11.92 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 63.47 MB / 481.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002117/0.1464, allocations: 1.51 MB / 483.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.1502, allocations: 2.682 MB / 485.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.1503, allocations: 4 kB / 485.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.1506, allocations: 35.81 kB / 485.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.1509, allocations: 75.59 kB / 486 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.1526, allocations: 0.627 MB / 486.6 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.153, allocations: 266.8 kB / 486.9 MB, free: 48 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.1531, allocations: 28.39 kB / 486.9 MB, free: 24 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.1534, allocations: 107.5 kB / 487 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.1536, allocations: 119.5 kB / 487.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.1537, allocations: 4 kB / 487.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.1556, allocations: 1.162 MB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1558, allocations: 67.69 kB / 488.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.1558, allocations: 65.41 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.1568, allocations: 0.5615 MB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1569, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1569, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1569, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009996/0.1579, allocations: 0.6355 MB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1579, allocations: 12.03 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.976e-05/0.1581, allocations: 78.52 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.1581, allocations: 31.58 kB / 489.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1584, allocations: 242.6 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1584, allocations: 16.56 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.1585, allocations: 28 kB / 490 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.1592, allocations: 471.3 kB / 490.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1592, allocations: 0 / 490.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.1593, allocations: 16 kB / 490.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.095e-05/0.1593, allocations: 40.97 kB / 490.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008207/0.1602, allocations: 0.5659 MB / 491.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.162, allocations: 1.307 MB / 492.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.1625, allocations: 280.8 kB / 492.7 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.1627, allocations: 104.8 kB / 492.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.1628, allocations: 8.375 kB / 492.8 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1628, allocations: 38.56 kB / 492.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 4.137e-06/0.1628, allocations: 0 / 492.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007333/0.1636, allocations: 353 kB / 493.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1636, allocations: 55.41 kB / 493.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1637, allocations: 140.7 kB / 493.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1638, allocations: 25.7 kB / 493.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1639, allocations: 195.7 kB / 493.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.164, allocations: 90.75 kB / 493.7 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.164, allocations: 12 kB / 493.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1641, allocations: 326.8 kB / 494 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.1643, allocations: 87.92 kB / 494.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1646, allocations: 185.9 kB / 494.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1648, allocations: 115.9 kB / 494.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1648, allocations: 0 / 494.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005872/0.1654, allocations: 329.1 kB / 494.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1655, allocations: 11.92 kB / 494.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1655, allocations: 4.344 kB / 494.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1655, allocations: 8 kB / 494.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.166, allocations: 119.9 kB / 494.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.1673, allocations: 2.367 MB / 497.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.1675, allocations: 35.67 kB / 497.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.1675, allocations: 12.28 kB / 497.2 MB, free: 5.227 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.1677, allocations: 177.7 kB / 497.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.1678, allocations: 15.81 kB / 497.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.1686, allocations: 374.3 kB / 497.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1686, allocations: 4 kB / 497.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1686, allocations: 3.953 kB / 497.8 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1686, allocations: 3.984 kB / 497.8 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.169, allocations: 341.3 kB / 498.1 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.169, allocations: 0 / 498.1 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.1694, allocations: 107.9 kB / 498.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1694, allocations: 0 / 498.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.1695, allocations: 12 kB / 498.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.1707, allocations: 2.364 MB / 0.4889 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1707, allocations: 0 / 0.4889 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.1713, allocations: 388.6 kB / 0.4893 GB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.1714, allocations: 96.8 kB / 0.4893 GB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.1714, allocations: 7.953 kB / 0.4894 GB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1716, allocations: 15.98 kB / 0.4894 GB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.1717, allocations: 23.97 kB / 0.4894 GB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.1717, allocations: 8 kB / 0.4894 GB, free: 1.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.782e-05/0.1718, allocations: 103.2 kB / 0.4895 GB, free: 1.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1718, allocations: 4 kB / 0.4895 GB, free: 1.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007931/0.1726, allocations: 243.4 kB / 0.4897 GB, free: 0.7812 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/0.174, allocations: 1.158 MB / 0.4909 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007715/0.1748, allocations: 309 kB / 0.4912 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1748, allocations: 0 / 0.4912 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.1753, allocations: 188.2 kB / 0.4913 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1756, allocations: 19.95 kB / 0.4914 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.1785, allocations: 1.519 MB / 0.4928 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.1789, allocations: 0.7987 MB / 0.4936 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003235/0.1792, allocations: 101.7 kB / 0.4937 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.1794, allocations: 95.39 kB / 0.4938 GB, free: 12.48 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1794, allocations: 0 / 0.4938 GB, free: 12.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.2015, allocations: 8.335 MB / 0.502 GB, free: 4.391 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.2017, allocations: 269.3 kB / 0.5022 GB, free: 4.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.388, allocations: 3.609 kB / 0.5022 GB, free: 4.031 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat