Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001636, allocations: 183.2 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 86.88 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5233/0.5233, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004922, allocations: 12 kB / 431.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1348, allocations: 58.84 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002782/0.1376, allocations: 1.477 MB / 491.8 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1398, allocations: 0.8781 MB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.1399, allocations: 0 / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1402, allocations: 35.77 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1404, allocations: 47.84 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.141, allocations: 103.7 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.1412, allocations: 127.7 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.1413, allocations: 17.53 kB / 493 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1415, allocations: 71.75 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1417, allocations: 83.67 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.1418, allocations: 4 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.1422, allocations: 115.9 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.1423, allocations: 51.81 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.348e-05/0.1424, allocations: 49.58 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.1427, allocations: 163.9 kB / 493.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1427, allocations: 0 / 493.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1428, allocations: 7.875 kB / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1428, allocations: 0 / 493.5 MB, free: 7.863 MB / 378.7 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.001412/0.1442, allocations: 0.5105 MB / 494.1 MB, free: 7.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1443, allocations: 16.02 kB / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.15e-05/0.1444, allocations: 46.55 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.1444, allocations: 23.67 kB / 494.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1448, allocations: 218.8 kB / 494.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1448, allocations: 4.234 kB / 494.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.1449, allocations: 12 kB / 494.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/0.1457, allocations: 282.6 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1458, allocations: 0 / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1458, allocations: 4 kB / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.1459, allocations: 12.17 kB / 494.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.147, allocations: 252.4 kB / 494.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1487, allocations: 0.8255 MB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.1494, allocations: 203.6 kB / 495.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.1495, allocations: 4.188 kB / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.1495, allocations: 42.44 kB / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 3.287e-06/0.1495, allocations: 0 / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001688/0.1512, allocations: 353.2 kB / 496.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.1513, allocations: 110.8 kB / 496.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.1518, allocations: 253 kB / 496.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.1518, allocations: 25.7 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.152, allocations: 198.4 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.152, allocations: 39.44 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.1521, allocations: 4 kB / 496.9 MB, free: 4.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1522, allocations: 314.8 kB / 497.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.1527, allocations: 111.8 kB / 497.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.1533, allocations: 141 kB / 497.5 MB, free: 3.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.1538, allocations: 124.1 kB / 497.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1538, allocations: 0 / 497.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001264/0.1551, allocations: 289.2 kB / 497.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1551, allocations: 4 kB / 497.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-05/0.1552, allocations: 15.94 kB / 497.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1552, allocations: 4 kB / 497.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.1557, allocations: 48.06 kB / 498 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1557, allocations: 0 / 498 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.1561, allocations: 43.75 kB / 498 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.1562, allocations: 8 kB / 498 MB, free: 3.098 MB / 378.7 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.0002019/0.1564, allocations: 145.8 kB / 498.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.1565, allocations: 15.81 kB / 498.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008507/0.1574, allocations: 227.2 kB / 498.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1574, allocations: 7.953 kB / 498.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1574, allocations: 4 kB / 498.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1574, allocations: 4 kB / 498.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.158, allocations: 257.5 kB / 498.7 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/0.1581, allocations: 4 kB / 498.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.1585, allocations: 39.95 kB / 498.7 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1585, allocations: 0 / 498.7 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.1585, allocations: 7.984 kB / 498.7 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1585, allocations: 0 / 498.7 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.1586, allocations: 7.953 kB / 498.7 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.1598, allocations: 0.5167 MB / 499.2 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1599, allocations: 112.7 kB / 499.4 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.16, allocations: 4 kB / 499.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.1604, allocations: 23.97 kB / 499.4 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.1605, allocations: 11.98 kB / 499.4 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.1606, allocations: 8.094 kB / 499.4 MB, free: 1.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002959/0.1609, allocations: 196.4 kB / 499.6 MB, free: 1.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1609, allocations: 0 / 499.6 MB, free: 1.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006252/0.1615, allocations: 75.98 kB / 499.7 MB, free: 1.34 MB / 378.7 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.001889/0.1634, allocations: 1.246 MB / 0.4892 GB, free: 56 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.3035/0.467, allocations: 304.9 kB / 0.4895 GB, free: 43.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.467, allocations: 7 kB / 0.4895 GB, free: 43.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.4676, allocations: 189.3 kB / 0.4896 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.4682, allocations: 40.42 kB / 0.4897 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.4726, allocations: 2.29 MB / 0.4919 GB, free: 41.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.4729, allocations: 0.7499 MB / 0.4927 GB, free: 41.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.4731, allocations: 55 kB / 0.4927 GB, free: 41.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4731, allocations: 0 / 0.4927 GB, free: 41.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.923/3.396, allocations: 4.378 MB / 0.497 GB, free: 40.84 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat does not exist to compare? outputFormat=mat