Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 98.77 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 178.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2243/0.2243, allocations: 44.23 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 8 kB / 409.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002585/0.1474, allocations: 1.489 MB / 473.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1488, allocations: 0.8732 MB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.1488, allocations: 0 / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1491, allocations: 31.83 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.1493, allocations: 67.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1497, allocations: 95.64 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.15, allocations: 247.1 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.245e-05/0.1501, allocations: 9.562 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.1503, allocations: 83.69 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1504, allocations: 103.6 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.1505, allocations: 8 kB / 474.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.1507, allocations: 119.8 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.1508, allocations: 47.81 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.1509, allocations: 57.58 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1512, allocations: 163.8 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1512, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1512, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1512, allocations: 0 / 475 MB, free: 10.21 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.0009881/0.1522, allocations: 0.5143 MB / 475.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1523, allocations: 12.5 kB / 475.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.175e-05/0.1523, allocations: 46.55 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.1524, allocations: 23.81 kB / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1526, allocations: 214.7 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1527, allocations: 12.23 kB / 475.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1527, allocations: 11.95 kB / 475.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.1532, allocations: 282.6 kB / 476.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1532, allocations: 0 / 476.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1533, allocations: 7.984 kB / 476.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.1533, allocations: 16.22 kB / 476.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.1539, allocations: 248.4 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.155, allocations: 0.8178 MB / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.1554, allocations: 203.7 kB / 477.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.1557, allocations: 110.5 kB / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.1557, allocations: 12.12 kB / 477.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.1558, allocations: 38.55 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.1558, allocations: 0 / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009454/0.1568, allocations: 361.3 kB / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.1568, allocations: 102.8 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.1571, allocations: 253 kB / 478.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1572, allocations: 33.7 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1573, allocations: 135.8 kB / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1573, allocations: 31.55 kB / 478.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.1573, allocations: 4 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1575, allocations: 338.8 kB / 478.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.1578, allocations: 99.89 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.1581, allocations: 149 kB / 479.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1583, allocations: 115.9 kB / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1584, allocations: 0 / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00061/0.159, allocations: 301.1 kB / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.159, allocations: 10.5 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.159, allocations: 11.98 kB / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.159, allocations: 7.938 kB / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.1593, allocations: 47.91 kB / 479.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1593, allocations: 128 / 479.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1595, allocations: 47.75 kB / 479.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1595, allocations: 8 kB / 479.6 MB, free: 5.34 MB / 350.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.0001339/0.1597, allocations: 145.7 kB / 479.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/0.1598, allocations: 20.19 kB / 479.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.1603, allocations: 231.1 kB / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.1603, allocations: 4 kB / 480 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1603, allocations: 0 / 480 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1603, allocations: 0 / 480 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.1607, allocations: 257.5 kB / 480.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.1607, allocations: 12 kB / 480.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.1609, allocations: 39.95 kB / 480.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1609, allocations: 4 kB / 480.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1609, allocations: 0 / 480.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1609, allocations: 4 kB / 480.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.161, allocations: 96 / 480.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006934/0.1617, allocations: 0.5092 MB / 480.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/0.1618, allocations: 104.8 kB / 480.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.1618, allocations: 0 / 480.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.162, allocations: 23.98 kB / 480.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.1621, allocations: 23.97 kB / 481 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1621, allocations: 4 kB / 481 MB, free: 3.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.1623, allocations: 188.4 kB / 481.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1623, allocations: 0 / 481.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000429/0.1628, allocations: 68 kB / 481.2 MB, free: 3.629 MB / 350.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.001121/0.1639, allocations: 1.093 MB / 482.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000633/0.1646, allocations: 308.9 kB / 482.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1646, allocations: 0 / 482.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.1649, allocations: 197.1 kB / 482.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.1654, allocations: 36.42 kB / 482.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.1681, allocations: 1.535 MB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.1685, allocations: 0.7439 MB / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.1686, allocations: 37.47 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1687, allocations: 59.41 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1688, allocations: 0 / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.187, allocations: 5.312 MB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/0.1873, allocations: 219.2 kB / 490.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.236, allocations: 8 kB / 490.7 MB, free: 10.12 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat does not exist to compare? outputFormat=mat