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_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.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.0008877/0.0008877, allocations: 97.91 kB / 17 MB, free: 6.844 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.0008761/0.0008763, allocations: 182.3 kB / 17.89 MB, free: 6.078 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.44/1.44, allocations: 223.2 MB / 241.9 MB, free: 14.59 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.2165/0.2165, allocations: 44.23 MB / 337.2 MB, free: 2.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 12 kB / 409.7 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 61.93 MB / 471.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002611/0.1478, allocations: 1.817 MB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1505, allocations: 1.61 MB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1506, allocations: 0 / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1509, allocations: 63.59 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000464/0.1513, allocations: 135.4 kB / 475.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.1521, allocations: 282.8 kB / 475.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006475/0.1528, allocations: 0.556 MB / 476.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1529, allocations: 65.05 kB / 476.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.1531, allocations: 175.2 kB / 476.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.1535, allocations: 223 kB / 476.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.1536, allocations: 11.94 kB / 476.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000954/0.1545, allocations: 0.5576 MB / 477.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1547, allocations: 107.5 kB / 477.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.1548, allocations: 97.45 kB / 477.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.1554, allocations: 0.5066 MB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1555, allocations: 0 / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1555, allocations: 3.938 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1555, allocations: 0 / 477.9 MB, free: 7.359 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001133/0.1566, allocations: 0.7292 MB / 478.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1567, allocations: 8.031 kB / 478.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.1568, allocations: 106.5 kB / 478.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.626e-05/0.1569, allocations: 51.34 kB / 478.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.1574, allocations: 316.4 kB / 479.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.1574, allocations: 41.27 kB / 479.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.1575, allocations: 51.98 kB / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.1588, allocations: 0.7598 MB / 479.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1588, allocations: 0 / 479.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.1588, allocations: 23.98 kB / 479.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/0.1589, allocations: 53.27 kB / 480 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.1602, allocations: 0.8092 MB / 480.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.1624, allocations: 1.504 MB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.1633, allocations: 456.4 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.1636, allocations: 165.2 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.1637, allocations: 16.14 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1637, allocations: 30.8 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.1637, allocations: 0 / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001099/0.1648, allocations: 0.5599 MB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1649, allocations: 55.41 kB / 483.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.1655, allocations: 0.5758 MB / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1656, allocations: 33.64 kB / 484.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1658, allocations: 279.4 kB / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.1659, allocations: 94.64 kB / 484.5 MB, free: 464 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.1659, allocations: 16 kB / 484.6 MB, free: 448 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1661, allocations: 366.7 kB / 484.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.1665, allocations: 188.9 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.167, allocations: 441.1 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.1675, allocations: 272.6 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1675, allocations: 4 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001197/0.1687, allocations: 0.6877 MB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.1687, allocations: 8 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.1687, allocations: 8 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.1688, allocations: 12.78 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.1698, allocations: 251.8 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.1748, allocations: 7.317 MB / 494.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.1753, allocations: 95.08 kB / 494.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.1754, allocations: 31.98 kB / 494.2 MB, free: 6.379 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004343/0.1758, allocations: 270 kB / 494.5 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.1759, allocations: 47.34 kB / 494.5 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.1771, allocations: 0.5682 MB / 495.1 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1771, allocations: 8 kB / 495.1 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1771, allocations: 4 kB / 495.1 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1771, allocations: 0 / 495.1 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.1777, allocations: 441.1 kB / 495.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1777, allocations: 0 / 495.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.1786, allocations: 207.9 kB / 495.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1786, allocations: 0 / 495.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.1786, allocations: 15.98 kB / 495.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004906/0.1835, allocations: 7.294 MB / 0.4912 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1835, allocations: 4.031 kB / 0.4912 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/0.1844, allocations: 0.5156 MB / 0.4918 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1845, allocations: 128.5 kB / 0.4919 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.1846, allocations: 4 kB / 0.4919 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.1848, allocations: 15.98 kB / 0.4919 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.1849, allocations: 23.97 kB / 0.4919 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.185, allocations: 19.98 kB / 0.4919 GB, free: 12.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005154/0.1855, allocations: 410.7 kB / 0.4923 GB, free: 12.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1855, allocations: 0 / 0.4923 GB, free: 12.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00081/0.1863, allocations: 183.7 kB / 0.4925 GB, free: 11.88 MB / 382.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.001426/0.1878, allocations: 1.165 MB / 0.4936 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.1894, allocations: 0.6186 MB / 0.4942 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1894, allocations: 0 / 0.4942 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009877/0.1904, allocations: 363.6 kB / 0.4946 GB, free: 9.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.191, allocations: 117.8 kB / 0.4947 GB, free: 9.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006646/0.1977, allocations: 3.504 MB / 0.4981 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/0.1983, allocations: 0.9131 MB / 0.499 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005096/0.1989, allocations: 176.4 kB / 0.4992 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.1991, allocations: 143.4 kB / 0.4993 GB, free: 4.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.1991, allocations: 4 kB / 0.4993 GB, free: 4.676 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3034/0.5025, allocations: 14.88 MB / 0.5139 GB, free: 47.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.5027, allocations: 266.4 kB / 0.5141 GB, free: 46.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/2.886, allocations: 0 / 0.5141 GB, free: 46.99 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.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_KC_res.mat does not exist to compare? outputFormat=mat