Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.001071/0.001071, allocations: 184.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008432/0.0008433, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2144/0.2144, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.4736, allocations: 91.66 MB / 0.5684 GB, free: 8.027 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.4739, allocations: 96.48 kB / 0.5685 GB, free: 7.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02754/0.5015, allocations: 10.07 MB / 0.5783 GB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5015, allocations: 0 / 0.5783 GB, free: 15.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.184e-05/0.5016, allocations: 8 kB / 0.5783 GB, free: 15.32 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008435/0.5025, allocations: 0.5064 MB / 0.5788 GB, free: 14.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.5025, allocations: 8.031 kB / 0.5788 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.5026, allocations: 67.16 kB / 0.5789 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.5027, allocations: 31.62 kB / 0.5789 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.5031, allocations: 254 kB / 0.5792 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.5031, allocations: 23.19 kB / 0.5792 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.5031, allocations: 26.81 kB / 0.5792 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.5039, allocations: 395 kB / 0.5796 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5039, allocations: 3.938 kB / 0.5796 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.5039, allocations: 11.55 kB / 0.5796 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.504, allocations: 24.64 kB / 0.5796 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.5046, allocations: 420 kB / 0.58 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.5061, allocations: 0.8922 MB / 0.5809 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.5067, allocations: 296.5 kB / 0.5812 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.5067, allocations: 8.047 kB / 0.5812 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5068, allocations: 30.56 kB / 0.5812 GB, free: 12.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.847e-06/0.5068, allocations: 8 kB / 0.5812 GB, free: 12.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007877/0.5076, allocations: 379.7 kB / 0.5816 GB, free: 12.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.5076, allocations: 55.41 kB / 0.5816 GB, free: 12.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.5079, allocations: 311.6 kB / 0.5819 GB, free: 11.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.5079, allocations: 25.7 kB / 0.5819 GB, free: 11.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.508, allocations: 162.1 kB / 0.5821 GB, free: 11.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.5081, allocations: 50.86 kB / 0.5822 GB, free: 11.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.5081, allocations: 3.938 kB / 0.5822 GB, free: 11.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5082, allocations: 342.2 kB / 0.5825 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.5084, allocations: 104.1 kB / 0.5826 GB, free: 11.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.5087, allocations: 149.9 kB / 0.5827 GB, free: 11.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.5089, allocations: 126.1 kB / 0.5828 GB, free: 11.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5089, allocations: 0 / 0.5828 GB, free: 11.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005599/0.5095, allocations: 335.5 kB / 0.5832 GB, free: 10.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5095, allocations: 8 kB / 0.5832 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5095, allocations: 0 / 0.5832 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.5096, allocations: 7.984 kB / 0.5832 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.5101, allocations: 107.9 kB / 0.5833 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.5122, allocations: 3.705 MB / 0.5869 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.5125, allocations: 43.92 kB / 0.5869 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.5125, allocations: 8 kB / 0.587 GB, free: 6.746 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.5127, allocations: 173.1 kB / 0.5871 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.5128, allocations: 31.61 kB / 0.5871 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.5135, allocations: 357.8 kB / 0.5875 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5135, allocations: 0 / 0.5875 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5135, allocations: 4 kB / 0.5875 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.5135, allocations: 3.984 kB / 0.5875 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.5139, allocations: 304 kB / 0.5878 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5139, allocations: 0 / 0.5878 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.5145, allocations: 119.6 kB / 0.5879 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5145, allocations: 4 kB / 0.5879 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.5145, allocations: 4 kB / 0.5879 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.5166, allocations: 3.701 MB / 0.5915 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5166, allocations: 0 / 0.5915 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.5172, allocations: 382 kB / 0.5919 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5173, allocations: 104.8 kB / 0.592 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.5173, allocations: 4 kB / 0.592 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5175, allocations: 15.86 kB / 0.592 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.5176, allocations: 11.98 kB / 0.592 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.5176, allocations: 7.984 kB / 0.592 GB, free: 1.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000251/0.5179, allocations: 252 kB / 0.5923 GB, free: 1.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5179, allocations: 0 / 0.5923 GB, free: 1.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.5183, allocations: 83.84 kB / 0.5923 GB, free: 1.203 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.5194, allocations: 0.985 MB / 0.5933 GB, free: 240 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008896/0.5203, allocations: 298.7 kB / 0.5936 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5203, allocations: 4.375 kB / 0.5936 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.5209, allocations: 183.3 kB / 0.5938 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5212, allocations: 55.86 kB / 0.5938 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.5245, allocations: 2.876 MB / 0.5966 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.5249, allocations: 0.8057 MB / 0.5974 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.5251, allocations: 70.2 kB / 0.5975 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.5252, allocations: 80.09 kB / 0.5976 GB, free: 12.14 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5252, allocations: 0 / 0.5976 GB, free: 12.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.5487, allocations: 8.387 MB / 0.6058 GB, free: 3.805 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.5489, allocations: 259.4 kB / 0.606 GB, free: 3.449 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.555, allocations: 0 / 0.606 GB, free: 3.449 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat