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.001467/0.001473, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.321/2.321, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001098, allocations: 98.36 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2952/0.2952, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.517e-05, allocations: 8.203 kB / 418.4 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4015, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.5831, allocations: 96.93 MB / 0.5607 GB, free: 2.266 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000386/0.5835, allocations: 99.92 kB / 0.5608 GB, free: 2.168 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.09156/0.6751, allocations: 20.11 MB / 0.5804 GB, free: 13.85 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6752, allocations: 0 / 0.5804 GB, free: 13.85 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.6752, allocations: 8 kB / 0.5804 GB, free: 13.84 MB / 427.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.001569/0.6768, allocations: 0.6668 MB / 0.5811 GB, free: 13.12 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6769, allocations: 12.03 kB / 0.5811 GB, free: 13.11 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.677, allocations: 51.34 kB / 0.5811 GB, free: 13.06 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.6776, allocations: 298.9 kB / 0.5814 GB, free: 12.73 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.6777, allocations: 16 kB / 0.5814 GB, free: 12.71 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6778, allocations: 32 kB / 0.5815 GB, free: 12.68 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001385/0.6792, allocations: 0.6194 MB / 0.5821 GB, free: 12.06 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.6806, allocations: 0.5895 MB / 0.5826 GB, free: 11.46 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6806, allocations: 7.938 kB / 0.5826 GB, free: 11.46 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.597e-05/0.6807, allocations: 4 kB / 0.5826 GB, free: 11.45 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-05/0.6808, allocations: 45.28 kB / 0.5827 GB, free: 11.41 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.6845, allocations: 1.3 MB / 0.584 GB, free: 10.07 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.6859, allocations: 0.5058 MB / 0.5844 GB, free: 9.555 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.6863, allocations: 164.7 kB / 0.5846 GB, free: 9.391 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.505e-05/0.6864, allocations: 7.984 kB / 0.5846 GB, free: 9.383 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.6865, allocations: 43.19 kB / 0.5847 GB, free: 9.332 MB / 427.1 MB Notification: Performance of pre-optimization done (n=37): time 2.956e-06/0.6865, allocations: 0 / 0.5847 GB, free: 9.332 MB / 427.1 MB Notification: Performance of matching and sorting (n=37): time 0.001209/0.6877, allocations: 400.3 kB / 0.585 GB, free: 8.934 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.6878, allocations: 55.41 kB / 0.5851 GB, free: 8.867 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.6881, allocations: 198.9 kB / 0.5853 GB, free: 8.664 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.543e-05/0.6881, allocations: 25.7 kB / 0.5853 GB, free: 8.633 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.6884, allocations: 314.5 kB / 0.5856 GB, free: 8.324 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.6885, allocations: 122.2 kB / 0.5857 GB, free: 8.203 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.6886, allocations: 0 / 0.5857 GB, free: 8.203 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6887, allocations: 334.8 kB / 0.586 GB, free: 7.867 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.6892, allocations: 161 kB / 0.5862 GB, free: 7.707 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.6898, allocations: 304.6 kB / 0.5865 GB, free: 7.352 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.6904, allocations: 215.7 kB / 0.5867 GB, free: 7.141 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6904, allocations: 4 kB / 0.5867 GB, free: 7.137 MB / 427.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001404/0.6918, allocations: 0.5045 MB / 0.5872 GB, free: 6.625 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.6919, allocations: 11.94 kB / 0.5872 GB, free: 6.613 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.6919, allocations: 4 kB / 0.5872 GB, free: 6.609 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.6919, allocations: 11.98 kB / 0.5872 GB, free: 6.598 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.6946, allocations: 228.2 kB / 0.5874 GB, free: 6.375 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009032/0.7037, allocations: 7.337 MB / 0.5946 GB, free: 14.76 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.7048, allocations: 39.67 kB / 0.5946 GB, free: 14.72 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.705, allocations: 24.27 kB / 0.5947 GB, free: 14.7 MB / 443.1 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 (55): * Single equations (assignments): 43 * 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.0003167/0.7054, allocations: 140.7 kB / 0.5948 GB, free: 14.55 MB / 443.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001785/0.7072, allocations: 400.9 kB / 0.5952 GB, free: 14.15 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.7074, allocations: 23.72 kB / 0.5952 GB, free: 14.13 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.71, allocations: 0.5469 MB / 0.5957 GB, free: 13.57 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.7101, allocations: 0 / 0.5957 GB, free: 13.57 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.7101, allocations: 4 kB / 0.5957 GB, free: 13.57 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.7102, allocations: 3.984 kB / 0.5957 GB, free: 13.57 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.7115, allocations: 397.6 kB / 0.5961 GB, free: 13.14 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.7116, allocations: 0 / 0.5961 GB, free: 13.14 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/0.7146, allocations: 207.8 kB / 0.5963 GB, free: 12.94 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.7146, allocations: 0 / 0.5963 GB, free: 12.94 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/0.7147, allocations: 15.98 kB / 0.5963 GB, free: 12.92 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007737/0.7225, allocations: 7.321 MB / 0.6035 GB, free: 5.32 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.988e-06/0.7226, allocations: 3.938 kB / 0.6035 GB, free: 5.316 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.7244, allocations: 0.5156 MB / 0.604 GB, free: 4.785 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.7246, allocations: 104.7 kB / 0.6041 GB, free: 4.664 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.7247, allocations: 0 / 0.6041 GB, free: 4.664 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006037/0.7254, allocations: 11.98 kB / 0.6041 GB, free: 4.652 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.7255, allocations: 27.95 kB / 0.6041 GB, free: 4.625 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/0.7257, allocations: 15.98 kB / 0.6041 GB, free: 4.609 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0002703/0.7259, allocations: 145.4 kB / 0.6043 GB, free: 4.469 MB / 443.1 MB Notification: Performance of sort global known variables: time 8.91e-07/0.726, allocations: 0 / 0.6043 GB, free: 4.469 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001481/0.7275, allocations: 199.4 kB / 0.6045 GB, free: 4.273 MB / 443.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * 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.003118/0.7306, allocations: 1.207 MB / 0.6056 GB, free: 3.043 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.003804/0.7345, allocations: 0.5121 MB / 0.6061 GB, free: 2.531 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7345, allocations: 0 / 0.6061 GB, free: 2.531 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/0.7374, allocations: 307.6 kB / 0.6064 GB, free: 2.23 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.738, allocations: 35.77 kB / 0.6065 GB, free: 2.195 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.7421, allocations: 0.8369 MB / 0.6073 GB, free: 1.309 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/0.7431, allocations: 0.9008 MB / 0.6082 GB, free: 388 kB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.7436, allocations: 135.4 kB / 0.6083 GB, free: 252 kB / 443.1 MB Notification: Performance of SimCode: time 1.674e-06/0.7437, allocations: 0 / 0.6083 GB, free: 252 kB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.597/4.34, allocations: 30.08 MB / 0.6377 GB, free: 2.125 MB / 475.1 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