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.Channel.kc_evenGapOverall.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.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001626/0.001626, 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.00195/0.00195, 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.466/1.466, 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.2321/0.2321, allocations: 46.11 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.002269/0.002269, allocations: 87.95 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1184, allocations: 62.44 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003845/0.1223, allocations: 2.23 MB / 482.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.1255, allocations: 2.149 MB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.1257, allocations: 4 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.126, allocations: 67.58 kB / 484.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1263, allocations: 103.3 kB / 484.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1274, allocations: 452.8 kB / 485.2 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005973/0.128, allocations: 0.4977 MB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1282, allocations: 65.03 kB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.1284, allocations: 179 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.1287, allocations: 214.9 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.1287, allocations: 16 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.1298, allocations: 0.6513 MB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1299, allocations: 115.4 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.1301, allocations: 190.7 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009634/0.1311, allocations: 0.8022 MB / 487.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1311, allocations: 0 / 487.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1311, allocations: 0 / 487.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1311, allocations: 0 / 487.9 MB, free: 13.37 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001281/0.1324, allocations: 0.8109 MB / 488.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1324, allocations: 8.031 kB / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.1326, allocations: 102.7 kB / 488.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.133, allocations: 80.33 kB / 488.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.1334, allocations: 312.2 kB / 489.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.1334, allocations: 41.38 kB / 489.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.1335, allocations: 51.94 kB / 489.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.1346, allocations: 0.6961 MB / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1346, allocations: 3.938 kB / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.1346, allocations: 20 kB / 490 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.1347, allocations: 25 kB / 490.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009451/0.1356, allocations: 0.492 MB / 490.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.1378, allocations: 1.504 MB / 492.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006326/0.1384, allocations: 327.5 kB / 492.4 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.1388, allocations: 158 kB / 492.5 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.1389, allocations: 16.09 kB / 492.6 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1389, allocations: 34.56 kB / 492.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 4.148e-06/0.1389, allocations: 0 / 492.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001314/0.1402, allocations: 0.5162 MB / 493.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.1403, allocations: 106.8 kB / 493.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007091/0.141, allocations: 0.5685 MB / 493.8 MB, free: 7.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.1411, allocations: 25.7 kB / 493.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.1413, allocations: 240.1 kB / 494 MB, free: 6.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.1414, allocations: 66.92 kB / 494.1 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1415, allocations: 81.69 kB / 494.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1417, allocations: 358.8 kB / 494.5 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.1421, allocations: 147.8 kB / 494.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.1426, allocations: 264.4 kB / 494.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008312/0.1434, allocations: 424.4 kB / 495.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.1434, allocations: 0 / 495.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001022/0.1444, allocations: 495.4 kB / 495.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1445, allocations: 7.938 kB / 495.8 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.891e-05/0.1445, allocations: 43.98 kB / 495.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1446, allocations: 4 kB / 495.9 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.1448, allocations: 35.91 kB / 495.9 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.1448, allocations: 8.359 kB / 495.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.1451, allocations: 63.42 kB / 496 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.1452, allocations: 23.98 kB / 496 MB, free: 4.895 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.1454, allocations: 217.6 kB / 496.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.1455, allocations: 47.38 kB / 496.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009455/0.1465, allocations: 477.3 kB / 496.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1465, allocations: 4 kB / 496.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1465, allocations: 3.938 kB / 496.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1465, allocations: 11.88 kB / 496.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.1472, allocations: 401.2 kB / 497.2 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.138e-05/0.1473, allocations: 39.98 kB / 497.2 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1474, allocations: 27.97 kB / 497.2 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.1474, allocations: 4 kB / 497.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.1475, allocations: 16 kB / 497.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1475, allocations: 0 / 497.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1475, allocations: 3.938 kB / 497.2 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000986/0.1485, allocations: 0.6226 MB / 497.9 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.1486, allocations: 124.5 kB / 498 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.1487, allocations: 8 kB / 498 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.149, allocations: 11.98 kB / 498 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.1491, allocations: 35.84 kB / 498 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.1491, allocations: 12 kB / 498.1 MB, free: 2.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004759/0.1496, allocations: 414.8 kB / 498.5 MB, free: 2.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1496, allocations: 4 kB / 498.5 MB, free: 2.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006705/0.1503, allocations: 175.8 kB / 498.6 MB, free: 2.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001646/0.152, allocations: 1.3 MB / 499.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.1531, allocations: 0.6994 MB / 0.4889 GB, free: 72 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1531, allocations: 0 / 0.4889 GB, free: 72 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006006/0.1537, allocations: 488.2 kB / 0.4894 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.1544, allocations: 97.3 kB / 0.4895 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007553/0.1619, allocations: 5.554 MB / 0.4949 GB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.1625, allocations: 0.8818 MB / 0.4957 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.1627, allocations: 79.33 kB / 0.4958 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.1629, allocations: 135.4 kB / 0.4959 GB, free: 8.586 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1629, allocations: 0 / 0.4959 GB, free: 8.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2236/0.3864, allocations: 14.08 MB / 0.5097 GB, free: 41.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.73, allocations: 8.5 kB / 0.5097 GB, free: 41.95 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1)