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_overall.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_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.0007953/0.0007953, allocations: 97.64 kB / 17 MB, free: 6.109 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.0008404/0.0008409, allocations: 181.5 kB / 17.89 MB, free: 5.691 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.51/1.51, allocations: 223.3 MB / 241.9 MB, free: 252 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.2455/0.2455, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 8 kB / 409.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1568, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002659/0.1596, allocations: 1.88 MB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.1625, allocations: 1.867 MB / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1627, allocations: 0 / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.163, allocations: 59.67 kB / 475.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.1632, allocations: 91.41 kB / 475.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1643, allocations: 354.3 kB / 475.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.165, allocations: 0.552 MB / 476.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1651, allocations: 65.05 kB / 476.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.1655, allocations: 171.1 kB / 476.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.1658, allocations: 222.9 kB / 476.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.1658, allocations: 12 kB / 476.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.1669, allocations: 0.6239 MB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.167, allocations: 103.5 kB / 477.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1671, allocations: 97.45 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006455/0.1678, allocations: 0.5456 MB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1678, allocations: 0 / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1678, allocations: 0 / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1678, allocations: 0 / 478.3 MB, free: 6.945 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001239/0.1691, allocations: 0.7745 MB / 479.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1691, allocations: 8.562 kB / 479.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.1692, allocations: 106.5 kB / 479.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.619e-05/0.1693, allocations: 59.25 kB / 479.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.1697, allocations: 310.2 kB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.1698, allocations: 49.31 kB / 479.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.1699, allocations: 55.95 kB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.1711, allocations: 0.7735 MB / 480.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1711, allocations: 4 kB / 480.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.1712, allocations: 20 kB / 480.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.1712, allocations: 25.31 kB / 480.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1722, allocations: 0.5749 MB / 481 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.1746, allocations: 1.665 MB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.1751, allocations: 311.5 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.1755, allocations: 166.6 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.1756, allocations: 23.86 kB / 483.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1756, allocations: 30.56 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.1756, allocations: 4 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001231/0.1769, allocations: 0.5322 MB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.177, allocations: 110.8 kB / 483.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/0.1777, allocations: 0.6352 MB / 484.5 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1778, allocations: 29.7 kB / 484.5 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.178, allocations: 283.5 kB / 484.8 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.1781, allocations: 74.98 kB / 484.9 MB, free: 80 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.1781, allocations: 8 kB / 484.9 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1783, allocations: 366.7 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.1787, allocations: 208.9 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.1793, allocations: 473.4 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.18, allocations: 285.6 kB / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.18, allocations: 0 / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001305/0.1813, allocations: 0.7114 MB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.1813, allocations: 8 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.771e-05/0.1814, allocations: 51.98 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.1815, allocations: 12.5 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.1818, allocations: 75.83 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.1818, allocations: 19.92 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.1822, allocations: 107 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.1823, allocations: 36 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00031/0.1826, allocations: 269.3 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1827, allocations: 43.44 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009828/0.1837, allocations: 475.5 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1837, allocations: 7.984 kB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1837, allocations: 0 / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.1838, allocations: 7.938 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.1844, allocations: 409.2 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.018e-05/0.1845, allocations: 43.98 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1846, allocations: 39.91 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1847, allocations: 4 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.1847, allocations: 15.98 kB / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1847, allocations: 0 / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1847, allocations: 0 / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.1856, allocations: 0.6383 MB / 489.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.1858, allocations: 128.5 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.1859, allocations: 4 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.1861, allocations: 23.97 kB / 489.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.1862, allocations: 35.88 kB / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.1863, allocations: 15.98 kB / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005033/0.1868, allocations: 438.8 kB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1868, allocations: 0 / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007677/0.1876, allocations: 183.8 kB / 489.9 MB, free: 10.77 MB / 366.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001584/0.1892, allocations: 1.32 MB / 491.3 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.1904, allocations: 0.7673 MB / 492 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1904, allocations: 0 / 492 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.191, allocations: 0.489 MB / 492.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.1917, allocations: 118.3 kB / 492.6 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005814/0.1976, allocations: 3.607 MB / 496.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.1981, allocations: 0.8935 MB / 497.1 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003602/0.1985, allocations: 132.5 kB / 497.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.1987, allocations: 143.4 kB / 497.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1987, allocations: 0 / 497.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.2292, allocations: 14.65 MB / 0.5001 GB, free: 4.562 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.2295, allocations: 225.2 kB / 0.5003 GB, free: 4.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.41, allocations: 0 / 0.5003 GB, free: 4.324 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_overall_res.mat does not exist to compare? outputFormat=mat