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.001076/0.001076, allocations: 99.98 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000953/0.000953, allocations: 197.7 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.3/1.3, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 45.92 MB / 344 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 63.46 MB / 481.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.00208/0.1145, allocations: 1.56 MB / 483.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1161, allocations: 1.037 MB / 484.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.1162, allocations: 0 / 484.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.1164, allocations: 55.72 kB / 484.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1166, allocations: 67.8 kB / 484.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.1169, allocations: 139.1 kB / 484.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.1173, allocations: 319.3 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.1174, allocations: 57.02 kB / 484.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1175, allocations: 135.4 kB / 484.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1177, allocations: 163.3 kB / 485.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1177, allocations: 8 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004836/0.1182, allocations: 271.6 kB / 485.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.1183, allocations: 91.7 kB / 485.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.1184, allocations: 89.45 kB / 485.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.1188, allocations: 359.3 kB / 485.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1189, allocations: 0 / 485.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1189, allocations: 3.938 kB / 485.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1189, allocations: 0 / 485.9 MB, free: 0.9219 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.0009879/0.1199, allocations: 0.6281 MB / 486.5 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1199, allocations: 12.03 kB / 486.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.12, allocations: 110.4 kB / 486.6 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.1201, allocations: 51.34 kB / 486.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.1205, allocations: 286.5 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.1206, allocations: 37.31 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.1207, allocations: 44 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/0.1216, allocations: 0.6271 MB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1216, allocations: 0 / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.1216, allocations: 20 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.1217, allocations: 33.3 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008338/0.1225, allocations: 0.5046 MB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.125, allocations: 1.438 MB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008691/0.1259, allocations: 458.2 kB / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.126, allocations: 7.984 kB / 490.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.126, allocations: 38.62 kB / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.126, allocations: 0 / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008919/0.1269, allocations: 0.5016 MB / 490.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.127, allocations: 51.41 kB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/0.1275, allocations: 0.5485 MB / 491.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1276, allocations: 37.7 kB / 491.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.1277, allocations: 220.1 kB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/0.1278, allocations: 90.73 kB / 491.6 MB, free: 11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.1279, allocations: 4 kB / 491.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1281, allocations: 354.8 kB / 491.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.1284, allocations: 160.1 kB / 492.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.1288, allocations: 253.8 kB / 492.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.1291, allocations: 189.2 kB / 492.5 MB, free: 10 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1291, allocations: 0 / 492.5 MB, free: 10 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008117/0.1299, allocations: 0.5039 MB / 493 MB, free: 9.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1299, allocations: 6.344 kB / 493 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.597e-05/0.13, allocations: 39.97 kB / 493.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.13, allocations: 7.953 kB / 493.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.1303, allocations: 39.91 kB / 493.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1303, allocations: 4 kB / 493.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.1306, allocations: 59.31 kB / 493.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.1306, allocations: 19.98 kB / 493.2 MB, free: 9.324 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.0002693/0.1309, allocations: 225.8 kB / 493.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.131, allocations: 47.44 kB / 493.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009/0.1319, allocations: 0.5363 MB / 494 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.1319, allocations: 11.94 kB / 494 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1319, allocations: 0 / 494 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1319, allocations: 4 kB / 494 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.1325, allocations: 425.2 kB / 494.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.193e-05/0.1326, allocations: 35.97 kB / 494.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1328, allocations: 31.92 kB / 494.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1328, allocations: 0 / 494.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.1328, allocations: 19.94 kB / 494.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1328, allocations: 0 / 494.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1329, allocations: 7.953 kB / 494.5 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.134, allocations: 0.6984 MB / 495.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.1341, allocations: 128.5 kB / 495.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.1342, allocations: 4 kB / 495.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1344, allocations: 8 kB / 495.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.1344, allocations: 27.97 kB / 495.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.1345, allocations: 19.88 kB / 495.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004863/0.135, allocations: 399 kB / 495.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.345e-06/0.135, allocations: 0 / 495.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000477/0.1355, allocations: 151.9 kB / 495.9 MB, free: 6.473 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.001414/0.1369, allocations: 1.314 MB / 497.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008221/0.1377, allocations: 0.664 MB / 497.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1377, allocations: 0 / 497.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.1382, allocations: 488.2 kB / 498.4 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1386, allocations: 86.67 kB / 498.5 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.1439, allocations: 5.233 MB / 0.4919 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.1444, allocations: 0.8939 MB / 0.4928 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.1446, allocations: 120.1 kB / 0.4929 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.1449, allocations: 139.4 kB / 0.493 GB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1449, allocations: 0 / 0.493 GB, free: 13.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.1681, allocations: 11.66 MB / 0.5044 GB, free: 1.809 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.1684, allocations: 230.2 kB / 0.5046 GB, free: 1.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.157, allocations: 0 / 0.5046 GB, free: 1.566 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