Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.001755/0.00176, allocations: 187.6 kB / 16.4 MB, free: 5.625 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.267/2.267, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00122/0.00122, allocations: 98.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3067/0.3067, allocations: 43.57 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005097, allocations: 15.98 kB / 431.5 MB, free: 20.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1386, allocations: 58.86 MB / 490.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.003582/0.1423, allocations: 1.794 MB / 492.1 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004523/0.1468, allocations: 1.814 MB / 493.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.1472, allocations: 0 / 493.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.1476, allocations: 55.66 kB / 494 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1479, allocations: 79.72 kB / 494.1 MB, free: 5.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.1498, allocations: 351 kB / 494.4 MB, free: 5.105 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007773/0.1506, allocations: 355.2 kB / 494.8 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1508, allocations: 57.06 kB / 494.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.1512, allocations: 151.3 kB / 495 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.1515, allocations: 179.1 kB / 495.2 MB, free: 4.375 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.1516, allocations: 12 kB / 495.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.1535, allocations: 0.6397 MB / 495.8 MB, free: 3.723 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.1538, allocations: 91.64 kB / 495.9 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.154, allocations: 93.45 kB / 496 MB, free: 3.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.1553, allocations: 479.1 kB / 496.5 MB, free: 3.066 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.383e-06/0.1554, allocations: 7.938 kB / 496.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1554, allocations: 0 / 496.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1554, allocations: 0 / 496.5 MB, free: 3.059 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001905/0.1573, allocations: 0.7329 MB / 497.2 MB, free: 2.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.1574, allocations: 8.031 kB / 497.2 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.1576, allocations: 98.5 kB / 497.3 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.1578, allocations: 63.28 kB / 497.4 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.1584, allocations: 294.3 kB / 497.6 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.1584, allocations: 44.94 kB / 497.7 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.1586, allocations: 48 kB / 497.7 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.1605, allocations: 0.7001 MB / 498.4 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.1606, allocations: 0 / 498.4 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.161e-05/0.1607, allocations: 23.98 kB / 498.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.28e-05/0.1608, allocations: 21 kB / 498.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.1625, allocations: 0.5116 MB / 499 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/0.1664, allocations: 1.523 MB / 0.4888 GB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.1676, allocations: 335.7 kB / 0.4891 GB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.76e-05/0.1677, allocations: 7.984 kB / 0.4891 GB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.1678, allocations: 50.45 kB / 0.4892 GB, free: 14.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.887e-06/0.1678, allocations: 0 / 0.4892 GB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.00274/0.1705, allocations: 1.006 MB / 0.4901 GB, free: 13.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.1707, allocations: 102.8 kB / 0.4902 GB, free: 13.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.1718, allocations: 0.5605 MB / 0.4908 GB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.1719, allocations: 29.7 kB / 0.4908 GB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.1722, allocations: 262.6 kB / 0.4911 GB, free: 12.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.1723, allocations: 82.83 kB / 0.4911 GB, free: 12.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.1724, allocations: 8 kB / 0.4912 GB, free: 12.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1726, allocations: 322.8 kB / 0.4915 GB, free: 11.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007107/0.1733, allocations: 159.8 kB / 0.4916 GB, free: 11.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007621/0.1741, allocations: 264.7 kB / 0.4919 GB, free: 11.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/0.1748, allocations: 200.2 kB / 0.4921 GB, free: 11.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.1749, allocations: 4 kB / 0.4921 GB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001808/0.1767, allocations: 469 kB / 0.4925 GB, free: 10.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.1768, allocations: 10.92 kB / 0.4925 GB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/0.1769, allocations: 47.89 kB / 0.4926 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/0.177, allocations: 4 kB / 0.4926 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.1773, allocations: 44.38 kB / 0.4926 GB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.1774, allocations: 7.938 kB / 0.4926 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.178, allocations: 79.25 kB / 0.4927 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.1781, allocations: 19.98 kB / 0.4927 GB, free: 10.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (30): * Single equations (assignments): 18 * 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.000443/0.1785, allocations: 229.2 kB / 0.4929 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.1787, allocations: 43.44 kB / 0.493 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.1805, allocations: 485.1 kB / 0.4934 GB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.1805, allocations: 11.94 kB / 0.4934 GB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1805, allocations: 0 / 0.4934 GB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1806, allocations: 0 / 0.4934 GB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.1816, allocations: 401.3 kB / 0.4938 GB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001195/0.1818, allocations: 35.97 kB / 0.4939 GB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.1821, allocations: 27.97 kB / 0.4939 GB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.1821, allocations: 4 kB / 0.4939 GB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.1822, allocations: 19.98 kB / 0.4939 GB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/0.1822, allocations: 7.938 kB / 0.4939 GB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1822, allocations: 0 / 0.4939 GB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.184, allocations: 0.6728 MB / 0.4946 GB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.1843, allocations: 132.4 kB / 0.4947 GB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.1844, allocations: 4 kB / 0.4947 GB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.185, allocations: 23.97 kB / 0.4947 GB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.1852, allocations: 19.98 kB / 0.4947 GB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.149e-05/0.1852, allocations: 19.92 kB / 0.4948 GB, free: 8.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008163/0.1861, allocations: 410.8 kB / 0.4952 GB, free: 7.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.425e-06/0.1861, allocations: 4 kB / 0.4952 GB, free: 7.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001113/0.1872, allocations: 179.7 kB / 0.4953 GB, free: 7.75 MB / 346.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 (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.002828/0.1901, allocations: 1.46 MB / 0.4968 GB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.1921, allocations: 0.6879 MB / 0.4974 GB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.1921, allocations: 0 / 0.4974 GB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009881/0.1931, allocations: 0.4924 MB / 0.4979 GB, free: 4.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/0.1941, allocations: 97.83 kB / 0.498 GB, free: 4.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.2046, allocations: 5.379 MB / 0.5033 GB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/0.2053, allocations: 0.886 MB / 0.5041 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.2057, allocations: 131.4 kB / 0.5042 GB, free: 14.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2057, allocations: 3.938 kB / 0.5043 GB, free: 14.28 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.736/2.942, allocations: 10.98 MB / 0.515 GB, free: 3.301 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat does not exist to compare? outputFormat=mat