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.0009632/0.0009632, allocations: 100.2 kB / 16.99 MB, free: 5.941 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.00106/0.001061, allocations: 181 kB / 17.87 MB, free: 5.609 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.397/1.397, allocations: 223.2 MB / 241.8 MB, free: 384 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.2447/0.2447, allocations: 44.22 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1437, allocations: 61.91 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.0021/0.1458, allocations: 1.626 MB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.147, allocations: 0.7876 MB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.1471, allocations: 3.938 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.1473, allocations: 59.7 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1476, allocations: 83.78 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1478, allocations: 75.78 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.1481, allocations: 251.4 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.1482, allocations: 44.72 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.1484, allocations: 111.5 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.1486, allocations: 147.4 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1486, allocations: 8 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.1489, allocations: 151.8 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.149, allocations: 83.72 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.1491, allocations: 81.52 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.1494, allocations: 279.5 kB / 475.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1494, allocations: 0 / 475.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1494, allocations: 0 / 475.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1494, allocations: 0 / 475.3 MB, free: 9.836 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.0008439/0.1502, allocations: 0.5889 MB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1503, allocations: 8.031 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.385e-05/0.1504, allocations: 98.45 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.1505, allocations: 39.44 kB / 476.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.1508, allocations: 270.5 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.1508, allocations: 25 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.1509, allocations: 43.94 kB / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007748/0.1517, allocations: 0.5568 MB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1517, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.1517, allocations: 16 kB / 477 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.686e-05/0.1518, allocations: 44.91 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008484/0.1527, allocations: 0.5737 MB / 477.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.1544, allocations: 1.199 MB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.155, allocations: 389.8 kB / 479.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.155, allocations: 8.172 kB / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1551, allocations: 30.75 kB / 479.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.1551, allocations: 4 kB / 479.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009467/0.156, allocations: 479.6 kB / 479.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1561, allocations: 59.44 kB / 479.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.1565, allocations: 449.6 kB / 480.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1565, allocations: 33.7 kB / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1566, allocations: 188.3 kB / 480.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.1567, allocations: 78.86 kB / 480.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.1567, allocations: 0 / 480.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1569, allocations: 350.8 kB / 480.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1571, allocations: 119.9 kB / 480.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.1574, allocations: 130.1 kB / 481 MB, free: 3.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1576, allocations: 131.8 kB / 481.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.1576, allocations: 0 / 481.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005886/0.1582, allocations: 355.8 kB / 481.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1583, allocations: 8 kB / 481.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1583, allocations: 0 / 481.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1583, allocations: 0 / 481.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/0.159, allocations: 151.8 kB / 481.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.1619, allocations: 5.52 MB / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.1622, allocations: 47.41 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.1622, allocations: 16.27 kB / 487.3 MB, free: 13.47 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.0002209/0.1624, allocations: 198.2 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.1625, allocations: 39.48 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.1634, allocations: 460.5 kB / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1634, allocations: 4 kB / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1634, allocations: 0 / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1634, allocations: 0 / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.1639, allocations: 373.2 kB / 488.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1639, allocations: 0 / 488.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/0.1646, allocations: 159.8 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1646, allocations: 0 / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.1647, allocations: 7.984 kB / 488.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.1676, allocations: 5.524 MB / 494 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1676, allocations: 288 / 494 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006929/0.1683, allocations: 458 kB / 494.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1685, allocations: 120.6 kB / 494.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.1685, allocations: 4 kB / 494.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1687, allocations: 23.98 kB / 494.6 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.1688, allocations: 15.97 kB / 494.6 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.1689, allocations: 15.98 kB / 494.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.1692, allocations: 331.1 kB / 494.9 MB, free: 5.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1692, allocations: 0 / 494.9 MB, free: 5.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.1696, allocations: 103.8 kB / 495 MB, free: 5.371 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.001033/0.1707, allocations: 1.024 MB / 496.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.1719, allocations: 415.5 kB / 496.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1719, allocations: 0 / 496.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.1727, allocations: 292.3 kB / 496.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1732, allocations: 77.5 kB / 496.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.1769, allocations: 2.633 MB / 499.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.1774, allocations: 0.8581 MB / 0.4886 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.1776, allocations: 87.2 kB / 0.4887 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.1778, allocations: 111.4 kB / 0.4888 GB, free: 15.79 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1778, allocations: 0 / 0.4888 GB, free: 15.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.2002, allocations: 10.23 MB / 0.4988 GB, free: 5.883 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.2005, allocations: 248.3 kB / 0.499 GB, free: 5.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.147, allocations: 0 / 0.499 GB, free: 5.555 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