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_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.001693/0.001693, allocations: 181.6 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.203/2.203, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001116/0.001115, allocations: 82.72 kB / 267.5 MB, free: 14.05 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.3363/0.3363, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.56e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5114/0.6375, allocations: 97.6 MB / 0.5682 GB, free: 5.566 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.6379, allocations: 94.44 kB / 0.5683 GB, free: 5.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1021/0.74, allocations: 20.31 MB / 0.5881 GB, free: 4.031 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.7401, allocations: 0 / 0.5881 GB, free: 4.031 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.413e-05/0.7401, allocations: 12 kB / 0.5882 GB, free: 4.02 MB / 394.7 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.001551/0.7417, allocations: 0.6698 MB / 0.5888 GB, free: 3.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.7417, allocations: 8.031 kB / 0.5888 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.7419, allocations: 109.2 kB / 0.5889 GB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.7421, allocations: 51.34 kB / 0.589 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.7427, allocations: 297 kB / 0.5893 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.7427, allocations: 38.67 kB / 0.5893 GB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.7429, allocations: 54.38 kB / 0.5893 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.7444, allocations: 0.6671 MB / 0.59 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.7444, allocations: 0 / 0.59 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.7445, allocations: 23.38 kB / 0.59 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.7446, allocations: 45.28 kB / 0.5901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.7463, allocations: 0.7048 MB / 0.5907 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.7498, allocations: 1.457 MB / 0.5922 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.751, allocations: 446.2 kB / 0.5926 GB, free: 12 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.7515, allocations: 137.5 kB / 0.5927 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.7516, allocations: 16.2 kB / 0.5927 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.7516, allocations: 38.61 kB / 0.5928 GB, free: 15.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.086e-06/0.7516, allocations: 0 / 0.5928 GB, free: 15.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001148/0.7528, allocations: 368.5 kB / 0.5931 GB, free: 15.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.7528, allocations: 59.34 kB / 0.5932 GB, free: 15.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008528/0.7537, allocations: 479.6 kB / 0.5936 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.7538, allocations: 29.2 kB / 0.5937 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.754, allocations: 287.5 kB / 0.5939 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.7541, allocations: 92.66 kB / 0.594 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.7542, allocations: 14.36 kB / 0.594 GB, free: 14.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7544, allocations: 332.1 kB / 0.5944 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.7548, allocations: 143.1 kB / 0.5945 GB, free: 14.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.7554, allocations: 281.6 kB / 0.5948 GB, free: 13.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.7559, allocations: 196.5 kB / 0.595 GB, free: 13.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.756, allocations: 3.953 kB / 0.595 GB, free: 13.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001324/0.7573, allocations: 486.7 kB / 0.5954 GB, free: 13.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.7573, allocations: 8.062 kB / 0.5954 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.7574, allocations: 8 kB / 0.5954 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.7574, allocations: 8 kB / 0.5954 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.7593, allocations: 214.6 kB / 0.5957 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.7648, allocations: 7.311 MB / 0.6028 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/0.7655, allocations: 65.27 kB / 0.6029 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.7656, allocations: 23.23 kB / 0.6029 GB, free: 5.531 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 34 * 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.0002102/0.7658, allocations: 146.3 kB / 0.603 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.7659, allocations: 39.53 kB / 0.6031 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.7676, allocations: 0.5111 MB / 0.6036 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.7676, allocations: 4 kB / 0.6036 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.7676, allocations: 0 / 0.6036 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.7676, allocations: 3.984 kB / 0.6036 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008385/0.7685, allocations: 424 kB / 0.604 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.7685, allocations: 0 / 0.604 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.7703, allocations: 210.8 kB / 0.6042 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.7703, allocations: 4 kB / 0.6042 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.7703, allocations: 11.36 kB / 0.6042 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005494/0.7758, allocations: 7.313 MB / 0.6113 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7759, allocations: 0 / 0.6113 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.7771, allocations: 481.5 kB / 0.6118 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.7773, allocations: 128.5 kB / 0.6119 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.7774, allocations: 7.375 kB / 0.6119 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.7779, allocations: 15.67 kB / 0.6119 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.778, allocations: 19.97 kB / 0.6119 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.7781, allocations: 19.33 kB / 0.612 GB, free: 12.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006993/0.7788, allocations: 383 kB / 0.6123 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7788, allocations: 0 / 0.6123 GB, free: 11.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009182/0.7797, allocations: 177.4 kB / 0.6125 GB, free: 11.64 MB / 426.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 (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.002059/0.7818, allocations: 1.167 MB / 0.6136 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.7842, allocations: 486.9 kB / 0.6141 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.7843, allocations: 0 / 0.6141 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.7859, allocations: 288.7 kB / 0.6144 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.7867, allocations: 87.59 kB / 0.6145 GB, free: 9.738 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.7902, allocations: 0.8719 MB / 0.6153 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/0.7909, allocations: 0.8986 MB / 0.6162 GB, free: 7.973 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.7913, allocations: 141.9 kB / 0.6163 GB, free: 7.926 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/0.7913, allocations: 0 / 0.6163 GB, free: 7.926 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.549/4.34, allocations: 31.44 MB / 0.647 GB, free: 8.5 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat