Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 98.08 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.3 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2044/0.2044, allocations: 45.91 MB / 344.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002467, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1155, allocations: 63.46 MB / 481.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.001927/0.1175, allocations: 1.618 MB / 483.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1189, allocations: 1.06 MB / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.119, allocations: 0 / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.1192, allocations: 55.66 kB / 484.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.1194, allocations: 99.53 kB / 484.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1198, allocations: 123.2 kB / 484.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.1203, allocations: 0.5173 MB / 485.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.1204, allocations: 61 kB / 485.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1206, allocations: 147.2 kB / 485.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1208, allocations: 207.1 kB / 485.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.1208, allocations: 8 kB / 485.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.1212, allocations: 255.6 kB / 485.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1213, allocations: 103.5 kB / 485.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.1214, allocations: 85.52 kB / 486 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.1219, allocations: 407 kB / 486.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1219, allocations: 0 / 486.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1219, allocations: 0 / 486.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1219, allocations: 0 / 486.4 MB, free: 0.5508 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0008288/0.1227, allocations: 0.6359 MB / 487 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1228, allocations: 8.031 kB / 487 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1229, allocations: 98.52 kB / 487.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.123, allocations: 47.34 kB / 487.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.1233, allocations: 296.6 kB / 487.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.1233, allocations: 37.31 kB / 487.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.1234, allocations: 48 kB / 487.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/0.1243, allocations: 0.631 MB / 488.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1243, allocations: 4 kB / 488.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.1243, allocations: 31.92 kB / 488.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.1244, allocations: 33.3 kB / 488.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.1251, allocations: 0.4969 MB / 488.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.1273, allocations: 1.403 MB / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.128, allocations: 434.2 kB / 490.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.1282, allocations: 136.8 kB / 490.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.312e-05/0.1283, allocations: 11.98 kB / 490.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.1283, allocations: 38.45 kB / 490.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.1283, allocations: 0 / 490.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008628/0.1292, allocations: 0.5084 MB / 491.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1292, allocations: 51.41 kB / 491.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.1298, allocations: 0.5484 MB / 491.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1298, allocations: 29.7 kB / 491.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.13, allocations: 220.1 kB / 492.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.1301, allocations: 82.8 kB / 492.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.1301, allocations: 8 kB / 492.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1302, allocations: 362.7 kB / 492.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.1305, allocations: 152.2 kB / 492.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.1308, allocations: 261.7 kB / 492.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.1312, allocations: 189.2 kB / 493.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1312, allocations: 0 / 493.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008035/0.132, allocations: 0.5037 MB / 493.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.132, allocations: 4 kB / 493.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.876e-05/0.1321, allocations: 47.94 kB / 493.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1321, allocations: 4 kB / 493.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1323, allocations: 35.92 kB / 493.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/0.1323, allocations: 12.33 kB / 493.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.1326, allocations: 63.31 kB / 493.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.1327, allocations: 24 kB / 493.8 MB, free: 8.84 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0003834/0.133, allocations: 217.7 kB / 494 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.1331, allocations: 43.44 kB / 494.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.1342, allocations: 0.5403 MB / 494.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.1343, allocations: 11.95 kB / 494.6 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1343, allocations: 3.938 kB / 494.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1343, allocations: 3.938 kB / 494.6 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.1349, allocations: 421.2 kB / 495 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.921e-05/0.135, allocations: 39.98 kB / 495.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.1352, allocations: 27.98 kB / 495.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1352, allocations: 4 kB / 495.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.1352, allocations: 12 kB / 495.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1352, allocations: 3.984 kB / 495.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1353, allocations: 7.953 kB / 495.1 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.1363, allocations: 0.7023 MB / 495.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1364, allocations: 132.5 kB / 496 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.1365, allocations: 3.938 kB / 496 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.1367, allocations: 8 kB / 496 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.1367, allocations: 27.92 kB / 496 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.1368, allocations: 16 kB / 496 MB, free: 6.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000403/0.1372, allocations: 403.1 kB / 496.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1372, allocations: 0 / 496.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004913/0.1377, allocations: 143.9 kB / 496.5 MB, free: 5.996 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 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.001442/0.1391, allocations: 1.307 MB / 497.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008836/0.14, allocations: 0.6686 MB / 498.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.14, allocations: 0 / 498.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.1405, allocations: 492.3 kB / 499 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.141, allocations: 89.83 kB / 499.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.1455, allocations: 3.344 MB / 0.4907 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.146, allocations: 0.8783 MB / 0.4915 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000285/0.1463, allocations: 120.2 kB / 0.4916 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.1465, allocations: 135.4 kB / 0.4918 GB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1465, allocations: 0 / 0.4918 GB, free: 14.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.1706, allocations: 11.87 MB / 0.5033 GB, free: 3.051 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.1708, allocations: 234.8 kB / 0.5036 GB, free: 2.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.24, allocations: 4 kB / 0.5036 GB, free: 2.805 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat