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_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, 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.001303/0.001303, 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.44/1.44, 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.2292/0.2292, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002288/0.002288, allocations: 77.98 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.12, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003384/0.1234, allocations: 1.95 MB / 482.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1253, allocations: 1.172 MB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.1254, allocations: 0 / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1257, allocations: 63.59 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1259, allocations: 103.4 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.1264, allocations: 158.5 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.127, allocations: 485.7 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.885e-05/0.1271, allocations: 53.02 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.1272, allocations: 163.1 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.1275, allocations: 199 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.1275, allocations: 12 kB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.128, allocations: 267.6 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.1282, allocations: 103.5 kB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.1284, allocations: 174.8 kB / 485.1 MB, free: 208 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007333/0.1292, allocations: 0.5607 MB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1292, allocations: 0 / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1292, allocations: 0 / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1292, allocations: 4 kB / 485.7 MB, free: 15.64 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001205/0.1304, allocations: 0.7218 MB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1305, allocations: 12.03 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.1306, allocations: 94.7 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.1307, allocations: 48.38 kB / 486.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.1311, allocations: 299.5 kB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.1312, allocations: 45.67 kB / 486.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.217e-05/0.1313, allocations: 47.94 kB / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009656/0.1322, allocations: 0.6311 MB / 487.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1323, allocations: 0 / 487.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.1323, allocations: 27.92 kB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.543e-05/0.1324, allocations: 33.3 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009082/0.1333, allocations: 0.5047 MB / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.1359, allocations: 1.41 MB / 489.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/0.1366, allocations: 434.1 kB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1369, allocations: 140.8 kB / 490.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/0.137, allocations: 27.89 kB / 490.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.137, allocations: 34.56 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.137, allocations: 0 / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009657/0.138, allocations: 0.5006 MB / 490.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.138, allocations: 59.41 kB / 490.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/0.1387, allocations: 0.5485 MB / 491.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.1388, allocations: 29.7 kB / 491.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.139, allocations: 220.1 kB / 491.5 MB, free: 9.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.1391, allocations: 90.8 kB / 491.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1393, allocations: 89.92 kB / 491.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1395, allocations: 362.7 kB / 492 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.1398, allocations: 152.2 kB / 492.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.1401, allocations: 252.8 kB / 492.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/0.144, allocations: 1.057 MB / 493.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.144, allocations: 0 / 493.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008735/0.1449, allocations: 0.5004 MB / 494 MB, free: 6.992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1449, allocations: 11.98 kB / 494 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.467e-05/0.145, allocations: 36 kB / 494 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.145, allocations: 8 kB / 494 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.1452, allocations: 43.91 kB / 494.1 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1453, allocations: 4 kB / 494.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.1455, allocations: 63.23 kB / 494.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.1456, allocations: 20.41 kB / 494.2 MB, free: 6.809 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.000356/0.146, allocations: 225.9 kB / 494.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.1461, allocations: 43.44 kB / 494.4 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.1471, allocations: 0.5325 MB / 495 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.1471, allocations: 15.98 kB / 495 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1471, allocations: 3.938 kB / 495 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1472, allocations: 0 / 495 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.1478, allocations: 425.1 kB / 495.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.863e-05/0.1479, allocations: 43.98 kB / 495.4 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1481, allocations: 35.92 kB / 495.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1481, allocations: 0 / 495.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.1481, allocations: 12 kB / 495.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1482, allocations: 0 / 495.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1482, allocations: 0 / 495.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.1492, allocations: 0.7178 MB / 496.2 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1494, allocations: 128.6 kB / 496.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.1495, allocations: 4 kB / 496.3 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1496, allocations: 4 kB / 496.3 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.1497, allocations: 23.97 kB / 496.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.1497, allocations: 16 kB / 496.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000444/0.1502, allocations: 403 kB / 496.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1502, allocations: 3.938 kB / 496.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005899/0.1508, allocations: 151.9 kB / 496.9 MB, free: 3.949 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * 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.001708/0.1525, allocations: 1.317 MB / 498.2 MB, free: 2.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000997/0.1535, allocations: 0.7226 MB / 499 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1535, allocations: 0 / 499 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.1541, allocations: 497 kB / 499.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.1547, allocations: 89.84 kB / 499.5 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007557/0.1623, allocations: 5.483 MB / 0.4932 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.1629, allocations: 0.8819 MB / 0.494 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002964/0.1632, allocations: 112.2 kB / 0.4941 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.1634, allocations: 143.3 kB / 0.4943 GB, free: 10.36 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1634, allocations: 0 / 0.4943 GB, free: 10.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2327/0.3961, allocations: 12.68 MB / 0.5067 GB, free: 42.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/8.737, allocations: 8.75 kB / 0.5067 GB, free: 42.7 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1)