Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 103.9 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.001335/0.001335, allocations: 210.4 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.55/1.55, 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.2729/0.2729, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002236/0.002236, allocations: 82.92 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1222, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.00368/0.1259, allocations: 2.02 MB / 482.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1275, allocations: 0.9307 MB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1276, allocations: 4 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.128, allocations: 63.66 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.1284, allocations: 119.4 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1287, allocations: 83.66 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004395/0.1291, allocations: 382.2 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.1292, allocations: 40.72 kB / 483.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.1295, allocations: 163.2 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.1297, allocations: 187.1 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.1298, allocations: 8 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.1301, allocations: 147.7 kB / 484.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1302, allocations: 95.53 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.1304, allocations: 154.9 kB / 484.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.1309, allocations: 430.6 kB / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1309, allocations: 0 / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1309, allocations: 0 / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1309, allocations: 0 / 485 MB, free: 312 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001079/0.132, allocations: 0.6591 MB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1321, allocations: 8.031 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1322, allocations: 86.7 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.725e-05/0.1323, allocations: 36.47 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.1327, allocations: 294.9 kB / 486.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.1327, allocations: 25.38 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-05/0.1328, allocations: 36.36 kB / 486.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/0.1337, allocations: 0.5569 MB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1337, allocations: 4 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.1337, allocations: 16 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/0.1338, allocations: 36.98 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1348, allocations: 0.5737 MB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.1366, allocations: 1.171 MB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.1374, allocations: 378.2 kB / 488.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.1376, allocations: 140.9 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/0.1377, allocations: 11.98 kB / 489 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1377, allocations: 34.56 kB / 489.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.1377, allocations: 0 / 489.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009865/0.1387, allocations: 460.8 kB / 489.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1388, allocations: 51.41 kB / 489.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.1393, allocations: 457.6 kB / 490 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1393, allocations: 29.7 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1395, allocations: 192.3 kB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.1396, allocations: 74.89 kB / 490.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.1397, allocations: 53.7 kB / 490.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1399, allocations: 350.7 kB / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1401, allocations: 119.8 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.1404, allocations: 119.2 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.141, allocations: 268.6 kB / 491.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.141, allocations: 0 / 491.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006627/0.1416, allocations: 344.5 kB / 491.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1417, allocations: 7.938 kB / 491.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1417, allocations: 3.938 kB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1417, allocations: 3.984 kB / 491.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.1425, allocations: 163.8 kB / 491.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/0.1461, allocations: 5.512 MB / 497.2 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.1464, allocations: 47.39 kB / 497.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.1465, allocations: 16.28 kB / 497.3 MB, free: 3.602 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.1468, allocations: 193.6 kB / 497.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.1468, allocations: 31.62 kB / 497.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009966/0.1478, allocations: 448.5 kB / 497.9 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.1479, allocations: 7.938 kB / 497.9 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1479, allocations: 4 kB / 497.9 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.1479, allocations: 3.984 kB / 498 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.1485, allocations: 377.2 kB / 498.3 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.1485, allocations: 4 kB / 498.3 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007057/0.1492, allocations: 147.9 kB / 498.5 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.1492, allocations: 4 kB / 498.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.1493, allocations: 11.98 kB / 498.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.1531, allocations: 5.512 MB / 0.4922 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.1531, allocations: 7.938 kB / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007348/0.1538, allocations: 450.9 kB / 0.4926 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.154, allocations: 116.6 kB / 0.4927 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.154, allocations: 8 kB / 0.4927 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1542, allocations: 7.984 kB / 0.4927 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.1543, allocations: 23.91 kB / 0.4928 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.1544, allocations: 12 kB / 0.4928 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004412/0.1548, allocations: 335.1 kB / 0.4931 GB, free: 11.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1549, allocations: 0 / 0.4931 GB, free: 11.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004788/0.1553, allocations: 95.98 kB / 0.4932 GB, free: 11.54 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.1568, allocations: 1.019 MB / 0.4942 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.1582, allocations: 447.2 kB / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1582, allocations: 0 / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.159, allocations: 275.7 kB / 0.4949 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.1596, allocations: 85.44 kB / 0.495 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006155/0.1657, allocations: 4.437 MB / 0.4993 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.1663, allocations: 0.8543 MB / 0.5001 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.1665, allocations: 83.22 kB / 0.5002 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.1667, allocations: 115.3 kB / 0.5003 GB, free: 4.113 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1667, allocations: 0 / 0.5003 GB, free: 4.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2347/0.4014, allocations: 11.35 MB / 0.5114 GB, free: 43.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.37, allocations: 11.59 kB / 0.5114 GB, free: 43.11 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1)