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.001337/0.001337, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 208.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.46/1.46, 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.2456/0.2456, 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.002312/0.002312, allocations: 73.81 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.12, allocations: 62.46 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003598/0.1237, allocations: 2.207 MB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00588/0.1296, allocations: 3.322 MB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1298, allocations: 4 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004357/0.1303, allocations: 95.7 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.1307, allocations: 139.2 kB / 486 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.1333, allocations: 0.895 MB / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007639/0.1341, allocations: 0.5632 MB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1342, allocations: 81.73 kB / 487.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.1346, allocations: 238.5 kB / 487.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.1349, allocations: 286.4 kB / 488 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.135, allocations: 16 kB / 488.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.1381, allocations: 1.981 MB / 490 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.1383, allocations: 151.2 kB / 490.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.1387, allocations: 278 kB / 490.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.1411, allocations: 1.687 MB / 492.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1412, allocations: 0 / 492.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1412, allocations: 0 / 492.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1412, allocations: 0 / 492.1 MB, free: 9.16 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.00178/0.143, allocations: 1.034 MB / 493.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.143, allocations: 12.03 kB / 493.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.1432, allocations: 140.1 kB / 493.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.1433, allocations: 76 kB / 493.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.1438, allocations: 354.5 kB / 493.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.1439, allocations: 58 kB / 493.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.144, allocations: 75.94 kB / 493.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.1458, allocations: 1.225 MB / 495.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1458, allocations: 0 / 495.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/0.1459, allocations: 32 kB / 495.1 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.146, allocations: 93.86 kB / 495.2 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.1487, allocations: 1.714 MB / 496.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/0.1537, allocations: 2.954 MB / 499.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009073/0.1546, allocations: 422.7 kB / 0.4886 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.1549, allocations: 153.2 kB / 0.4887 GB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.155, allocations: 4.281 kB / 0.4887 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.155, allocations: 38.84 kB / 0.4888 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.444e-06/0.155, allocations: 0 / 0.4888 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001089/0.1561, allocations: 483.3 kB / 0.4892 GB, free: 56 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.1562, allocations: 59.34 kB / 0.4893 GB, free: 15.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.1565, allocations: 210.3 kB / 0.4895 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.1565, allocations: 29.7 kB / 0.4895 GB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.1568, allocations: 394.2 kB / 0.4899 GB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.157, allocations: 118.3 kB / 0.49 GB, free: 15.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.1571, allocations: 122.1 kB / 0.4901 GB, free: 15.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1573, allocations: 338.8 kB / 0.4904 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.1576, allocations: 149 kB / 0.4906 GB, free: 14.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.1581, allocations: 342.3 kB / 0.4909 GB, free: 14.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008172/0.1589, allocations: 0.5327 MB / 0.4914 GB, free: 13.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.1589, allocations: 3.938 kB / 0.4914 GB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001017/0.1599, allocations: 0.5441 MB / 0.492 GB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.16, allocations: 4 kB / 0.492 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.16, allocations: 8 kB / 0.492 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.16, allocations: 8 kB / 0.492 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.1608, allocations: 207.8 kB / 0.4922 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.1629, allocations: 3.001 MB / 0.4951 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.1632, allocations: 59.42 kB / 0.4952 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.1633, allocations: 28 kB / 0.4952 GB, free: 9.586 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.0004794/0.1637, allocations: 277.4 kB / 0.4955 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.1638, allocations: 23.72 kB / 0.4955 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.1651, allocations: 0.554 MB / 0.496 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1651, allocations: 4 kB / 0.496 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1651, allocations: 0 / 0.496 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1651, allocations: 3.984 kB / 0.496 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.1669, allocations: 1.162 MB / 0.4972 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.167, allocations: 8 kB / 0.4972 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/0.1676, allocations: 180 kB / 0.4974 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.1676, allocations: 4 kB / 0.4974 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.1677, allocations: 16 kB / 0.4974 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.1694, allocations: 2.961 MB / 0.5003 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1694, allocations: 4.031 kB / 0.5003 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.1702, allocations: 0.4942 MB / 0.5007 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.1703, allocations: 104.7 kB / 0.5008 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.1703, allocations: 15.88 kB / 0.5009 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1705, allocations: 19.98 kB / 0.5009 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.1706, allocations: 31.95 kB / 0.5009 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.1706, allocations: 20 kB / 0.5009 GB, free: 3.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1708, allocations: 139.5 kB / 0.5011 GB, free: 3.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1708, allocations: 0 / 0.5011 GB, free: 3.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001013/0.1718, allocations: 350.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.001679/0.1735, allocations: 1.297 MB / 0.5027 GB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.1747, allocations: 0.536 MB / 0.5032 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.1747, allocations: 4 kB / 0.5032 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.1753, allocations: 252.5 kB / 0.5034 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.1757, allocations: 32.55 kB / 0.5035 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.178/0.3538, allocations: 3.944 MB / 0.5073 GB, free: 41.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.3544, allocations: 0.9905 MB / 0.5083 GB, free: 40.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005549/0.355, allocations: 168.8 kB / 0.5084 GB, free: 40.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.3552, allocations: 208.8 kB / 0.5086 GB, free: 40.28 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3552, allocations: 0 / 0.5086 GB, free: 40.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/0.396, allocations: 12.5 MB / 0.5208 GB, free: 36.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.3, allocations: 9.219 kB / 0.5209 GB, free: 36.67 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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)