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_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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.001289/0.001289, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 214.4 kB / 18.59 MB, free: 4.531 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.5 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.2417/0.2417, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002213/0.002213, allocations: 84.7 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1353, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.003746/0.1391, allocations: 2.164 MB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1419, allocations: 1.834 MB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1421, allocations: 0 / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1424, allocations: 79.52 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.1428, allocations: 143.3 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.1437, allocations: 334.7 kB / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.1442, allocations: 481.7 kB / 485.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1443, allocations: 65.05 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.1446, allocations: 187 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.1449, allocations: 222.9 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.145, allocations: 12 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009519/0.1459, allocations: 0.5654 MB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1461, allocations: 119.5 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.1463, allocations: 194.6 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009818/0.1473, allocations: 0.732 MB / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1473, allocations: 0 / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1473, allocations: 0 / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.547e-06/0.1473, allocations: 0 / 487.3 MB, free: 13.99 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001242/0.1486, allocations: 0.7743 MB / 488.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1486, allocations: 12.03 kB / 488.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.1487, allocations: 98.69 kB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.686e-05/0.1489, allocations: 52.28 kB / 488.3 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.1492, allocations: 315.8 kB / 488.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.1493, allocations: 37 kB / 488.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/0.1494, allocations: 43.98 kB / 488.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1504, allocations: 0.707 MB / 489.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1505, allocations: 4 kB / 489.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.1505, allocations: 19.98 kB / 489.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.213e-05/0.1506, allocations: 61.2 kB / 489.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1519, allocations: 0.7428 MB / 490.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.1541, allocations: 1.426 MB / 491.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.155, allocations: 464.3 kB / 492.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.1553, allocations: 157.2 kB / 492.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.1554, allocations: 12.2 kB / 492.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1554, allocations: 38.8 kB / 492.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.1555, allocations: 0 / 492.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.00116/0.1566, allocations: 0.5364 MB / 492.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.1567, allocations: 59.41 kB / 492.9 MB, free: 8.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/0.1573, allocations: 0.5367 MB / 493.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.1574, allocations: 29.7 kB / 493.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1576, allocations: 240.1 kB / 493.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1577, allocations: 102.6 kB / 493.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.1578, allocations: 93.97 kB / 493.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.158, allocations: 358.8 kB / 494.2 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.1584, allocations: 168.5 kB / 494.4 MB, free: 6.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.1589, allocations: 297.3 kB / 494.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.1597, allocations: 496.6 kB / 495.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1597, allocations: 0 / 495.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00103/0.1607, allocations: 0.5394 MB / 495.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1608, allocations: 10.5 kB / 495.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1608, allocations: 7.984 kB / 495.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1608, allocations: 4.562 kB / 495.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009674/0.1618, allocations: 223.8 kB / 495.9 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.1665, allocations: 7.306 MB / 0.4914 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.167, allocations: 75.22 kB / 0.4915 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.167, allocations: 24.27 kB / 0.4915 GB, free: 13.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003342/0.1674, allocations: 233.6 kB / 0.4917 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.1674, allocations: 43.44 kB / 0.4918 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.1686, allocations: 0.5447 MB / 0.4923 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1686, allocations: 4 kB / 0.4923 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1686, allocations: 0 / 0.4923 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1687, allocations: 0 / 0.4923 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.1692, allocations: 425.2 kB / 0.4927 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1692, allocations: 0 / 0.4927 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000969/0.1702, allocations: 199.8 kB / 0.4929 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.1702, allocations: 3.984 kB / 0.4929 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.1703, allocations: 19.98 kB / 0.4929 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004555/0.1748, allocations: 7.305 MB / 0.5001 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1749, allocations: 4.031 kB / 0.5001 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.1758, allocations: 0.5117 MB / 0.5006 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.176, allocations: 120.6 kB / 0.5007 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/0.1761, allocations: 11.98 kB / 0.5007 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.1764, allocations: 7.984 kB / 0.5007 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.1765, allocations: 23.97 kB / 0.5007 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.1765, allocations: 19.92 kB / 0.5008 GB, free: 3.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004622/0.177, allocations: 391 kB / 0.5011 GB, free: 3.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.177, allocations: 0 / 0.5011 GB, free: 3.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006414/0.1776, allocations: 171.8 kB / 0.5013 GB, free: 2.973 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 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.001669/0.1793, allocations: 1.161 MB / 0.5024 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.181, allocations: 0.6048 MB / 0.503 GB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1811, allocations: 1.125 kB / 0.503 GB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.1821, allocations: 348.6 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.0006323/0.1827, allocations: 89.78 kB / 0.5034 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2285/0.4113, allocations: 5.446 MB / 0.5088 GB, free: 41.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.4118, allocations: 0.8909 MB / 0.5096 GB, free: 40.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007097/0.4126, allocations: 151.1 kB / 0.5098 GB, free: 40.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.4129, allocations: 142 kB / 0.5099 GB, free: 40.43 MB / 382.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4129, allocations: 0 / 0.5099 GB, free: 40.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05055/0.4634, allocations: 14.67 MB / 0.5242 GB, free: 35.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.49, allocations: 7.906 kB / 0.5242 GB, free: 35.8 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1)