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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.001646/0.001646, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.652/1.652, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.00105/0.00105, allocations: 92.25 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4312/0.4312, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.118e-05, allocations: 0 / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1528, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5689, allocations: 93.97 MB / 0.5647 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5692, allocations: 102 kB / 0.5648 GB, free: 11.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03085/0.6001, allocations: 13.7 MB / 0.5782 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6002, allocations: 0 / 0.5782 GB, free: 15.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.6002, allocations: 8 kB / 0.5782 GB, free: 15.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009626/0.6011, allocations: 0.6321 MB / 0.5788 GB, free: 14.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6012, allocations: 8.031 kB / 0.5788 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.121e-05/0.6013, allocations: 80.84 kB / 0.5789 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.6014, allocations: 39.53 kB / 0.5789 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.6018, allocations: 290.2 kB / 0.5792 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.6018, allocations: 27.16 kB / 0.5792 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.6019, allocations: 41.3 kB / 0.5793 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/0.6026, allocations: 0.5213 MB / 0.5798 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6026, allocations: 0 / 0.5798 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.6027, allocations: 19.73 kB / 0.5798 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.6027, allocations: 16.78 kB / 0.5798 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.6032, allocations: 353.9 kB / 0.5801 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.6051, allocations: 1.31 MB / 0.5814 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.6055, allocations: 277.6 kB / 0.5817 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.6057, allocations: 124 kB / 0.5818 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.6057, allocations: 8 kB / 0.5818 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.6058, allocations: 33.88 kB / 0.5818 GB, free: 12.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.6058, allocations: 0 / 0.5818 GB, free: 12.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005985/0.6064, allocations: 310.9 kB / 0.5821 GB, free: 11.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.6065, allocations: 114.4 kB / 0.5823 GB, free: 11.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.607, allocations: 446.8 kB / 0.5827 GB, free: 11.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.607, allocations: 28.45 kB / 0.5827 GB, free: 11.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.6072, allocations: 208.4 kB / 0.5829 GB, free: 11.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.6072, allocations: 57.31 kB / 0.583 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.6072, allocations: 3.375 kB / 0.583 GB, free: 11.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6074, allocations: 355.5 kB / 0.5833 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.6076, allocations: 108.4 kB / 0.5834 GB, free: 10.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.6078, allocations: 196 kB / 0.5836 GB, free: 10.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.6081, allocations: 150.1 kB / 0.5837 GB, free: 10.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6081, allocations: 0 / 0.5837 GB, free: 10.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00059/0.6087, allocations: 385.5 kB / 0.5841 GB, free: 10.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6087, allocations: 4 kB / 0.5841 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-05/0.6088, allocations: 31.97 kB / 0.5841 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.6088, allocations: 4 kB / 0.5841 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.609, allocations: 43.75 kB / 0.5842 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.609, allocations: 15.94 kB / 0.5842 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.6093, allocations: 60.39 kB / 0.5843 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.6093, allocations: 19.92 kB / 0.5843 GB, free: 9.914 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001159/0.6094, allocations: 116.7 kB / 0.5844 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.6095, allocations: 35.53 kB / 0.5844 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007147/0.6103, allocations: 413 kB / 0.5848 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6103, allocations: 4 kB / 0.5848 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6103, allocations: 3.984 kB / 0.5848 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6103, allocations: 7.938 kB / 0.5848 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.6108, allocations: 376.5 kB / 0.5852 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.204e-05/0.6109, allocations: 30.97 kB / 0.5852 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.6111, allocations: 35.97 kB / 0.5852 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6111, allocations: 0 / 0.5852 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.6111, allocations: 8 kB / 0.5853 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6111, allocations: 0 / 0.5853 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6111, allocations: 4 kB / 0.5853 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.6118, allocations: 0.5688 MB / 0.5858 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6119, allocations: 116.6 kB / 0.5859 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.612, allocations: 3.812 kB / 0.5859 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.6122, allocations: 23.94 kB / 0.586 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.6123, allocations: 23.66 kB / 0.586 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.6124, allocations: 15.98 kB / 0.586 GB, free: 8.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003522/0.6127, allocations: 354 kB / 0.5863 GB, free: 7.918 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.613e-06/0.6127, allocations: 0 / 0.5863 GB, free: 7.918 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005908/0.6133, allocations: 138.9 kB / 0.5865 GB, free: 7.789 MB / 410.7 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001141/0.6145, allocations: 1.358 MB / 0.5878 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.615, allocations: 0.5021 MB / 0.5883 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6151, allocations: 4.188 kB / 0.5883 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.6154, allocations: 377 kB / 0.5886 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.6159, allocations: 87.5 kB / 0.5887 GB, free: 5.445 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.6173, allocations: 0.7091 MB / 0.5894 GB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.6178, allocations: 0.8563 MB / 0.5903 GB, free: 3.883 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.6179, allocations: 59.23 kB / 0.5903 GB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.6181, allocations: 113.8 kB / 0.5904 GB, free: 3.785 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6181, allocations: 0 / 0.5904 GB, free: 3.785 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.6422, allocations: 11.57 MB / 0.6017 GB, free: 8.281 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.6424, allocations: 211.8 kB / 0.6019 GB, free: 8.047 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.034, allocations: 0 / 0.6019 GB, free: 8.047 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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_res.mat does not exist to compare? outputFormat=mat