Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.0008949/0.0008948, allocations: 92.17 kB / 17 MB, free: 6.07 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.001162/0.001162, allocations: 178.4 kB / 17.89 MB, free: 5.672 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.414/1.414, allocations: 223.2 MB / 241.9 MB, free: 296 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.2401/0.2401, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003686, allocations: 10.28 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002005/0.1344, allocations: 1.665 MB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1357, allocations: 0.9863 MB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.1358, allocations: 0 / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.136, allocations: 47.73 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.1362, allocations: 71.58 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1366, allocations: 126.5 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.137, allocations: 366.5 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.087e-05/0.1371, allocations: 36.72 kB / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1372, allocations: 111.4 kB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1374, allocations: 139.4 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1375, allocations: 8 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.1378, allocations: 179.8 kB / 475.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.1379, allocations: 75.67 kB / 475.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.158e-05/0.1379, allocations: 61.58 kB / 475.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.1382, allocations: 271.4 kB / 475.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1383, allocations: 0 / 475.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1383, allocations: 0 / 475.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1383, allocations: 0 / 475.8 MB, free: 9.465 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009345/0.1392, allocations: 0.5907 MB / 476.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1393, allocations: 11.97 kB / 476.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.991e-05/0.1393, allocations: 70.53 kB / 476.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.1394, allocations: 31.62 kB / 476.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1397, allocations: 255 kB / 476.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1397, allocations: 24.56 kB / 476.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.1397, allocations: 27.95 kB / 476.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.1404, allocations: 441.8 kB / 477.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1405, allocations: 4 kB / 477.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.1405, allocations: 12 kB / 477.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.1405, allocations: 16.55 kB / 477.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.1412, allocations: 349.9 kB / 477.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.1426, allocations: 1.092 MB / 478.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.1431, allocations: 247.7 kB / 478.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.1434, allocations: 126.4 kB / 479.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.1435, allocations: 15.92 kB / 479.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1435, allocations: 38.56 kB / 479.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.1435, allocations: 0 / 479.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001013/0.1445, allocations: 397.1 kB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.1446, allocations: 110.8 kB / 479.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.145, allocations: 397.6 kB / 480 MB, free: 5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.1451, allocations: 33.64 kB / 480 MB, free: 4.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1452, allocations: 183.8 kB / 480.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.1453, allocations: 51.27 kB / 480.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.1453, allocations: 4 kB / 480.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1455, allocations: 342.8 kB / 480.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.1458, allocations: 136.1 kB / 480.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.1462, allocations: 247.7 kB / 481 MB, free: 3.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.1465, allocations: 159.8 kB / 481.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1466, allocations: 4 kB / 481.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008185/0.1474, allocations: 425.1 kB / 481.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1474, allocations: 8.031 kB / 481.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.321e-05/0.1475, allocations: 24 kB / 481.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.1475, allocations: 4 kB / 481.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.1478, allocations: 55.89 kB / 481.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1478, allocations: 4 kB / 481.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.1481, allocations: 67.5 kB / 481.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.1481, allocations: 23.94 kB / 481.7 MB, free: 3.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002005/0.1483, allocations: 173.7 kB / 481.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.1484, allocations: 31.58 kB / 481.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.149, allocations: 288.6 kB / 482.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.149, allocations: 4 kB / 482.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1491, allocations: 0 / 482.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1491, allocations: 3.984 kB / 482.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.1495, allocations: 313.3 kB / 482.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/0.1496, allocations: 20 kB / 482.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1497, allocations: 31.97 kB / 482.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1498, allocations: 0 / 482.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.1498, allocations: 11.94 kB / 482.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1498, allocations: 0 / 482.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1498, allocations: 4 kB / 482.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.1505, allocations: 0.5326 MB / 483.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.1506, allocations: 104.7 kB / 483.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.1506, allocations: 15.92 kB / 483.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.1509, allocations: 27.94 kB / 483.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.151, allocations: 15.98 kB / 483.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.151, allocations: 12.08 kB / 483.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.1513, allocations: 291.1 kB / 483.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1513, allocations: 0 / 483.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.1518, allocations: 87.94 kB / 483.7 MB, free: 1.141 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001175/0.153, allocations: 1.113 MB / 484.8 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007814/0.1538, allocations: 453.9 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1538, allocations: 0.875 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.1542, allocations: 286.1 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.1548, allocations: 69.86 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.1581, allocations: 2.198 MB / 487.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1585, allocations: 0.7989 MB / 488.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.1587, allocations: 66.91 kB / 488.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.1588, allocations: 87.41 kB / 488.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1588, allocations: 0 / 488.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.1781, allocations: 8.27 MB / 497 MB, free: 3.844 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.1784, allocations: 239.1 kB / 497.2 MB, free: 3.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.16, allocations: 0 / 497.2 MB, free: 3.598 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat