Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008974/0.0008974, allocations: 98.33 kB / 16.99 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.001067/0.001067, allocations: 197.9 kB / 17.9 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.36/1.36, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 45.92 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 63.47 MB / 481.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002554/0.1314, allocations: 1.549 MB / 483.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1333, allocations: 1.01 MB / 484.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.1334, allocations: 4 kB / 484.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1337, allocations: 43.73 kB / 484.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1338, allocations: 43.86 kB / 484.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.1343, allocations: 151.1 kB / 484.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1345, allocations: 139.7 kB / 484.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.161e-05/0.1346, allocations: 21.61 kB / 484.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.1348, allocations: 67.75 kB / 484.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.135, allocations: 83.61 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.135, allocations: 8 kB / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.1354, allocations: 243.7 kB / 484.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.1355, allocations: 51.81 kB / 484.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.1355, allocations: 57.58 kB / 485 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.1358, allocations: 203.8 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.1358, allocations: 0 / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1359, allocations: 0 / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1359, allocations: 0 / 485.2 MB, free: 1.559 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009749/0.1368, allocations: 0.5374 MB / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1369, allocations: 8.031 kB / 485.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.137, allocations: 50.55 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.1374, allocations: 75.62 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.1376, allocations: 227.2 kB / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1377, allocations: 15.94 kB / 486.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.1377, allocations: 15.98 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.1382, allocations: 288.6 kB / 486.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1383, allocations: 3.938 kB / 486.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1383, allocations: 8 kB / 486.4 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.1383, allocations: 11.75 kB / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.1389, allocations: 247.8 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.14, allocations: 0.7734 MB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.1406, allocations: 251.7 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.1406, allocations: 11.95 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1407, allocations: 34.56 kB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1407, allocations: 0 / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001078/0.1417, allocations: 0.5788 MB / 488.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.1418, allocations: 102.9 kB / 488.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.1421, allocations: 278.5 kB / 488.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1421, allocations: 29.7 kB / 488.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1422, allocations: 135.9 kB / 488.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.1423, allocations: 55.38 kB / 488.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.1423, allocations: 0 / 488.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1424, allocations: 334.9 kB / 489.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.1427, allocations: 99.84 kB / 489.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.143, allocations: 137 kB / 489.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.1433, allocations: 111.9 kB / 489.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1433, allocations: 4 kB / 489.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000625/0.1439, allocations: 285.1 kB / 489.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.144, allocations: 6.344 kB / 489.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.144, allocations: 11.98 kB / 489.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.144, allocations: 4 kB / 489.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.1442, allocations: 44.03 kB / 489.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1442, allocations: 0 / 489.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1444, allocations: 47.75 kB / 490 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.1445, allocations: 4 kB / 490 MB, free: 12.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001473/0.1446, allocations: 145.8 kB / 490.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.1447, allocations: 35.67 kB / 490.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.1452, allocations: 235 kB / 490.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1452, allocations: 4 kB / 490.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1452, allocations: 0 / 490.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1452, allocations: 4 kB / 490.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.1458, allocations: 269.6 kB / 490.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/0.1458, allocations: 11.92 kB / 490.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.146, allocations: 35.97 kB / 490.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.146, allocations: 0 / 490.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.146, allocations: 7.953 kB / 490.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.146, allocations: 0 / 490.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.146, allocations: 3.938 kB / 490.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.1467, allocations: 0.5248 MB / 491.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.1468, allocations: 100.8 kB / 491.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.1468, allocations: 4 kB / 491.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.1471, allocations: 23.98 kB / 491.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.1472, allocations: 19.95 kB / 491.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1472, allocations: 4 kB / 491.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1474, allocations: 201.9 kB / 491.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1474, allocations: 3.938 kB / 491.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004334/0.1478, allocations: 79.92 kB / 491.7 MB, free: 10.64 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001192/0.149, allocations: 1.25 MB / 492.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006802/0.1497, allocations: 305 kB / 493.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1497, allocations: 4 kB / 493.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.15, allocations: 189.1 kB / 493.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1504, allocations: 44.97 kB / 493.4 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.1533, allocations: 2.36 MB / 495.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1537, allocations: 0.7596 MB / 496.6 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1538, allocations: 37.52 kB / 496.6 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.981e-05/0.1539, allocations: 67.41 kB / 496.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1539, allocations: 0 / 496.7 MB, free: 5.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.1709, allocations: 5.872 MB / 0.4908 GB, free: 15.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.1711, allocations: 223.6 kB / 0.491 GB, free: 15.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.04, allocations: 4 kB / 0.491 GB, free: 15.56 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat