Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.0009067/0.0009066, allocations: 97.61 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001426, allocations: 199 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002839, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 63.47 MB / 481.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002333/0.1349, allocations: 1.849 MB / 483.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.1392, allocations: 3.045 MB / 486.6 MB, free: 332 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.1394, allocations: 8 kB / 486.6 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.1397, allocations: 75.56 kB / 486.6 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.1401, allocations: 131.3 kB / 486.8 MB, free: 116 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.1418, allocations: 0.7518 MB / 487.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006414/0.1425, allocations: 0.5982 MB / 488.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1426, allocations: 81.73 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.1429, allocations: 234.6 kB / 488.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.1433, allocations: 282.6 kB / 488.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.1434, allocations: 16 kB / 488.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.1459, allocations: 1.848 MB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1461, allocations: 139.2 kB / 490.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1462, allocations: 125.3 kB / 490.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.1477, allocations: 1.017 MB / 491.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1477, allocations: 0 / 491.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1477, allocations: 0 / 491.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1477, allocations: 0 / 491.8 MB, free: 11.02 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001491/0.1492, allocations: 0.9168 MB / 492.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1492, allocations: 12.03 kB / 492.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.1494, allocations: 143.9 kB / 492.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1495, allocations: 83.02 kB / 493 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.15, allocations: 350 kB / 493.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.15, allocations: 58 kB / 493.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.1502, allocations: 71.98 kB / 493.5 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.152, allocations: 1.225 MB / 494.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.152, allocations: 0 / 494.7 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/0.1521, allocations: 31.98 kB / 494.7 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.1522, allocations: 85.95 kB / 494.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.1545, allocations: 1.722 MB / 496.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/0.1587, allocations: 2.935 MB / 499.5 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008142/0.1596, allocations: 432 kB / 499.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.1598, allocations: 153.3 kB / 0.4883 GB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.1599, allocations: 12.27 kB / 0.4883 GB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1599, allocations: 34.83 kB / 0.4884 GB, free: 2.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.385e-06/0.1599, allocations: 0 / 0.4884 GB, free: 2.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009411/0.1609, allocations: 499.3 kB / 0.4888 GB, free: 2.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1609, allocations: 67.23 kB / 0.4889 GB, free: 1.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1611, allocations: 214.9 kB / 0.4891 GB, free: 1.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1611, allocations: 33.7 kB / 0.4891 GB, free: 1.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.1614, allocations: 374.2 kB / 0.4895 GB, free: 1.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.1615, allocations: 126.3 kB / 0.4896 GB, free: 1.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.1615, allocations: 16 kB / 0.4896 GB, free: 1.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1616, allocations: 334.8 kB / 0.4899 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.1619, allocations: 149 kB / 0.4901 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.1623, allocations: 346.3 kB / 0.4904 GB, free: 260 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.1626, allocations: 207.8 kB / 0.4906 GB, free: 52 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.1627, allocations: 4 kB / 0.4906 GB, free: 48 kB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009151/0.1636, allocations: 0.5488 MB / 0.4912 GB, free: 15.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1636, allocations: 11.94 kB / 0.4912 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1636, allocations: 8 kB / 0.4912 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1637, allocations: 8 kB / 0.4912 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.1643, allocations: 212.2 kB / 0.4914 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.1659, allocations: 2.997 MB / 0.4943 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.1662, allocations: 67.7 kB / 0.4944 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.1663, allocations: 35.98 kB / 0.4944 GB, free: 12.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003495/0.1666, allocations: 273.5 kB / 0.4947 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.1667, allocations: 19.72 kB / 0.4947 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1679, allocations: 0.5542 MB / 0.4952 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1679, allocations: 4 kB / 0.4952 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1679, allocations: 4 kB / 0.4952 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.1679, allocations: 0 / 0.4952 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.1695, allocations: 1.164 MB / 0.4964 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1695, allocations: 0 / 0.4964 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.1701, allocations: 184.1 kB / 0.4965 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.1701, allocations: 4 kB / 0.4966 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.1702, allocations: 15.98 kB / 0.4966 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.1719, allocations: 2.965 MB / 0.4995 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1719, allocations: 4 kB / 0.4995 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.1726, allocations: 0.4994 MB / 0.5 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/0.1727, allocations: 108.8 kB / 0.5001 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.1727, allocations: 12 kB / 0.5001 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1729, allocations: 19.98 kB / 0.5001 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.173, allocations: 39.86 kB / 0.5001 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.173, allocations: 23.98 kB / 0.5001 GB, free: 5.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1731, allocations: 131.2 kB / 0.5003 GB, free: 5.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1731, allocations: 3.938 kB / 0.5003 GB, free: 5.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00101/0.1742, allocations: 354.8 kB / 0.5006 GB, free: 5.414 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/0.1757, allocations: 1.3 MB / 0.5019 GB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1767, allocations: 476.5 kB / 0.5023 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1767, allocations: 8 kB / 0.5023 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.1773, allocations: 264.7 kB / 0.5026 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1777, allocations: 36.12 kB / 0.5026 GB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.1816, allocations: 2.706 MB / 0.5053 GB, free: 436 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2929/0.4745, allocations: 0.9793 MB / 0.5062 GB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006849/0.4752, allocations: 166.6 kB / 0.5064 GB, free: 41.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.4755, allocations: 210.1 kB / 0.5066 GB, free: 41.09 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4756, allocations: 0 / 0.5066 GB, free: 41.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/0.5189, allocations: 12.17 MB / 0.5185 GB, free: 38.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/0.5192, allocations: 273.1 kB / 0.5187 GB, free: 37.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/2.704, allocations: 1.188 kB / 0.5187 GB, free: 37.93 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat