Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.002158/0.002158, allocations: 178.4 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.071/2.071, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001952/0.001952, allocations: 93.09 kB / 262.1 MB, free: 13.86 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.3229/0.3229, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.125e-05, allocations: 224 / 418.3 MB, free: 40.91 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4074, allocations: 58.85 MB / 477.2 MB, free: 5.297 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2576/0.665, allocations: 98.55 MB / 0.5623 GB, free: 0.7109 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005956/0.6657, allocations: 95.92 kB / 0.5624 GB, free: 0.6172 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1162/0.7819, allocations: 23.95 MB / 0.5857 GB, free: 8.465 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.782, allocations: 0 / 0.5857 GB, free: 8.465 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.782, allocations: 4 kB / 0.5857 GB, free: 8.461 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00177/0.7838, allocations: 0.7486 MB / 0.5865 GB, free: 7.668 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.7838, allocations: 12.03 kB / 0.5865 GB, free: 7.656 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.784, allocations: 55.3 kB / 0.5865 GB, free: 7.602 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.7847, allocations: 302.3 kB / 0.5868 GB, free: 7.266 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.7848, allocations: 20 kB / 0.5868 GB, free: 7.246 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/0.7849, allocations: 28 kB / 0.5869 GB, free: 7.219 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001175/0.7861, allocations: 454.3 kB / 0.5873 GB, free: 6.773 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.7876, allocations: 0.6501 MB / 0.5879 GB, free: 6.105 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.7877, allocations: 0 / 0.5879 GB, free: 6.105 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.7877, allocations: 4 kB / 0.5879 GB, free: 6.102 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.271e-05/0.7878, allocations: 29.23 kB / 0.588 GB, free: 6.07 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.7917, allocations: 1.519 MB / 0.5895 GB, free: 4.5 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.7924, allocations: 271.6 kB / 0.5897 GB, free: 4.207 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.7928, allocations: 110.5 kB / 0.5898 GB, free: 4.09 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.061e-05/0.7929, allocations: 15.98 kB / 0.5898 GB, free: 4.074 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.7929, allocations: 34.5 kB / 0.5899 GB, free: 4.031 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 3.987e-06/0.7929, allocations: 4 kB / 0.5899 GB, free: 4.027 MB / 427.1 MB Notification: Performance of matching and sorting (n=20): time 0.001071/0.794, allocations: 296.1 kB / 0.5902 GB, free: 3.734 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.7941, allocations: 111 kB / 0.5903 GB, free: 3.602 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.7947, allocations: 301 kB / 0.5905 GB, free: 3.305 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.7948, allocations: 25.7 kB / 0.5906 GB, free: 3.273 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.7951, allocations: 365.1 kB / 0.5909 GB, free: 2.914 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.7952, allocations: 75 kB / 0.591 GB, free: 2.84 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.7953, allocations: 64 / 0.591 GB, free: 2.84 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7954, allocations: 334.8 kB / 0.5913 GB, free: 2.504 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.7959, allocations: 153 kB / 0.5915 GB, free: 2.352 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/0.7965, allocations: 420.3 kB / 0.5919 GB, free: 1.812 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.7972, allocations: 231.7 kB / 0.5921 GB, free: 1.586 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.7972, allocations: 0 / 0.5921 GB, free: 1.586 MB / 427.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001553/0.7988, allocations: 0.5404 MB / 0.5926 GB, free: 1.039 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.7988, allocations: 8 kB / 0.5926 GB, free: 1.031 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001534/0.799, allocations: 51.95 kB / 0.5927 GB, free: 0.9805 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-05/0.7991, allocations: 12 kB / 0.5927 GB, free: 0.9688 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.7996, allocations: 79.83 kB / 0.5928 GB, free: 0.8906 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/0.7997, allocations: 19.92 kB / 0.5928 GB, free: 0.8711 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006518/0.8003, allocations: 55.81 kB / 0.5928 GB, free: 0.8164 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-05/0.8004, allocations: 35.98 kB / 0.5929 GB, free: 0.7812 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0002207/0.8007, allocations: 143.9 kB / 0.593 GB, free: 0.6367 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009935/0.8017, allocations: 289.1 kB / 0.5933 GB, free: 356 kB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.8018, allocations: 31.62 kB / 0.5933 GB, free: 324 kB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.8032, allocations: 428.4 kB / 0.5937 GB, free: 15.89 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.8033, allocations: 11.95 kB / 0.5937 GB, free: 15.88 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8033, allocations: 0 / 0.5937 GB, free: 15.88 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8033, allocations: 0 / 0.5937 GB, free: 15.88 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.8043, allocations: 365.8 kB / 0.5941 GB, free: 15.48 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001369/0.8044, allocations: 43.95 kB / 0.5941 GB, free: 15.44 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.8048, allocations: 27.97 kB / 0.5941 GB, free: 15.41 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.8048, allocations: 4 kB / 0.5941 GB, free: 15.41 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.8048, allocations: 11.94 kB / 0.5942 GB, free: 15.39 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.8049, allocations: 8 kB / 0.5942 GB, free: 15.39 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8049, allocations: 0 / 0.5942 GB, free: 15.39 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.806, allocations: 0.556 MB / 0.5947 GB, free: 14.8 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.8062, allocations: 112.7 kB / 0.5948 GB, free: 14.67 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.506e-05/0.8063, allocations: 4 kB / 0.5948 GB, free: 14.67 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.8068, allocations: 23.97 kB / 0.5948 GB, free: 14.64 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.8069, allocations: 19.98 kB / 0.5949 GB, free: 14.62 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.807, allocations: 15.98 kB / 0.5949 GB, free: 14.61 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0003476/0.8073, allocations: 212.6 kB / 0.5951 GB, free: 14.4 MB / 443.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8074, allocations: 0 / 0.5951 GB, free: 14.4 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.001342/0.8087, allocations: 219.2 kB / 0.5953 GB, free: 14.19 MB / 443.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.002284/0.811, allocations: 1.425 MB / 0.5967 GB, free: 12.73 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.8125, allocations: 0.666 MB / 0.5973 GB, free: 12 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.8125, allocations: 3.938 kB / 0.5973 GB, free: 11.99 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.8132, allocations: 452.3 kB / 0.5978 GB, free: 11.48 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.8138, allocations: 44.52 kB / 0.5978 GB, free: 11.44 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.8176, allocations: 0.8509 MB / 0.5986 GB, free: 10.54 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.8184, allocations: 0.8965 MB / 0.5995 GB, free: 9.617 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.8188, allocations: 139.4 kB / 0.5996 GB, free: 9.48 MB / 443.1 MB Notification: Performance of SimCode: time 1.483e-06/0.8188, allocations: 0 / 0.5996 GB, free: 9.48 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.68/3.499, allocations: 10.51 MB / 0.6099 GB, free: 14.96 MB / 459.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat