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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.00154/0.00154, 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.001461/0.001461, 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.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.57 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.2253/0.2253, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002951/0.002951, allocations: 80.69 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1395, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.004224/0.1437, allocations: 2.009 MB / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.1465, allocations: 1.872 MB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.1466, allocations: 0 / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1469, allocations: 63.64 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.1473, allocations: 115.4 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.1481, allocations: 366.5 kB / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00041/0.1485, allocations: 378.2 kB / 485 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.1486, allocations: 44.66 kB / 485.1 MB, free: 244 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.1489, allocations: 159.2 kB / 485.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.1491, allocations: 179.3 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.1492, allocations: 12 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009022/0.1501, allocations: 0.5497 MB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1502, allocations: 103.5 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.1504, allocations: 158.9 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008486/0.1512, allocations: 0.6348 MB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1512, allocations: 4 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1513, allocations: 0 / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1513, allocations: 0 / 486.8 MB, free: 14.45 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001081/0.1524, allocations: 0.6809 MB / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1524, allocations: 12.03 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.34e-05/0.1525, allocations: 82.72 kB / 487.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.1526, allocations: 40.47 kB / 487.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1529, allocations: 283.6 kB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.153, allocations: 29.38 kB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.153, allocations: 40.36 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/0.1539, allocations: 0.5569 MB / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.154, allocations: 0 / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.154, allocations: 16 kB / 488.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-05/0.1541, allocations: 36.92 kB / 488.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.1551, allocations: 0.5737 MB / 489.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.1569, allocations: 1.179 MB / 490.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.1576, allocations: 381.2 kB / 490.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.1579, allocations: 136.9 kB / 490.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.1579, allocations: 11.97 kB / 490.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.158, allocations: 34.56 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.158, allocations: 0 / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001021/0.159, allocations: 464.8 kB / 491.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.1591, allocations: 59.44 kB / 491.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.1596, allocations: 449.6 kB / 491.9 MB, free: 9.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1596, allocations: 29.7 kB / 491.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1598, allocations: 188.4 kB / 492.1 MB, free: 9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.181e-05/0.1599, allocations: 82.83 kB / 492.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.16, allocations: 49.7 kB / 492.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1601, allocations: 354.7 kB / 492.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.1604, allocations: 115.9 kB / 492.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.1607, allocations: 123.4 kB / 492.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.1612, allocations: 260.6 kB / 493 MB, free: 8.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1612, allocations: 0 / 493 MB, free: 8.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006824/0.1619, allocations: 348.4 kB / 493.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1619, allocations: 11.88 kB / 493.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.162, allocations: 0 / 493.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.162, allocations: 4 kB / 493.4 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.1628, allocations: 147.9 kB / 493.5 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.1662, allocations: 5.52 MB / 499.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.1664, allocations: 51.45 kB / 499.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.1664, allocations: 8 kB / 499.1 MB, free: 1.727 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.0002323/0.1667, allocations: 189.7 kB / 499.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.1668, allocations: 31.62 kB / 499.3 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009151/0.1677, allocations: 468.5 kB / 499.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1677, allocations: 0 / 499.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1677, allocations: 0 / 499.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1677, allocations: 0 / 499.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.1682, allocations: 385.1 kB / 0.4885 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1682, allocations: 0 / 0.4885 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.1689, allocations: 155.9 kB / 0.4886 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.169, allocations: 0 / 0.4886 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.169, allocations: 19.94 kB / 0.4886 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.1724, allocations: 5.508 MB / 0.494 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.1724, allocations: 4.219 kB / 0.494 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007515/0.1732, allocations: 450.8 kB / 0.4944 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1733, allocations: 120.6 kB / 0.4945 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.1734, allocations: 0 / 0.4945 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.1736, allocations: 11.98 kB / 0.4946 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.1737, allocations: 31.84 kB / 0.4946 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.1737, allocations: 8 kB / 0.4946 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000385/0.1741, allocations: 343.1 kB / 0.4949 GB, free: 9.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1741, allocations: 0 / 0.4949 GB, free: 9.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.1746, allocations: 143.9 kB / 0.4951 GB, free: 9.598 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.001305/0.1759, allocations: 1.084 MB / 0.4961 GB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.1772, allocations: 442.5 kB / 0.4965 GB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1773, allocations: 0 / 0.4965 GB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.1781, allocations: 275.7 kB / 0.4968 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.1787, allocations: 97.36 kB / 0.4969 GB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.1846, allocations: 4.456 MB / 0.5013 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.1851, allocations: 0.8543 MB / 0.5021 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.1853, allocations: 87.19 kB / 0.5022 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.1855, allocations: 111.4 kB / 0.5023 GB, free: 2.082 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1855, allocations: 0 / 0.5023 GB, free: 2.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2159/0.4014, allocations: 12.8 MB / 0.5148 GB, free: 41.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.39, allocations: 8.219 kB / 0.5148 GB, free: 41.01 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1)