Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.0007441/0.0007441, allocations: 99.67 kB / 17.01 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008398/0.0008399, allocations: 198 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2446/0.2446, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 11.94 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 63.46 MB / 481.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002162/0.1337, allocations: 1.479 MB / 483.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1349, allocations: 0.764 MB / 483.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.135, allocations: 4 kB / 483.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1352, allocations: 31.81 kB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.1354, allocations: 71.72 kB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1357, allocations: 59.81 kB / 484.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.1359, allocations: 203.2 kB / 484.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.136, allocations: 13.12 kB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1361, allocations: 59.72 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1363, allocations: 79.72 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1363, allocations: 4 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.1366, allocations: 147.7 kB / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.1366, allocations: 47.81 kB / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.1367, allocations: 41.64 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1369, allocations: 127.9 kB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1369, allocations: 3.938 kB / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1369, allocations: 4 kB / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1369, allocations: 0 / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006256/0.1376, allocations: 434.8 kB / 485.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1376, allocations: 12.03 kB / 485.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.1377, allocations: 38.56 kB / 485.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.1377, allocations: 15.81 kB / 485.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1379, allocations: 206.8 kB / 485.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1379, allocations: 4 kB / 485.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.138, allocations: 12 kB / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.1383, allocations: 177.5 kB / 485.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1383, allocations: 0 / 485.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1383, allocations: 0 / 485.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.1384, allocations: 23.92 kB / 485.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.1387, allocations: 175.8 kB / 485.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000749/0.1395, allocations: 496 kB / 486.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.1399, allocations: 166.4 kB / 486.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.14, allocations: 64.81 kB / 486.6 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1401, allocations: 4 kB / 486.6 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1401, allocations: 30.56 kB / 486.6 MB, free: 108 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1401, allocations: 0 / 486.6 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005348/0.1406, allocations: 213.4 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1407, allocations: 51.41 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1409, allocations: 203.3 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1409, allocations: 37.64 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.141, allocations: 111.9 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1411, allocations: 27.56 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.1411, allocations: 0 / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1413, allocations: 338.8 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1415, allocations: 56.27 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1416, allocations: 78.45 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1418, allocations: 67.89 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1418, allocations: 0 / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003405/0.1421, allocations: 181.4 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1421, allocations: 11.94 kB / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1421, allocations: 0 / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1422, allocations: 0 / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.1424, allocations: 47.97 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007204/0.1432, allocations: 1.227 MB / 489.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1433, allocations: 19.86 kB / 489.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1433, allocations: 8 kB / 489.2 MB, free: 13.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.1435, allocations: 132.8 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1435, allocations: 23.77 kB / 489.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.144, allocations: 190.9 kB / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.144, allocations: 0 / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.144, allocations: 0 / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.144, allocations: 0 / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1442, allocations: 225.7 kB / 489.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1442, allocations: 0 / 489.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.1445, allocations: 55.91 kB / 489.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1445, allocations: 3.953 kB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1445, allocations: 4 kB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007463/0.1452, allocations: 1.211 MB / 491.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1453, allocations: 3.938 kB / 491.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.1456, allocations: 271.3 kB / 491.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.1457, allocations: 92.86 kB / 491.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.1458, allocations: 0 / 491.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1459, allocations: 11.98 kB / 491.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.1459, allocations: 8 kB / 491.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.146, allocations: 7.984 kB / 491.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1461, allocations: 149.1 kB / 491.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1461, allocations: 4 kB / 491.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1464, allocations: 48.17 kB / 491.7 MB, free: 10.79 MB / 366.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009376/0.1474, allocations: 0.8221 MB / 492.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.1478, allocations: 155.8 kB / 492.6 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1479, allocations: 0 / 492.6 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.1481, allocations: 91.88 kB / 492.7 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1485, allocations: 28.3 kB / 492.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1502, allocations: 1.118 MB / 493.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1506, allocations: 0.7245 MB / 494.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.1507, allocations: 37.05 kB / 494.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.1507, allocations: 35.44 kB / 494.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1508, allocations: 0 / 494.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.1677, allocations: 4.197 MB / 498.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.168, allocations: 260.8 kB / 499.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.997, allocations: 0 / 499.1 MB, free: 3.402 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat