Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_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_4_1_0-beta_om_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.001279/0.001279, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2257/0.2257, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002279, allocations: 88.22 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1174, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003802/0.1212, allocations: 2.204 MB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00541/0.1267, allocations: 3.329 MB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1269, allocations: 0 / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.1273, allocations: 91.72 kB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.1278, allocations: 143.2 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.1301, allocations: 0.895 MB / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007485/0.1309, allocations: 0.5632 MB / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1311, allocations: 77.73 kB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.1315, allocations: 250.5 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.1319, allocations: 278.4 kB / 488 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.1319, allocations: 20 kB / 488.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.1352, allocations: 1.988 MB / 490.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1354, allocations: 135.2 kB / 490.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.1357, allocations: 278 kB / 490.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.1382, allocations: 1.69 MB / 492.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1382, allocations: 0 / 492.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1382, allocations: 0 / 492.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.1382, allocations: 0 / 492.1 MB, free: 9.164 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.001898/0.1402, allocations: 1.034 MB / 493.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1402, allocations: 8.031 kB / 493.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.1404, allocations: 144.1 kB / 493.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.1406, allocations: 72 kB / 493.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/0.1411, allocations: 354.5 kB / 493.7 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.1412, allocations: 61.92 kB / 493.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.1413, allocations: 75.98 kB / 493.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.1434, allocations: 1.229 MB / 495.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1434, allocations: 4 kB / 495.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.1435, allocations: 28 kB / 495.1 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.1436, allocations: 85.89 kB / 495.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.1463, allocations: 1.722 MB / 496.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004664/0.151, allocations: 2.946 MB / 499.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.1519, allocations: 431.3 kB / 0.4886 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.1522, allocations: 145.3 kB / 0.4887 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.1523, allocations: 12.27 kB / 0.4887 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1523, allocations: 34.84 kB / 0.4888 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.963e-06/0.1523, allocations: 4 kB / 0.4888 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009917/0.1533, allocations: 479.4 kB / 0.4892 GB, free: 60 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.1534, allocations: 55.34 kB / 0.4893 GB, free: 15.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.1536, allocations: 214.3 kB / 0.4895 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.1537, allocations: 33.7 kB / 0.4895 GB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.1539, allocations: 390.2 kB / 0.4899 GB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.154, allocations: 122.3 kB / 0.49 GB, free: 15.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.1542, allocations: 118.1 kB / 0.4901 GB, free: 15.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.1544, allocations: 334.8 kB / 0.4904 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.1548, allocations: 149 kB / 0.4906 GB, free: 14.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.1552, allocations: 346.3 kB / 0.4909 GB, free: 14.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008172/0.1561, allocations: 0.5287 MB / 0.4914 GB, free: 13.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.1561, allocations: 4 kB / 0.4914 GB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009674/0.157, allocations: 0.54 MB / 0.492 GB, free: 13.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1571, allocations: 8 kB / 0.492 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.1571, allocations: 8 kB / 0.492 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.1571, allocations: 8 kB / 0.492 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.1579, allocations: 211.8 kB / 0.4922 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.1598, allocations: 3.001 MB / 0.4951 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.1601, allocations: 55.42 kB / 0.4952 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.1602, allocations: 28 kB / 0.4952 GB, free: 9.594 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 (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000398/0.1606, allocations: 281.6 kB / 0.4955 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.1607, allocations: 27.7 kB / 0.4955 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.162, allocations: 0.5538 MB / 0.496 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.162, allocations: 7.984 kB / 0.496 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.162, allocations: 0 / 0.496 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.162, allocations: 0 / 0.496 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.1639, allocations: 1.162 MB / 0.4972 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.1639, allocations: 0 / 0.4972 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.1645, allocations: 184 kB / 0.4973 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.1646, allocations: 4 kB / 0.4974 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.1646, allocations: 19.98 kB / 0.4974 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.1665, allocations: 2.961 MB / 0.5003 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1665, allocations: 352 / 0.5003 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.1673, allocations: 0.49 MB / 0.5007 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.1674, allocations: 112.6 kB / 0.5009 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.1674, allocations: 15.94 kB / 0.5009 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1676, allocations: 15.98 kB / 0.5009 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.1677, allocations: 31.97 kB / 0.5009 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.1677, allocations: 24 kB / 0.5009 GB, free: 3.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1679, allocations: 131.5 kB / 0.5011 GB, free: 3.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1679, allocations: 0 / 0.5011 GB, free: 3.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001035/0.1689, allocations: 358.8 kB / 0.5014 GB, free: 2.969 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 (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/0.1707, allocations: 1.293 MB / 0.5027 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.172, allocations: 0.5358 MB / 0.5032 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.172, allocations: 0 / 0.5032 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006351/0.1726, allocations: 256.5 kB / 0.5034 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.173, allocations: 32.73 kB / 0.5035 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1919/0.3649, allocations: 3.953 MB / 0.5073 GB, free: 40.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.3654, allocations: 0.9873 MB / 0.5083 GB, free: 39.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000506/0.366, allocations: 168.5 kB / 0.5084 GB, free: 39.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.3662, allocations: 208.3 kB / 0.5086 GB, free: 39.88 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3662, allocations: 0 / 0.5086 GB, free: 39.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.4042, allocations: 12.49 MB / 0.5208 GB, free: 36.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.3, allocations: 16.03 kB / 0.5209 GB, free: 36.36 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1)