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.002242/0.002242, allocations: 178.1 kB / 8.362 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.257/2.257, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001118/0.001118, allocations: 92.47 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.3028/0.3028, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.534e-05, allocations: 224 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5149/0.515, allocations: 58.85 MB / 477.2 MB, free: 5.18 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/0.7656, allocations: 97.55 MB / 0.5613 GB, free: 1.617 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004801/0.7662, allocations: 99.88 kB / 0.5614 GB, free: 1.52 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1216/0.8878, allocations: 21.06 MB / 0.5819 GB, free: 12.25 MB / 427.1 MB Notification: Performance of FrontEnd: time 5.049e-06/0.8879, allocations: 0 / 0.5819 GB, free: 12.25 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.8879, allocations: 7.938 kB / 0.5819 GB, free: 12.24 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002087/0.89, allocations: 0.7137 MB / 0.5826 GB, free: 11.48 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/0.8901, allocations: 12.03 kB / 0.5827 GB, free: 11.47 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.8904, allocations: 55.3 kB / 0.5827 GB, free: 11.41 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008463/0.8912, allocations: 294.4 kB / 0.583 GB, free: 11.09 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.8913, allocations: 16 kB / 0.583 GB, free: 11.07 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.8915, allocations: 28 kB / 0.583 GB, free: 11.04 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/0.8929, allocations: 410.4 kB / 0.5834 GB, free: 10.64 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.8948, allocations: 0.5867 MB / 0.584 GB, free: 10.04 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.8949, allocations: 4 kB / 0.584 GB, free: 10.03 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.895, allocations: 0 / 0.584 GB, free: 10.03 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.301e-05/0.8951, allocations: 25.3 kB / 0.584 GB, free: 10.01 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/0.8996, allocations: 1.347 MB / 0.5853 GB, free: 8.613 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.9006, allocations: 279.8 kB / 0.5856 GB, free: 8.309 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.9011, allocations: 122.7 kB / 0.5857 GB, free: 8.18 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.084e-05/0.9012, allocations: 11.97 kB / 0.5857 GB, free: 8.168 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.9013, allocations: 46.45 kB / 0.5858 GB, free: 8.113 MB / 427.1 MB Notification: Performance of pre-optimization done (n=23): time 7.774e-06/0.9013, allocations: 3.984 kB / 0.5858 GB, free: 8.109 MB / 427.1 MB Notification: Performance of matching and sorting (n=23): time 0.001554/0.9028, allocations: 295.6 kB / 0.5861 GB, free: 7.816 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.903, allocations: 106.8 kB / 0.5862 GB, free: 7.688 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.9035, allocations: 202.9 kB / 0.5864 GB, free: 7.48 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.9037, allocations: 25.7 kB / 0.5864 GB, free: 7.449 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.9041, allocations: 314 kB / 0.5867 GB, free: 7.141 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.9043, allocations: 74.86 kB / 0.5868 GB, free: 7.066 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.9043, allocations: 0 / 0.5868 GB, free: 7.066 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.9046, allocations: 326.8 kB / 0.5871 GB, free: 6.738 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.9051, allocations: 111.9 kB / 0.5872 GB, free: 6.629 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.9058, allocations: 220.6 kB / 0.5874 GB, free: 6.367 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/0.9064, allocations: 145.7 kB / 0.5875 GB, free: 6.227 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.9064, allocations: 0 / 0.5875 GB, free: 6.227 MB / 427.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001671/0.9082, allocations: 377.4 kB / 0.5879 GB, free: 5.852 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.9083, allocations: 8 kB / 0.5879 GB, free: 5.844 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/0.9085, allocations: 43.97 kB / 0.5879 GB, free: 5.801 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-05/0.9085, allocations: 7.953 kB / 0.5879 GB, free: 5.793 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.909, allocations: 48.33 kB / 0.588 GB, free: 5.746 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.9091, allocations: 4 kB / 0.588 GB, free: 5.742 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000999/0.9101, allocations: 35.81 kB / 0.588 GB, free: 5.707 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.9102, allocations: 20 kB / 0.588 GB, free: 5.688 MB / 427.1 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 () * 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.0002807/0.9105, allocations: 120.8 kB / 0.5882 GB, free: 5.562 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001416/0.912, allocations: 297.2 kB / 0.5884 GB, free: 5.266 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.9122, allocations: 27.66 kB / 0.5885 GB, free: 5.238 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.9141, allocations: 411 kB / 0.5889 GB, free: 4.828 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.9142, allocations: 4 kB / 0.5889 GB, free: 4.824 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.9143, allocations: 0 / 0.5889 GB, free: 4.824 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.9143, allocations: 3.938 kB / 0.5889 GB, free: 4.82 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.9157, allocations: 362 kB / 0.5892 GB, free: 4.43 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001797/0.9159, allocations: 43.97 kB / 0.5893 GB, free: 4.387 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.9163, allocations: 31.91 kB / 0.5893 GB, free: 4.355 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.9164, allocations: 0 / 0.5893 GB, free: 4.355 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/0.9165, allocations: 11.98 kB / 0.5893 GB, free: 4.344 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.9165, allocations: 7.953 kB / 0.5893 GB, free: 4.336 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.9165, allocations: 0 / 0.5893 GB, free: 4.336 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.9181, allocations: 0.5637 MB / 0.5899 GB, free: 3.742 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.9183, allocations: 108.7 kB / 0.59 GB, free: 3.617 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.9184, allocations: 0 / 0.59 GB, free: 3.617 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007375/0.9192, allocations: 23.98 kB / 0.59 GB, free: 3.594 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.9194, allocations: 23.97 kB / 0.59 GB, free: 3.57 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/0.9195, allocations: 15.98 kB / 0.59 GB, free: 3.555 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.9198, allocations: 149.6 kB / 0.5902 GB, free: 3.41 MB / 427.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.9198, allocations: 0 / 0.5902 GB, free: 3.41 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001757/0.9216, allocations: 203.2 kB / 0.5904 GB, free: 3.211 MB / 427.1 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 () * 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.003083/0.9247, allocations: 1.424 MB / 0.5917 GB, free: 1.758 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.9264, allocations: 0.5982 MB / 0.5923 GB, free: 1.086 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 6.413e-06/0.9265, allocations: 0 / 0.5923 GB, free: 1.086 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.9274, allocations: 456.2 kB / 0.5928 GB, free: 0.5664 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.9283, allocations: 24.66 kB / 0.5928 GB, free: 0.543 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.9327, allocations: 0.8041 MB / 0.5936 GB, free: 15.69 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/0.9337, allocations: 0.8845 MB / 0.5944 GB, free: 14.77 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.9341, allocations: 135.4 kB / 0.5946 GB, free: 14.64 MB / 443.1 MB Notification: Performance of SimCode: time 1.523e-06/0.9341, allocations: 0 / 0.5946 GB, free: 14.64 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.596/3.531, allocations: 9.358 MB / 0.6037 GB, free: 5.277 MB / 443.1 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