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.001332/0.001332, allocations: 103.7 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.001426/0.001426, allocations: 212.6 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.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2297/0.2297, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002228/0.002228, allocations: 82.17 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1203, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.004133/0.1245, allocations: 2.157 MB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.1277, allocations: 1.841 MB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1279, allocations: 4 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.1283, allocations: 67.59 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.1289, allocations: 143.3 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.13, allocations: 346.6 kB / 484.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007847/0.1308, allocations: 481.7 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1309, allocations: 53.06 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.1314, allocations: 187.1 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.1317, allocations: 226.8 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.1318, allocations: 12 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1329, allocations: 0.5694 MB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.1331, allocations: 115.4 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.1333, allocations: 186.7 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1343, allocations: 0.7359 MB / 487.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1343, allocations: 4 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1343, allocations: 0 / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.1344, allocations: 4 kB / 487.3 MB, free: 14 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.001499/0.1359, allocations: 0.7682 MB / 488.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1359, allocations: 8.031 kB / 488.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.1361, allocations: 106.7 kB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.1362, allocations: 60.28 kB / 488.3 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.1366, allocations: 299.4 kB / 488.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.1367, allocations: 40.98 kB / 488.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.1368, allocations: 51.92 kB / 488.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.138, allocations: 0.7148 MB / 489.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1381, allocations: 0 / 489.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.1381, allocations: 19.98 kB / 489.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.923e-05/0.1382, allocations: 57.22 kB / 489.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.1396, allocations: 0.7389 MB / 490.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.1419, allocations: 1.434 MB / 491.6 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008554/0.1428, allocations: 460.4 kB / 492.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.1431, allocations: 157.2 kB / 492.2 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.1432, allocations: 12.22 kB / 492.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1432, allocations: 30.8 kB / 492.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.904e-06/0.1432, allocations: 0 / 492.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001234/0.1445, allocations: 0.5442 MB / 492.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1445, allocations: 59.41 kB / 492.9 MB, free: 8.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000674/0.1452, allocations: 0.529 MB / 493.4 MB, free: 7.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.1453, allocations: 33.7 kB / 493.4 MB, free: 7.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.1455, allocations: 244 kB / 493.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.639e-05/0.1456, allocations: 98.66 kB / 493.8 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.1458, allocations: 93.95 kB / 493.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.146, allocations: 362.8 kB / 494.2 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.1464, allocations: 164.6 kB / 494.4 MB, free: 6.727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.1468, allocations: 297.3 kB / 494.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008698/0.1477, allocations: 0.4888 MB / 495.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1477, allocations: 0 / 495.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001073/0.1488, allocations: 0.5316 MB / 495.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1488, allocations: 8.562 kB / 495.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1489, allocations: 8 kB / 495.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.1489, allocations: 8 kB / 495.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/0.1499, allocations: 223.8 kB / 495.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/0.1545, allocations: 7.306 MB / 0.4914 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.1549, allocations: 75.28 kB / 0.4915 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.155, allocations: 23.98 kB / 0.4915 GB, free: 13.37 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.0003078/0.1553, allocations: 221.7 kB / 0.4917 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.823e-05/0.1554, allocations: 43.44 kB / 0.4918 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.1565, allocations: 0.5563 MB / 0.4923 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1565, allocations: 7.984 kB / 0.4923 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1566, allocations: 0 / 0.4923 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1566, allocations: 0 / 0.4923 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.1572, allocations: 429.2 kB / 0.4927 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1572, allocations: 112 / 0.4927 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/0.1581, allocations: 203.8 kB / 0.4929 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1581, allocations: 4 kB / 0.4929 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.1581, allocations: 19.92 kB / 0.4929 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004486/0.1626, allocations: 7.302 MB / 0.5001 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1626, allocations: 0 / 0.5001 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008511/0.1635, allocations: 0.5156 MB / 0.5006 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.1636, allocations: 124.6 kB / 0.5007 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.1637, allocations: 4 kB / 0.5007 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.164, allocations: 11.98 kB / 0.5007 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.1641, allocations: 23.97 kB / 0.5007 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.1641, allocations: 15.98 kB / 0.5008 GB, free: 3.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004888/0.1646, allocations: 387 kB / 0.5011 GB, free: 3.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1646, allocations: 0 / 0.5011 GB, free: 3.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006435/0.1652, allocations: 175.8 kB / 0.5013 GB, free: 2.98 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.001581/0.1668, allocations: 1.164 MB / 0.5024 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.1685, allocations: 0.5981 MB / 0.503 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.1686, allocations: 0 / 0.503 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.1697, allocations: 356.5 kB / 0.5034 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.1702, allocations: 93.84 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.2117/0.3819, allocations: 5.443 MB / 0.5088 GB, free: 41.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3824, allocations: 0.8924 MB / 0.5096 GB, free: 40.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000408/0.3828, allocations: 145.4 kB / 0.5098 GB, free: 40.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.383, allocations: 139 kB / 0.5099 GB, free: 40.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.365e-06/0.383, allocations: 0 / 0.5099 GB, free: 40.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04271/0.4257, allocations: 14.67 MB / 0.5242 GB, free: 35.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.48, allocations: 13.55 kB / 0.5242 GB, free: 35.83 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)