Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 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,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.0009688/0.0009688, allocations: 94.66 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 194.4 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246 MB, free: 10.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 45.92 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 11.98 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 63.47 MB / 481.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002393/0.1373, allocations: 1.861 MB / 483.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.14, allocations: 1.941 MB / 485.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.1401, allocations: 0 / 485.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.1403, allocations: 51.66 kB / 485.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.1405, allocations: 91.44 kB / 485.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000872/0.1414, allocations: 358.8 kB / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.142, allocations: 0.5405 MB / 486.5 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.1421, allocations: 65.03 kB / 486.6 MB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.1423, allocations: 171.1 kB / 486.7 MB, free: 116 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.1426, allocations: 211 kB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.1426, allocations: 12 kB / 486.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009149/0.1436, allocations: 0.6317 MB / 487.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1437, allocations: 99.47 kB / 487.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.1438, allocations: 93.45 kB / 487.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.1444, allocations: 0.5222 MB / 488.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1444, allocations: 0 / 488.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1444, allocations: 0 / 488.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1444, allocations: 0 / 488.3 MB, free: 14.54 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.0011/0.1455, allocations: 0.7368 MB / 489 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1455, allocations: 15.97 kB / 489 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.1457, allocations: 98.5 kB / 489.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.146, allocations: 99.3 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.1464, allocations: 306.8 kB / 489.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.1465, allocations: 37 kB / 489.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.1465, allocations: 48 kB / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.1476, allocations: 0.7 MB / 490.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1476, allocations: 0 / 490.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.1476, allocations: 20 kB / 490.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.1477, allocations: 24.98 kB / 490.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.1485, allocations: 0.5194 MB / 490.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.1506, allocations: 1.507 MB / 492.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.1512, allocations: 323.8 kB / 492.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.1516, allocations: 169.6 kB / 492.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.1516, allocations: 19.97 kB / 492.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1517, allocations: 34.56 kB / 492.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.1517, allocations: 0 / 492.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.00127/0.1529, allocations: 0.5582 MB / 493.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.153, allocations: 106.8 kB / 493.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.1537, allocations: 0.5565 MB / 494.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1537, allocations: 33.7 kB / 494.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.1539, allocations: 232.1 kB / 494.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.154, allocations: 78.94 kB / 494.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.154, allocations: 4 kB / 494.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1542, allocations: 358.8 kB / 494.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.1546, allocations: 163.8 kB / 495 MB, free: 7.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.155, allocations: 264.6 kB / 495.2 MB, free: 7.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.1554, allocations: 191.8 kB / 495.4 MB, free: 7.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1554, allocations: 8 kB / 495.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009801/0.1564, allocations: 0.4955 MB / 495.9 MB, free: 6.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.1565, allocations: 8.438 kB / 495.9 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-05/0.1565, allocations: 47.98 kB / 496 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1566, allocations: 7.953 kB / 496 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.1568, allocations: 43.89 kB / 496 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1568, allocations: 11.88 kB / 496 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.1571, allocations: 71.42 kB / 496.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.1572, allocations: 23.98 kB / 496.1 MB, free: 6.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002576/0.1574, allocations: 217.6 kB / 496.4 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.1575, allocations: 51.33 kB / 496.4 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009601/0.1585, allocations: 485.2 kB / 496.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.1585, allocations: 7.953 kB / 496.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1585, allocations: 0 / 496.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1585, allocations: 0 / 496.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.1592, allocations: 405.2 kB / 497.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-05/0.1593, allocations: 39.98 kB / 497.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1594, allocations: 35.97 kB / 497.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1594, allocations: 7.938 kB / 497.4 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.1595, allocations: 8 kB / 497.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1595, allocations: 0 / 497.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1595, allocations: 3.953 kB / 497.4 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/0.1604, allocations: 0.65 MB / 498 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1605, allocations: 124.5 kB / 498.1 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.1606, allocations: 4 kB / 498.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.1609, allocations: 19.98 kB / 498.2 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.161, allocations: 27.92 kB / 498.2 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.161, allocations: 23.94 kB / 498.2 MB, free: 4.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004362/0.1615, allocations: 406.8 kB / 498.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1615, allocations: 4 kB / 498.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006629/0.1621, allocations: 171.8 kB / 498.8 MB, free: 3.598 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.1637, allocations: 1.323 MB / 0.4884 GB, free: 2.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1648, allocations: 0.6873 MB / 0.4891 GB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1648, allocations: 8 kB / 0.4891 GB, free: 1.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.1654, allocations: 0.4885 MB / 0.4895 GB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.166, allocations: 101.7 kB / 0.4896 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004911/0.171, allocations: 3.31 MB / 0.4929 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.1715, allocations: 0.8899 MB / 0.4937 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.1717, allocations: 75.34 kB / 0.4938 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.1719, allocations: 131.4 kB / 0.4939 GB, free: 12.29 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1719, allocations: 3.938 kB / 0.4939 GB, free: 12.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2538/0.4257, allocations: 13.12 MB / 0.5068 GB, free: 40.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.4259, allocations: 228.6 kB / 0.507 GB, free: 39.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/2.469, allocations: 4.344 kB / 0.507 GB, free: 39.89 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat does not exist to compare? outputFormat=mat