Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_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.0008915/0.0008915, allocations: 98.12 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008216/0.0008216, allocations: 192 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 45.92 MB / 344.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002847, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 63.47 MB / 481.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002466/0.1377, allocations: 1.802 MB / 483.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1402, allocations: 1.676 MB / 485.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.382e-05/0.1403, allocations: 4 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1405, allocations: 55.67 kB / 485.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.1409, allocations: 139.4 kB / 485.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.1415, allocations: 283 kB / 485.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005386/0.1421, allocations: 0.5445 MB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.1422, allocations: 65.02 kB / 486.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.1424, allocations: 179.1 kB / 486.4 MB, free: 480 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1427, allocations: 223 kB / 486.6 MB, free: 256 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.1427, allocations: 12 kB / 486.6 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007911/0.1435, allocations: 0.5381 MB / 487.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1436, allocations: 107.5 kB / 487.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.1437, allocations: 93.45 kB / 487.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.1443, allocations: 494.8 kB / 487.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1443, allocations: 0 / 487.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1443, allocations: 0 / 487.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1443, allocations: 3.938 kB / 487.8 MB, free: 15.01 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.0009622/0.1453, allocations: 0.694 MB / 488.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1453, allocations: 12.03 kB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.985e-05/0.1454, allocations: 102.4 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.1455, allocations: 59.34 kB / 488.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1458, allocations: 309.8 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1459, allocations: 33 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.1459, allocations: 47.98 kB / 489.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009677/0.1469, allocations: 0.7069 MB / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1469, allocations: 4 kB / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.147, allocations: 23.98 kB / 489.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.838e-05/0.1471, allocations: 61.2 kB / 489.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.1482, allocations: 0.7467 MB / 490.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1503, allocations: 1.418 MB / 492 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.1511, allocations: 465.7 kB / 492.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.1514, allocations: 161.2 kB / 492.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.1514, allocations: 8.234 kB / 492.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1515, allocations: 42.78 kB / 492.7 MB, free: 9.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.552e-06/0.1515, allocations: 0 / 492.7 MB, free: 9.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001089/0.1526, allocations: 0.556 MB / 493.3 MB, free: 9.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.1526, allocations: 63.34 kB / 493.3 MB, free: 9.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.1532, allocations: 0.5251 MB / 493.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.1533, allocations: 29.7 kB / 493.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1534, allocations: 244.2 kB / 494.1 MB, free: 8.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.108e-05/0.1535, allocations: 94.59 kB / 494.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.1536, allocations: 8 kB / 494.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1537, allocations: 358.8 kB / 494.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.154, allocations: 172.6 kB / 494.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.1544, allocations: 293.6 kB / 495 MB, free: 7.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1548, allocations: 211.7 kB / 495.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1548, allocations: 4 kB / 495.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008601/0.1556, allocations: 0.5434 MB / 495.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1557, allocations: 11.94 kB / 495.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.1557, allocations: 4 kB / 495.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1557, allocations: 8 kB / 495.8 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/0.1566, allocations: 219.8 kB / 496 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/0.1601, allocations: 7.318 MB / 0.4915 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.1605, allocations: 63.3 kB / 0.4916 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.1606, allocations: 32.27 kB / 0.4916 GB, free: 14.84 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 (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002879/0.1609, allocations: 229.6 kB / 0.4918 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.1609, allocations: 47.44 kB / 0.4919 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.1619, allocations: 0.5574 MB / 0.4924 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.162, allocations: 0 / 0.4924 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.162, allocations: 4 kB / 0.4924 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.162, allocations: 3.984 kB / 0.4924 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.1625, allocations: 425.2 kB / 0.4928 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1625, allocations: 0 / 0.4928 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/0.1633, allocations: 211.8 kB / 0.493 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.1633, allocations: 4.109 kB / 0.4931 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.1634, allocations: 15.92 kB / 0.4931 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/0.1671, allocations: 7.31 MB / 0.5002 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1671, allocations: 0 / 0.5002 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.1679, allocations: 0.5111 MB / 0.5007 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.168, allocations: 124.6 kB / 0.5008 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.1681, allocations: 4 kB / 0.5008 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1683, allocations: 16 kB / 0.5008 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.1684, allocations: 27.95 kB / 0.5009 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.1684, allocations: 8 kB / 0.5009 GB, free: 4.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004181/0.1689, allocations: 387 kB / 0.5012 GB, free: 4.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1689, allocations: 3.938 kB / 0.5013 GB, free: 4.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006132/0.1695, allocations: 175.8 kB / 0.5014 GB, free: 4.434 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 (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00125/0.1707, allocations: 1.173 MB / 0.5026 GB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.1721, allocations: 0.5558 MB / 0.5031 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1721, allocations: 0 / 0.5031 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009345/0.1731, allocations: 367.5 kB / 0.5035 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.1736, allocations: 81.92 kB / 0.5035 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.243/0.4165, allocations: 3.305 MB / 0.5068 GB, free: 42.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.4171, allocations: 0.8936 MB / 0.5076 GB, free: 41.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004809/0.4176, allocations: 141.4 kB / 0.5078 GB, free: 41.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.4178, allocations: 141.1 kB / 0.5079 GB, free: 41.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4178, allocations: 4.25 kB / 0.5079 GB, free: 41.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.4506, allocations: 13.61 MB / 0.5212 GB, free: 37.76 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.4508, allocations: 269.6 kB / 0.5215 GB, free: 37.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.6, allocations: 2.344 kB / 0.5215 GB, free: 37.39 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat