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.001161/0.001161, allocations: 98.28 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.001523/0.001523, allocations: 199 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.371/1.371, 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.2187/0.2187, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002724, allocations: 4 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 63.47 MB / 481.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002647/0.1393, allocations: 1.451 MB / 483 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1409, allocations: 0.7408 MB / 483.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.141, allocations: 0 / 483.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1413, allocations: 35.81 kB / 483.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1415, allocations: 43.84 kB / 483.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1419, allocations: 71.31 kB / 483.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1421, allocations: 91.78 kB / 484 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.1422, allocations: 13.11 kB / 484 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.1423, allocations: 55.77 kB / 484 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1425, allocations: 51.81 kB / 484.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1425, allocations: 4 kB / 484.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.1429, allocations: 155.8 kB / 484.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.143, allocations: 43.88 kB / 484.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.143, allocations: 41.64 kB / 484.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1433, allocations: 112 kB / 484.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1433, allocations: 0 / 484.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1433, allocations: 0 / 484.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1433, allocations: 0 / 484.4 MB, free: 2.324 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.0008172/0.1442, allocations: 438.8 kB / 484.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1442, allocations: 8.031 kB / 484.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.49e-05/0.1443, allocations: 46.55 kB / 484.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.1444, allocations: 19.81 kB / 484.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1446, allocations: 202.8 kB / 485.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1447, allocations: 4 kB / 485.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1447, allocations: 19.92 kB / 485.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.1451, allocations: 173.5 kB / 485.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1452, allocations: 0 / 485.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1452, allocations: 4 kB / 485.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.1452, allocations: 11.98 kB / 485.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.1457, allocations: 175.9 kB / 485.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1468, allocations: 0.4922 MB / 486 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.1474, allocations: 170.4 kB / 486.2 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.1474, allocations: 4.062 kB / 486.2 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1475, allocations: 30.56 kB / 486.2 MB, free: 388 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.1475, allocations: 0 / 486.2 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006991/0.1482, allocations: 213.6 kB / 486.4 MB, free: 168 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1482, allocations: 51.41 kB / 486.5 MB, free: 104 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.1485, allocations: 203.4 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1485, allocations: 25.7 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.1486, allocations: 119.9 kB / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1487, allocations: 31.55 kB / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.1487, allocations: 7.938 kB / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1489, allocations: 326.8 kB / 487.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1491, allocations: 55.94 kB / 487.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.1493, allocations: 86.45 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.1495, allocations: 55.95 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1495, allocations: 0 / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000553/0.1501, allocations: 181.7 kB / 487.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1501, allocations: 10.33 kB / 487.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1501, allocations: 0 / 487.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1502, allocations: 4 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.1505, allocations: 48.03 kB / 487.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008718/0.1514, allocations: 1.219 MB / 488.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1515, allocations: 20.05 kB / 488.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1516, allocations: 8 kB / 488.8 MB, free: 13.63 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.0001711/0.1518, allocations: 137.8 kB / 489 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.1518, allocations: 15.77 kB / 489 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.1522, allocations: 194.9 kB / 489.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1522, allocations: 0 / 489.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1522, allocations: 0 / 489.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1523, allocations: 3.984 kB / 489.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1525, allocations: 217.6 kB / 489.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1525, allocations: 0 / 489.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.1527, allocations: 51.89 kB / 489.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1528, allocations: 0 / 489.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1528, allocations: 7.953 kB / 489.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005748/0.1534, allocations: 1.215 MB / 490.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1534, allocations: 0 / 490.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.1538, allocations: 267.4 kB / 490.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.1538, allocations: 96.84 kB / 491 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1539, allocations: 0 / 491 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.154, allocations: 8 kB / 491 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.154, allocations: 19.92 kB / 491.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1541, allocations: 4 kB / 491.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1542, allocations: 149.2 kB / 491.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1542, allocations: 0 / 491.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.1545, allocations: 51.94 kB / 491.3 MB, free: 11.07 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.0007474/0.1552, allocations: 0.8324 MB / 492.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.1557, allocations: 147.8 kB / 492.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1558, allocations: 0 / 492.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.156, allocations: 104 kB / 492.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1563, allocations: 16.39 kB / 492.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1581, allocations: 1.401 MB / 493.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1584, allocations: 0.7395 MB / 494.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1585, allocations: 33.05 kB / 494.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.1586, allocations: 41.81 kB / 494.6 MB, free: 7.664 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1586, allocations: 480 / 494.6 MB, free: 7.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.1737, allocations: 4.124 MB / 498.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.1739, allocations: 259.5 kB / 498.9 MB, free: 3.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.961, allocations: 2.672 kB / 498.9 MB, free: 3.445 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