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.001266/0.001266, 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.001281/0.001282, 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.454/1.454, 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.2352/0.2352, allocations: 46.12 MB / 344.2 MB, free: 11.6 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.002194/0.002194, allocations: 77 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1181, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.004628/0.1228, allocations: 2.226 MB / 482.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003475/0.1263, allocations: 2.157 MB / 484.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.1266, allocations: 4 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.1271, allocations: 67.53 kB / 484.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1273, allocations: 107.3 kB / 484.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1287, allocations: 434.3 kB / 485.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006576/0.1293, allocations: 0.5016 MB / 485.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1294, allocations: 69.03 kB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.1297, allocations: 175 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.13, allocations: 202.9 kB / 486.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.1301, allocations: 16 kB / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.1312, allocations: 0.6669 MB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1313, allocations: 103.5 kB / 486.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.1316, allocations: 202.6 kB / 487.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.1328, allocations: 0.7945 MB / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1328, allocations: 0 / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1328, allocations: 0 / 487.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1328, allocations: 0 / 487.9 MB, free: 13.41 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.001451/0.1343, allocations: 0.8071 MB / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1344, allocations: 12.03 kB / 488.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.1345, allocations: 102.7 kB / 488.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.1349, allocations: 80.34 kB / 488.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.1353, allocations: 316.2 kB / 489.2 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.1354, allocations: 41.31 kB / 489.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.1355, allocations: 51.94 kB / 489.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1366, allocations: 0.7 MB / 490 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1366, allocations: 3.938 kB / 490 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.1367, allocations: 20 kB / 490 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/0.1367, allocations: 25 kB / 490.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1378, allocations: 0.492 MB / 490.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1402, allocations: 1.504 MB / 492.1 MB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.1409, allocations: 319.5 kB / 492.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.1413, allocations: 162.4 kB / 492.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.277e-05/0.1414, allocations: 16.11 kB / 492.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1414, allocations: 38.55 kB / 492.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.364e-06/0.1414, allocations: 0 / 492.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001399/0.1428, allocations: 0.5126 MB / 493.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.1429, allocations: 106.8 kB / 493.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.1437, allocations: 0.5643 MB / 493.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.1437, allocations: 25.7 kB / 493.8 MB, free: 7.262 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.1439, allocations: 236.1 kB / 494 MB, free: 7.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.144, allocations: 74.91 kB / 494.1 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1442, allocations: 81.75 kB / 494.2 MB, free: 6.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.1444, allocations: 362.8 kB / 494.5 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.1448, allocations: 143.9 kB / 494.7 MB, free: 6.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.1453, allocations: 256.4 kB / 494.9 MB, free: 6.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009181/0.1463, allocations: 431.9 kB / 495.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.1463, allocations: 0 / 495.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001084/0.1474, allocations: 492.8 kB / 495.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.1474, allocations: 14.62 kB / 495.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.553e-05/0.1475, allocations: 43.98 kB / 495.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/0.1476, allocations: 4 kB / 495.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1478, allocations: 35.91 kB / 495.9 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1478, allocations: 7.938 kB / 495.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.1481, allocations: 63.41 kB / 496 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.1482, allocations: 20 kB / 496 MB, free: 4.93 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.0003097/0.1485, allocations: 221.6 kB / 496.2 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.1486, allocations: 47.38 kB / 496.3 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009623/0.1496, allocations: 469.3 kB / 496.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1496, allocations: 4 kB / 496.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1496, allocations: 0 / 496.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1496, allocations: 19.86 kB / 496.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006348/0.1503, allocations: 405.2 kB / 497.2 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.559e-05/0.1504, allocations: 39.98 kB / 497.2 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1505, allocations: 27.91 kB / 497.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1505, allocations: 0 / 497.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.1506, allocations: 12 kB / 497.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1506, allocations: 0 / 497.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.1506, allocations: 11.92 kB / 497.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009796/0.1516, allocations: 0.6188 MB / 497.9 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1517, allocations: 120.5 kB / 498 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.1518, allocations: 8 kB / 498 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.1521, allocations: 23.97 kB / 498 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.1522, allocations: 31.8 kB / 498 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.1522, allocations: 19.98 kB / 498.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005045/0.1528, allocations: 414.8 kB / 498.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1528, allocations: 0 / 498.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007719/0.1535, allocations: 175.8 kB / 498.6 MB, free: 2.199 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.001718/0.1553, allocations: 1.295 MB / 499.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.1564, allocations: 0.695 MB / 0.4889 GB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1564, allocations: 0.875 kB / 0.4889 GB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.1571, allocations: 496.2 kB / 0.4894 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.1578, allocations: 89.84 kB / 0.4895 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/0.1657, allocations: 5.554 MB / 0.4949 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.1664, allocations: 0.8857 MB / 0.4957 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.1666, allocations: 75.34 kB / 0.4958 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.1669, allocations: 131.4 kB / 0.4959 GB, free: 8.625 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1669, allocations: 0 / 0.4959 GB, free: 8.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2431/0.41, allocations: 14.09 MB / 0.5097 GB, free: 41.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.811, allocations: 7.688 kB / 0.5097 GB, free: 41.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1)