Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",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.0007764/0.0007765, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.0008166/0.0008167, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.379/1.379, allocations: 223.3 MB / 241.9 MB, free: 14.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2815/0.2815, allocations: 44.22 MB / 337.2 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 12 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 61.93 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002327/0.1361, allocations: 1.661 MB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1375, allocations: 0.8225 MB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.1376, allocations: 3.938 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1379, allocations: 55.67 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1383, allocations: 119.5 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1385, allocations: 83.72 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000504/0.1391, allocations: 450 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.1391, allocations: 36.73 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.1394, allocations: 143.3 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.1396, allocations: 183.2 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.1397, allocations: 11.94 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.14, allocations: 135.8 kB / 475.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1401, allocations: 103.6 kB / 475.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/0.1402, allocations: 81.45 kB / 475.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.1406, allocations: 299.4 kB / 475.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1406, allocations: 0 / 475.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1407, allocations: 0 / 475.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1407, allocations: 0 / 475.8 MB, free: 9.406 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001013/0.1417, allocations: 0.5928 MB / 476.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.1417, allocations: 12.03 kB / 476.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.1419, allocations: 90.48 kB / 476.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.241e-05/0.1419, allocations: 43.44 kB / 476.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.1423, allocations: 266.5 kB / 476.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.1423, allocations: 29 kB / 476.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.1424, allocations: 43.94 kB / 476.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.1433, allocations: 0.5529 MB / 477.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1433, allocations: 0 / 477.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1434, allocations: 12 kB / 477.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/0.1434, allocations: 44.97 kB / 477.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.1444, allocations: 0.5815 MB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.146, allocations: 1.171 MB / 479.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.1467, allocations: 392.1 kB / 479.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.147, allocations: 133.1 kB / 479.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.147, allocations: 12.19 kB / 479.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.147, allocations: 34.73 kB / 479.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.147, allocations: 0 / 479.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00094/0.148, allocations: 479.2 kB / 480.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.148, allocations: 55.41 kB / 480.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.1485, allocations: 449.6 kB / 480.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1486, allocations: 29.7 kB / 480.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1487, allocations: 192.3 kB / 481 MB, free: 4.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.1488, allocations: 74.91 kB / 481.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.1488, allocations: 4 kB / 481.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.149, allocations: 358.7 kB / 481.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.1492, allocations: 119.9 kB / 481.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.1495, allocations: 129.7 kB / 481.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.1497, allocations: 135.9 kB / 481.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1497, allocations: 0 / 481.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005996/0.1503, allocations: 352.1 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1504, allocations: 8 kB / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1504, allocations: 0 / 482.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1504, allocations: 4 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.1511, allocations: 159.9 kB / 482.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/0.1546, allocations: 5.52 MB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1549, allocations: 51.41 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.1549, allocations: 15.98 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.1551, allocations: 190.2 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.1552, allocations: 39.48 kB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008847/0.1561, allocations: 456.7 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1561, allocations: 4 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1561, allocations: 0 / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1561, allocations: 0 / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.1566, allocations: 377.2 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1566, allocations: 4 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.1573, allocations: 163.8 kB / 489.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1573, allocations: 0 / 489.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1573, allocations: 19.91 kB / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003218/0.1606, allocations: 5.52 MB / 494.6 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1606, allocations: 0 / 494.6 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.1613, allocations: 458 kB / 495.1 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.1614, allocations: 120.6 kB / 495.2 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.1615, allocations: 4 kB / 495.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1617, allocations: 15.98 kB / 495.2 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.1617, allocations: 15.98 kB / 495.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.1618, allocations: 11.98 kB / 495.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003957/0.1622, allocations: 335.1 kB / 495.6 MB, free: 4.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1622, allocations: 3.938 kB / 495.6 MB, free: 4.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004195/0.1626, allocations: 107.8 kB / 495.7 MB, free: 4.797 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.1638, allocations: 1.018 MB / 496.7 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.1649, allocations: 412.5 kB / 497.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1649, allocations: 0 / 497.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007475/0.1657, allocations: 283.7 kB / 497.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.1662, allocations: 83.88 kB / 497.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.1701, allocations: 2.692 MB / 0.4884 GB, free: 260 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.1707, allocations: 0.8504 MB / 0.4893 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.171, allocations: 87.2 kB / 0.4894 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.1712, allocations: 111.4 kB / 0.4895 GB, free: 15.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.572e-06/0.1712, allocations: 0 / 0.4895 GB, free: 15.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.1995, allocations: 10.4 MB / 0.4996 GB, free: 5.105 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.1998, allocations: 264.9 kB / 0.4999 GB, free: 4.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/2.396, allocations: 0 / 0.4999 GB, free: 4.75 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat