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_evenGapTurbulent_KC.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_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",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.002325/0.002325, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.315/2.315, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001047/0.001047, allocations: 86.64 kB / 267.5 MB, free: 14.11 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.2868/0.2868, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.747e-05, allocations: 7.984 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 58.84 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.6096, allocations: 89.91 MB / 0.5607 GB, free: 13.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003887/0.6101, allocations: 95.88 kB / 0.5608 GB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03104/0.6411, allocations: 6.737 MB / 0.5674 GB, free: 7.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.6412, allocations: 4 kB / 0.5674 GB, free: 7.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.6412, allocations: 7.938 kB / 0.5674 GB, free: 7.801 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007157/0.6419, allocations: 419.6 kB / 0.5678 GB, free: 7.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.642, allocations: 12.03 kB / 0.5678 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.6421, allocations: 45.42 kB / 0.5678 GB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.6421, allocations: 15.81 kB / 0.5679 GB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.6424, allocations: 206.1 kB / 0.5681 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.6424, allocations: 11.25 kB / 0.5681 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.6425, allocations: 11.56 kB / 0.5681 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.6429, allocations: 152.3 kB / 0.5682 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.6429, allocations: 0 / 0.5682 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.643, allocations: 3.375 kB / 0.5682 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/0.643, allocations: 15.98 kB / 0.5682 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.6434, allocations: 139 kB / 0.5684 GB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.6446, allocations: 0.4913 MB / 0.5689 GB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.6451, allocations: 136.3 kB / 0.569 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.6453, allocations: 48.12 kB / 0.569 GB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.6453, allocations: 192 / 0.569 GB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.6454, allocations: 42.5 kB / 0.5691 GB, free: 6.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.6454, allocations: 0 / 0.5691 GB, free: 6.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004282/0.6458, allocations: 130.4 kB / 0.5692 GB, free: 5.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.6459, allocations: 55.34 kB / 0.5692 GB, free: 5.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.6462, allocations: 179.2 kB / 0.5694 GB, free: 5.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.6462, allocations: 25.7 kB / 0.5694 GB, free: 5.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.6463, allocations: 176.4 kB / 0.5696 GB, free: 5.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.6464, allocations: 31.31 kB / 0.5696 GB, free: 5.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.6464, allocations: 0 / 0.5696 GB, free: 5.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.6465, allocations: 330.3 kB / 0.57 GB, free: 5.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.6467, allocations: 35.36 kB / 0.57 GB, free: 5.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.6468, allocations: 62.09 kB / 0.5701 GB, free: 5.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.647, allocations: 38.16 kB / 0.5701 GB, free: 5.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.647, allocations: 0 / 0.5701 GB, free: 5.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003759/0.6474, allocations: 135.6 kB / 0.5702 GB, free: 4.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6474, allocations: 12 kB / 0.5702 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6474, allocations: 0 / 0.5702 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6475, allocations: 0 / 0.5702 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.648, allocations: 43.97 kB / 0.5703 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009525/0.649, allocations: 1.228 MB / 0.5715 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.6492, allocations: 19.86 kB / 0.5715 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.6492, allocations: 4 kB / 0.5715 GB, free: 3.578 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.6494, allocations: 112.5 kB / 0.5716 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.6494, allocations: 15.77 kB / 0.5716 GB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.6499, allocations: 162.4 kB / 0.5718 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.65, allocations: 8 kB / 0.5718 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.65, allocations: 0 / 0.5718 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.65, allocations: 3.984 kB / 0.5718 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.6503, allocations: 215.9 kB / 0.572 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6504, allocations: 0 / 0.572 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.6508, allocations: 51.45 kB / 0.572 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.6508, allocations: 0 / 0.572 GB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.6509, allocations: 3.953 kB / 0.572 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009434/0.6518, allocations: 1.22 MB / 0.5732 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6518, allocations: 0 / 0.5732 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.6523, allocations: 226.2 kB / 0.5734 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.6524, allocations: 101.1 kB / 0.5735 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.6524, allocations: 0 / 0.5735 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.6526, allocations: 15.3 kB / 0.5736 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.6527, allocations: 7.984 kB / 0.5736 GB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.6527, allocations: 4 kB / 0.5736 GB, free: 1.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.6529, allocations: 152.5 kB / 0.5737 GB, free: 1.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.653, allocations: 0 / 0.5737 GB, free: 1.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.6534, allocations: 51.06 kB / 0.5738 GB, free: 1.199 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009071/0.6543, allocations: 0.7952 MB / 0.5745 GB, free: 408 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005794/0.6549, allocations: 116.4 kB / 0.5746 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6549, allocations: 0 / 0.5746 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.6553, allocations: 71.45 kB / 0.5747 GB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.6556, allocations: 22.17 kB / 0.5747 GB, free: 220 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009311/0.6566, allocations: 305.8 kB / 0.575 GB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.657, allocations: 0.7318 MB / 0.5757 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.6571, allocations: 39.92 kB / 0.5758 GB, free: 15.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6571, allocations: 0 / 0.5758 GB, free: 15.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.198/3.855, allocations: 4.146 MB / 0.5798 GB, free: 10.99 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat