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.0009788/0.0009789, allocations: 96.8 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002803, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC): time 0.002689/0.1372, allocations: 1.748 MB / 483.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.1398, allocations: 1.598 MB / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.14, allocations: 4 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.1403, allocations: 59.72 kB / 485 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.1408, allocations: 99.67 kB / 485.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.1417, allocations: 295.1 kB / 485.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.1422, allocations: 307.3 kB / 485.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1423, allocations: 61.05 kB / 485.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.1426, allocations: 143.3 kB / 485.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1429, allocations: 175.2 kB / 486 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.1429, allocations: 12 kB / 486 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009188/0.1439, allocations: 0.5656 MB / 486.6 MB, free: 208 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.144, allocations: 95.64 kB / 486.7 MB, free: 112 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1441, allocations: 93.45 kB / 486.8 MB, free: 12 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000712/0.1449, allocations: 447.2 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1449, allocations: 4 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1449, allocations: 0 / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.1449, allocations: 3.938 kB / 487.2 MB, free: 15.57 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.001248/0.1462, allocations: 0.694 MB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1462, allocations: 15.97 kB / 487.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.1464, allocations: 98.5 kB / 488 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1465, allocations: 55.34 kB / 488.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.1469, allocations: 306.8 kB / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.147, allocations: 36.98 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.1471, allocations: 44 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.1481, allocations: 0.7069 MB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1481, allocations: 0 / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.1482, allocations: 20 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/0.1482, allocations: 57.28 kB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.1494, allocations: 0.7467 MB / 490 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.1518, allocations: 1.453 MB / 491.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.1525, allocations: 457.8 kB / 491.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.1526, allocations: 16.2 kB / 491.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1526, allocations: 30.8 kB / 491.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.1526, allocations: 0 / 491.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001179/0.1538, allocations: 0.5575 MB / 492.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1539, allocations: 55.41 kB / 492.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.1545, allocations: 0.5251 MB / 493.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.1546, allocations: 33.7 kB / 493.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1547, allocations: 244.1 kB / 493.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.1548, allocations: 98.64 kB / 493.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.1549, allocations: 4 kB / 493.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.155, allocations: 362.8 kB / 493.8 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.1554, allocations: 164.6 kB / 494 MB, free: 8.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.1558, allocations: 297.6 kB / 494.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.1562, allocations: 215.8 kB / 494.5 MB, free: 8.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1562, allocations: 3.953 kB / 494.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009728/0.1572, allocations: 0.5438 MB / 495 MB, free: 7.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.1572, allocations: 12.06 kB / 495 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.1572, allocations: 4.109 kB / 495 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.1573, allocations: 11.94 kB / 495 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.1583, allocations: 219.7 kB / 495.2 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/0.1623, allocations: 7.314 MB / 0.4908 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.1628, allocations: 63.31 kB / 0.4908 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.1628, allocations: 27.98 kB / 0.4909 GB, free: 15.56 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.0003509/0.1632, allocations: 233.6 kB / 0.4911 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.1633, allocations: 43.44 kB / 0.4911 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.1644, allocations: 0.5645 MB / 0.4917 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1644, allocations: 4 kB / 0.4917 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1645, allocations: 0 / 0.4917 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1645, allocations: 3.984 kB / 0.4917 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/0.1652, allocations: 429.2 kB / 0.4921 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1652, allocations: 0 / 0.4921 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.1663, allocations: 199.8 kB / 0.4923 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.1663, allocations: 0 / 0.4923 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.1663, allocations: 11.98 kB / 0.4923 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003943/0.1703, allocations: 7.31 MB / 0.4994 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1703, allocations: 288 / 0.4994 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.1712, allocations: 0.5151 MB / 0.4999 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.1713, allocations: 120.6 kB / 0.5001 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.1714, allocations: 8 kB / 0.5001 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1717, allocations: 19.98 kB / 0.5001 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.1718, allocations: 23.97 kB / 0.5001 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.1718, allocations: 11.98 kB / 0.5001 GB, free: 5.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005258/0.1724, allocations: 383 kB / 0.5005 GB, free: 5.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1724, allocations: 0 / 0.5005 GB, free: 5.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006529/0.173, allocations: 171.8 kB / 0.5007 GB, free: 5.16 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.001385/0.1744, allocations: 1.165 MB / 0.5018 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.176, allocations: 0.5749 MB / 0.5023 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.176, allocations: 0 / 0.5023 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.1771, allocations: 347.6 kB / 0.5027 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.1776, allocations: 85.8 kB / 0.5028 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.216/0.3936, allocations: 5.972 MB / 0.5086 GB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.394, allocations: 0.903 MB / 0.5095 GB, free: 40.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004303/0.3945, allocations: 142.8 kB / 0.5096 GB, free: 40.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3947, allocations: 146.3 kB / 0.5098 GB, free: 40.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3947, allocations: 0 / 0.5098 GB, free: 40.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.4245, allocations: 13.37 MB / 0.5228 GB, free: 36.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.4248, allocations: 261.7 kB / 0.5231 GB, free: 36.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.633, allocations: 0 / 0.5231 GB, free: 36.29 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