Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001192, allocations: 181.5 kB / 14.15 MB, free: 1.164 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.3 MB / 236 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008801, allocations: 91.98 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.352e-05, allocations: 224 / 451.9 MB, free: 9.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.154, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.6067, allocations: 91.03 MB / 0.5907 GB, free: 14.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.607, allocations: 102.3 kB / 0.5908 GB, free: 14.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01932/0.6264, allocations: 6.887 MB / 0.5975 GB, free: 7.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6264, allocations: 4 kB / 0.5975 GB, free: 7.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.6265, allocations: 0 / 0.5975 GB, free: 7.191 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006207/0.6271, allocations: 418.4 kB / 0.5979 GB, free: 6.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.6271, allocations: 12.03 kB / 0.5979 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.138e-05/0.6272, allocations: 46.55 kB / 0.598 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.6273, allocations: 11.91 kB / 0.598 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.6275, allocations: 203.9 kB / 0.5982 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.6276, allocations: 8 kB / 0.5982 GB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.6276, allocations: 11.95 kB / 0.5982 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.6279, allocations: 150.1 kB / 0.5984 GB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6279, allocations: 3.938 kB / 0.5984 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.6279, allocations: 4 kB / 0.5984 GB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.628, allocations: 15.98 kB / 0.5984 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.6282, allocations: 143.9 kB / 0.5985 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008135/0.629, allocations: 492.1 kB / 0.599 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.6294, allocations: 146.4 kB / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.6295, allocations: 44.84 kB / 0.5992 GB, free: 5.355 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.6295, allocations: 3.984 kB / 0.5992 GB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.6296, allocations: 30.56 kB / 0.5992 GB, free: 5.312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.6296, allocations: 0 / 0.5992 GB, free: 5.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003124/0.6299, allocations: 125.6 kB / 0.5993 GB, free: 5.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.6299, allocations: 59.44 kB / 0.5994 GB, free: 5.113 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.6302, allocations: 182.5 kB / 0.5996 GB, free: 4.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.6302, allocations: 33.7 kB / 0.5996 GB, free: 4.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.6303, allocations: 112 kB / 0.5997 GB, free: 4.766 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.6303, allocations: 31.62 kB / 0.5997 GB, free: 4.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.6303, allocations: 0 / 0.5997 GB, free: 4.734 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6305, allocations: 330.8 kB / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.6306, allocations: 35.97 kB / 0.6001 GB, free: 4.367 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/0.6307, allocations: 58.48 kB / 0.6001 GB, free: 4.301 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.241e-05/0.6308, allocations: 47.95 kB / 0.6002 GB, free: 4.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6308, allocations: 0 / 0.6002 GB, free: 4.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002369/0.631, allocations: 145.3 kB / 0.6003 GB, free: 4.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6311, allocations: 8 kB / 0.6003 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6311, allocations: 0 / 0.6003 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.6311, allocations: 0 / 0.6003 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.6314, allocations: 51.89 kB / 0.6004 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009194/0.6323, allocations: 1.219 MB / 0.6016 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.6325, allocations: 19.88 kB / 0.6016 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.6325, allocations: 7.984 kB / 0.6016 GB, free: 2.754 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.6326, allocations: 113.2 kB / 0.6017 GB, free: 2.637 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.6327, allocations: 11.81 kB / 0.6017 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.633, allocations: 155.1 kB / 0.6019 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.633, allocations: 7.984 kB / 0.6019 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.633, allocations: 0 / 0.6019 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6331, allocations: 3.953 kB / 0.6019 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.6334, allocations: 225.4 kB / 0.6021 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.6334, allocations: 0 / 0.6021 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.6336, allocations: 47.97 kB / 0.6021 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.6337, allocations: 8.078 kB / 0.6021 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6337, allocations: 11.88 kB / 0.6021 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008921/0.6346, allocations: 1.211 MB / 0.6033 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.6346, allocations: 8.219 kB / 0.6033 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.6349, allocations: 223.3 kB / 0.6035 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.6349, allocations: 92.91 kB / 0.6036 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.635, allocations: 4 kB / 0.6036 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.6351, allocations: 11.98 kB / 0.6037 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.6352, allocations: 4 kB / 0.6037 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.6352, allocations: 7.984 kB / 0.6037 GB, free: 484 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.6353, allocations: 153.2 kB / 0.6038 GB, free: 332 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.345e-06/0.6353, allocations: 0 / 0.6038 GB, free: 332 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.6357, allocations: 47.88 kB / 0.6039 GB, free: 284 kB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007297/0.6364, allocations: 0.8008 MB / 0.6046 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003461/0.6368, allocations: 116 kB / 0.6047 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6368, allocations: 192 / 0.6047 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.637, allocations: 71.81 kB / 0.6048 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.6373, allocations: 24.17 kB / 0.6048 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.6379, allocations: 271.8 kB / 0.6051 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.6382, allocations: 0.7318 MB / 0.6058 GB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.02e-05/0.6383, allocations: 37.16 kB / 0.6058 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.6384, allocations: 40.83 kB / 0.6059 GB, free: 14.11 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6384, allocations: 0 / 0.6059 GB, free: 14.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.6583, allocations: 4.236 MB / 0.61 GB, free: 10.11 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.6586, allocations: 232.8 kB / 0.6102 GB, free: 9.879 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.531, allocations: 3.938 kB / 0.6103 GB, free: 9.875 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat