Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000799/0.0007992, allocations: 96.83 kB / 17 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 193.4 kB / 17.91 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 11.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1336, allocations: 63.47 MB / 481.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.002299/0.136, allocations: 1.505 MB / 483.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1374, allocations: 0.9161 MB / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.1375, allocations: 0 / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1377, allocations: 27.83 kB / 484.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.1379, allocations: 63.67 kB / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1382, allocations: 91.7 kB / 484.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.1385, allocations: 251.1 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.1385, allocations: 13.56 kB / 484.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1387, allocations: 79.69 kB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1389, allocations: 103.6 kB / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.1389, allocations: 4 kB / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.1392, allocations: 123.8 kB / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.1393, allocations: 59.8 kB / 484.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.1393, allocations: 53.58 kB / 484.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1396, allocations: 175.7 kB / 485.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1396, allocations: 0 / 485.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1396, allocations: 0 / 485.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1396, allocations: 0 / 485.1 MB, free: 1.777 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008598/0.1405, allocations: 0.5105 MB / 485.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1405, allocations: 8.031 kB / 485.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.1406, allocations: 42.55 kB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.1409, allocations: 67.77 kB / 485.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1412, allocations: 218.7 kB / 486 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1412, allocations: 12.17 kB / 486 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1413, allocations: 8 kB / 486 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.1418, allocations: 283.4 kB / 486.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1418, allocations: 0 / 486.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.1418, allocations: 4 kB / 486.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.1419, allocations: 12.23 kB / 486.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.1424, allocations: 252.4 kB / 486.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1435, allocations: 0.8141 MB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.1439, allocations: 203.6 kB / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.1441, allocations: 114.5 kB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.1442, allocations: 7.984 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1442, allocations: 42.39 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1442, allocations: 0 / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008892/0.1451, allocations: 353.5 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.1452, allocations: 110.8 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1454, allocations: 261 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1455, allocations: 25.7 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.1456, allocations: 135.8 kB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.1456, allocations: 31.55 kB / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.1456, allocations: 4.031 kB / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1457, allocations: 334.8 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.146, allocations: 103.8 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.1463, allocations: 147.9 kB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.1465, allocations: 116.3 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1465, allocations: 0 / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005961/0.1471, allocations: 313 kB / 489.6 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1472, allocations: 8 kB / 489.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.1472, allocations: 8 kB / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1472, allocations: 4 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.1475, allocations: 52.08 kB / 489.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1475, allocations: 7.953 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.1477, allocations: 35.77 kB / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.1477, allocations: 11.98 kB / 489.7 MB, free: 12.88 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: 0 () * 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.000133/0.1478, allocations: 142.3 kB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.1479, allocations: 23.72 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.1484, allocations: 227.2 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1484, allocations: 4 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1485, allocations: 0 / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1485, allocations: 3.953 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.1488, allocations: 257.5 kB / 490.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.1489, allocations: 8 kB / 490.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.149, allocations: 39.97 kB / 490.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1491, allocations: 0 / 490.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1491, allocations: 7.984 kB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1491, allocations: 0 / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1491, allocations: 7.875 kB / 490.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.1497, allocations: 0.4977 MB / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.1498, allocations: 100.8 kB / 491 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.1498, allocations: 0 / 491 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.1501, allocations: 27.97 kB / 491 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.1501, allocations: 15.98 kB / 491 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1502, allocations: 4 kB / 491.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1503, allocations: 192.4 kB / 491.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1503, allocations: 0 / 491.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000421/0.1508, allocations: 71.94 kB / 491.3 MB, free: 11.17 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.001091/0.1519, allocations: 1.082 MB / 492.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006495/0.1525, allocations: 312.9 kB / 492.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1525, allocations: 0 / 492.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.1529, allocations: 193.1 kB / 492.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.1534, allocations: 40.41 kB / 492.9 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.1563, allocations: 1.534 MB / 494.5 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.1567, allocations: 0.74 MB / 495.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.1569, allocations: 45.5 kB / 495.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.157, allocations: 51.41 kB / 495.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.854e-06/0.157, allocations: 0 / 495.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.1754, allocations: 5.223 MB / 0.4888 GB, free: 1.996 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.1757, allocations: 221.5 kB / 0.489 GB, free: 1.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.001, allocations: 3.094 kB / 0.489 GB, free: 1.754 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat does not exist to compare? outputFormat=mat