Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.0009724/0.0009724, allocations: 94.86 kB / 17 MB, free: 6.355 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.001088/0.001088, allocations: 183.4 kB / 17.89 MB, free: 5.926 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.357/1.357, allocations: 223.3 MB / 241.9 MB, free: 14.56 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.219/0.219, allocations: 44.22 MB / 337.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003022, allocations: 9.875 kB / 409.8 MB, free: 27.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 61.91 MB / 471.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002618/0.1267, allocations: 1.801 MB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1281, allocations: 0.8341 MB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.1282, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1285, allocations: 59.66 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.1288, allocations: 131.4 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1291, allocations: 79.69 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005536/0.1296, allocations: 0.5484 MB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1297, allocations: 61.05 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.13, allocations: 179.1 kB / 475.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.1304, allocations: 223 kB / 475.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.1304, allocations: 12 kB / 475.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.1307, allocations: 175.7 kB / 475.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1308, allocations: 111.5 kB / 475.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.1309, allocations: 89.45 kB / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.1315, allocations: 383.1 kB / 476.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1316, allocations: 0 / 476.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1316, allocations: 0 / 476.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1316, allocations: 0 / 476.3 MB, free: 8.891 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001072/0.1327, allocations: 0.6705 MB / 477 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1327, allocations: 12.03 kB / 477 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.1328, allocations: 98.5 kB / 477.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.385e-05/0.1329, allocations: 51.34 kB / 477.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.1333, allocations: 306.8 kB / 477.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.1334, allocations: 36.98 kB / 477.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.1334, allocations: 43.95 kB / 477.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1346, allocations: 0.7226 MB / 478.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1346, allocations: 0 / 478.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.1347, allocations: 16 kB / 478.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.819e-05/0.1348, allocations: 53.28 kB / 478.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1359, allocations: 0.7466 MB / 479.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.138, allocations: 1.438 MB / 480.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008932/0.1389, allocations: 460.4 kB / 481 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.1392, allocations: 157.2 kB / 481.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.1393, allocations: 20.2 kB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1393, allocations: 34.8 kB / 481.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.1393, allocations: 0 / 481.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001098/0.1404, allocations: 0.5598 MB / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1405, allocations: 59.39 kB / 481.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.1411, allocations: 0.5173 MB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.1411, allocations: 33.7 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1413, allocations: 232.4 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.1414, allocations: 98.59 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.1414, allocations: 8 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1416, allocations: 366.7 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.1419, allocations: 160.5 kB / 483.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.1423, allocations: 248.3 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.1427, allocations: 196.7 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1427, allocations: 0 / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000835/0.1435, allocations: 0.5005 MB / 484.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1435, allocations: 8 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1436, allocations: 4 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1436, allocations: 4.375 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/0.1445, allocations: 223.7 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004746/0.1493, allocations: 7.317 MB / 491.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.1497, allocations: 63.39 kB / 491.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.1498, allocations: 20 kB / 491.7 MB, free: 8.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0003912/0.1502, allocations: 233.1 kB / 492 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.1503, allocations: 43.44 kB / 492 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1514, allocations: 0.5525 MB / 492.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1514, allocations: 4 kB / 492.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1514, allocations: 0 / 492.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1514, allocations: 3.984 kB / 492.6 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.1519, allocations: 425.2 kB / 493 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.152, allocations: 4 kB / 493 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/0.1527, allocations: 207.9 kB / 493.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1528, allocations: 3.938 kB / 493.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.1528, allocations: 23.98 kB / 493.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004045/0.1569, allocations: 7.313 MB / 0.4888 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1569, allocations: 0 / 0.4888 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008109/0.1577, allocations: 0.5117 MB / 0.4893 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.1579, allocations: 120.6 kB / 0.4894 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.1579, allocations: 11.95 kB / 0.4894 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1582, allocations: 15.98 kB / 0.4894 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.1583, allocations: 27.91 kB / 0.4895 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.1583, allocations: 11.98 kB / 0.4895 GB, free: 15.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004627/0.1588, allocations: 395 kB / 0.4899 GB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1588, allocations: 0 / 0.4899 GB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005135/0.1593, allocations: 131.8 kB / 0.49 GB, free: 14.53 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.001247/0.1605, allocations: 1.091 MB / 0.491 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.162, allocations: 0.5314 MB / 0.4916 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.162, allocations: 0 / 0.4916 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009901/0.163, allocations: 363.5 kB / 0.4919 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.1636, allocations: 97.8 kB / 0.492 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/0.1684, allocations: 3.29 MB / 0.4952 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.169, allocations: 0.8974 MB / 0.4961 GB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000355/0.1693, allocations: 132.1 kB / 0.4962 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.1695, allocations: 143.4 kB / 0.4964 GB, free: 7.855 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1695, allocations: 0 / 0.4964 GB, free: 7.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2652/0.4347, allocations: 12.24 MB / 0.5083 GB, free: 49.98 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.4349, allocations: 259.3 kB / 0.5086 GB, free: 49.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.596, allocations: 0 / 0.5086 GB, free: 49.63 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat