Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_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.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_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.001044/0.001044, allocations: 102.4 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.001368/0.001368, allocations: 201 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.388/1.388, 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.2307/0.2307, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.0002932, allocations: 4 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 63.48 MB / 481.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.002574/0.1254, allocations: 1.986 MB / 483.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.1284, allocations: 1.551 MB / 485.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.1287, allocations: 4 kB / 485.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.129, allocations: 83.52 kB / 485.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1294, allocations: 163.5 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.1301, allocations: 291.3 kB / 485.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008434/0.131, allocations: 0.787 MB / 486.4 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.1312, allocations: 207.6 kB / 486.6 MB, free: 160 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005259/0.1318, allocations: 393.9 kB / 487 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/0.1323, allocations: 489.3 kB / 487.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.532e-05/0.1324, allocations: 28 kB / 487.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.1338, allocations: 0.8854 MB / 488.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.134, allocations: 242.8 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.1343, allocations: 232.8 kB / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.1357, allocations: 1.259 MB / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1357, allocations: 4 kB / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1357, allocations: 0 / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1358, allocations: 0 / 490.1 MB, free: 12.64 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.002012/0.1378, allocations: 1.469 MB / 491.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1378, allocations: 8.031 kB / 491.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003399/0.1382, allocations: 316.4 kB / 491.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/0.1384, allocations: 177.8 kB / 492.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1395, allocations: 0.6178 MB / 492.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.1396, allocations: 143.8 kB / 492.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.1398, allocations: 180 kB / 493 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/0.1435, allocations: 2.766 MB / 495.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.1435, allocations: 0 / 495.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.1437, allocations: 75.98 kB / 495.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.1439, allocations: 168.4 kB / 496 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005114/0.149, allocations: 3.753 MB / 499.8 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.1601, allocations: 6.684 MB / 0.4946 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.1614, allocations: 0.6762 MB / 0.4952 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-05/0.1616, allocations: 28.52 kB / 0.4953 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1616, allocations: 43.34 kB / 0.4953 GB, free: 11.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 3.376e-06/0.1616, allocations: 0 / 0.4953 GB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.002006/0.1636, allocations: 0.9814 MB / 0.4963 GB, free: 10.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.1637, allocations: 59.97 kB / 0.4963 GB, free: 10.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.1652, allocations: 1.395 MB / 0.4977 GB, free: 8.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.1653, allocations: 33.7 kB / 0.4977 GB, free: 8.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008176/0.1661, allocations: 1.288 MB / 0.499 GB, free: 7.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.1664, allocations: 280.7 kB / 0.4992 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.1665, allocations: 60 kB / 0.4993 GB, free: 6.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.1667, allocations: 445.3 kB / 0.4997 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.1678, allocations: 0.693 MB / 0.5004 GB, free: 5.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002632/0.1705, allocations: 2.741 MB / 0.5031 GB, free: 2.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.1724, allocations: 1.281 MB / 0.5043 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.768e-05/0.1725, allocations: 20 kB / 0.5043 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.2677/0.4401, allocations: 3.259 MB / 0.5075 GB, free: 37.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.4403, allocations: 36.62 kB / 0.5076 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.284e-05/0.4404, allocations: 73.78 kB / 0.5076 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.4405, allocations: 108.3 kB / 0.5077 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.4431, allocations: 0.8802 MB / 0.5086 GB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.4453, allocations: 6.055 MB / 0.5145 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.4475, allocations: 434.9 kB / 0.5149 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/0.4478, allocations: 220.4 kB / 0.5151 GB, free: 31.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00116/0.449, allocations: 0.7082 MB / 0.5158 GB, free: 30.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.4491, allocations: 122.2 kB / 0.5159 GB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.4524, allocations: 1.307 MB / 0.5172 GB, free: 30.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4524, allocations: 8.25 kB / 0.5172 GB, free: 30.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4524, allocations: 0 / 0.5172 GB, free: 30.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.4524, allocations: 3.938 kB / 0.5172 GB, free: 30.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.454, allocations: 0.9569 MB / 0.5182 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.454, allocations: 4 kB / 0.5182 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.4552, allocations: 320.3 kB / 0.5185 GB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/0.4552, allocations: 2.75 kB / 0.5185 GB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.4553, allocations: 33.52 kB / 0.5185 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.4572, allocations: 5.925 MB / 0.5243 GB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4572, allocations: 1.938 kB / 0.5243 GB, free: 24.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.459, allocations: 0.894 MB / 0.5252 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/0.4596, allocations: 293.9 kB / 0.5254 GB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.4597, allocations: 15.12 kB / 0.5255 GB, free: 23.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.4601, allocations: 40.8 kB / 0.5255 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.4603, allocations: 66.78 kB / 0.5256 GB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.4604, allocations: 41.84 kB / 0.5256 GB, free: 23.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00131/0.4617, allocations: 0.7839 MB / 0.5264 GB, free: 23.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4617, allocations: 0 / 0.5264 GB, free: 23.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003104/0.4648, allocations: 0.4903 MB / 0.5268 GB, free: 23.36 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 (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002363/0.4672, allocations: 1.549 MB / 0.5284 GB, free: 22.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005074/0.4723, allocations: 1.912 MB / 0.5302 GB, free: 21.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.4723, allocations: 4 kB / 0.5302 GB, free: 21.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.474, allocations: 0.5193 MB / 0.5307 GB, free: 21.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.4746, allocations: 90.98 kB / 0.5308 GB, free: 21.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03451/0.5091, allocations: 60.29 MB / 0.5897 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.5103, allocations: 1.479 MB / 0.5911 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003087/0.5134, allocations: 0.9689 MB / 0.5921 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007674/0.5142, allocations: 0.5598 MB / 0.5926 GB, free: 9.414 MB / 430.1 MB Notification: Performance of SimCode: time 1.954e-06/0.5142, allocations: 0 / 0.5926 GB, free: 9.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0514/0.5656, allocations: 25.93 MB / 0.618 GB, free: 15.74 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/0.5659, allocations: 271.9 kB / 0.6182 GB, free: 15.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.212, allocations: 0 / 0.6182 GB, free: 15.38 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat