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.001718/0.001718, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0009621/0.0009618, allocations: 95.09 kB / 281.6 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.15 MB / 376.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.795e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1407, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6138, allocations: 90.36 MB / 0.583 GB, free: 6.102 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.6142, allocations: 95.94 kB / 0.5831 GB, free: 6.008 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01964/0.6339, allocations: 6.823 MB / 0.5898 GB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6339, allocations: 0 / 0.5898 GB, free: 15.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.6339, allocations: 0 / 0.5898 GB, free: 15.16 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.0005815/0.6345, allocations: 424.2 kB / 0.5902 GB, free: 14.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6346, allocations: 11.98 kB / 0.5902 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.6346, allocations: 11.91 kB / 0.5902 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.6349, allocations: 200.2 kB / 0.5904 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.6349, allocations: 8 kB / 0.5904 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.6349, allocations: 7.938 kB / 0.5904 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002334/0.6352, allocations: 123.9 kB / 0.5905 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.6354, allocations: 143.3 kB / 0.5907 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.6355, allocations: 0 / 0.5907 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.6355, allocations: 3.984 kB / 0.5907 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.6355, allocations: 8 kB / 0.5907 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.6363, allocations: 448.8 kB / 0.5911 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.6367, allocations: 134.5 kB / 0.5912 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.6367, allocations: 44.88 kB / 0.5913 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.6368, allocations: 4 kB / 0.5913 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.6368, allocations: 38.52 kB / 0.5913 GB, free: 13.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.6368, allocations: 0 / 0.5913 GB, free: 13.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002877/0.6371, allocations: 117.7 kB / 0.5914 GB, free: 13.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.6372, allocations: 55.41 kB / 0.5915 GB, free: 13.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6373, allocations: 121.2 kB / 0.5916 GB, free: 13.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.6373, allocations: 29.7 kB / 0.5916 GB, free: 13.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.6374, allocations: 115.8 kB / 0.5917 GB, free: 12.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.6374, allocations: 27.56 kB / 0.5918 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.6374, allocations: 0 / 0.5918 GB, free: 12.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6376, allocations: 326.8 kB / 0.5921 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.6377, allocations: 39.97 kB / 0.5921 GB, free: 12.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.6378, allocations: 54.48 kB / 0.5922 GB, free: 12.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.494e-05/0.6378, allocations: 43.95 kB / 0.5922 GB, free: 12.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6378, allocations: 0 / 0.5922 GB, free: 12.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002054/0.6381, allocations: 137.5 kB / 0.5923 GB, free: 12.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6381, allocations: 7.953 kB / 0.5923 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6381, allocations: 7.984 kB / 0.5924 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6381, allocations: 4 kB / 0.5924 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.6384, allocations: 51.89 kB / 0.5924 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007659/0.6392, allocations: 1.219 MB / 0.5936 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.6393, allocations: 12.02 kB / 0.5936 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.6393, allocations: 8 kB / 0.5936 GB, free: 10.97 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.0001205/0.6394, allocations: 111.4 kB / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001859/0.6396, allocations: 117.5 kB / 0.5938 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.6397, allocations: 11.81 kB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.64, allocations: 150.4 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.64, allocations: 3.953 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.64, allocations: 0 / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.64, allocations: 0 / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.6402, allocations: 194.1 kB / 0.5942 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6402, allocations: 3.938 kB / 0.5942 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.6405, allocations: 43.97 kB / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6405, allocations: 0 / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.6405, allocations: 0 / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007462/0.6413, allocations: 1.234 MB / 0.5954 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6413, allocations: 3.938 kB / 0.5954 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.6415, allocations: 215.6 kB / 0.5956 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.6416, allocations: 85.02 kB / 0.5957 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.6416, allocations: 0 / 0.5957 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.6417, allocations: 11.98 kB / 0.5957 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.6418, allocations: 7.938 kB / 0.5957 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.6418, allocations: 3.984 kB / 0.5957 GB, free: 8.656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.724e-05/0.6419, allocations: 104 kB / 0.5958 GB, free: 8.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6419, allocations: 4 kB / 0.5958 GB, free: 8.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000312/0.6422, allocations: 51.78 kB / 0.5959 GB, free: 8.5 MB / 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.0006734/0.6429, allocations: 0.7904 MB / 0.5967 GB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.6432, allocations: 103.9 kB / 0.5968 GB, free: 7.582 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6432, allocations: 4 kB / 0.5968 GB, free: 7.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.6434, allocations: 60.08 kB / 0.5968 GB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.6437, allocations: 19.92 kB / 0.5968 GB, free: 7.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.6443, allocations: 254.1 kB / 0.5971 GB, free: 7.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.6446, allocations: 0.7314 MB / 0.5978 GB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.183e-05/0.6447, allocations: 24.41 kB / 0.5978 GB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.6448, allocations: 36.83 kB / 0.5979 GB, free: 6.398 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6448, allocations: 0 / 0.5979 GB, free: 6.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.6682, allocations: 2.893 MB / 0.6007 GB, free: 3.539 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.6685, allocations: 196.7 kB / 0.6009 GB, free: 3.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.334, allocations: 1.891 kB / 0.6009 GB, free: 3.34 MB / 410.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