Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008681/0.0008681, allocations: 94.5 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 45.14 MB / 383.7 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.851e-05, allocations: 0 / 453.3 MB, free: 75.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1275, allocations: 63.25 MB / 0.5045 GB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.6143, allocations: 93.56 MB / 0.5958 GB, free: 8.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.6147, allocations: 91.62 kB / 0.5959 GB, free: 8.543 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02879/0.6435, allocations: 9.984 MB / 0.6057 GB, free: 172 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6435, allocations: 0 / 0.6057 GB, free: 172 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.6436, allocations: 4 kB / 0.6057 GB, free: 168 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001004/0.6446, allocations: 0.5105 MB / 0.6062 GB, free: 15.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.6446, allocations: 8.031 kB / 0.6062 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004746/0.6451, allocations: 74.91 kB / 0.6063 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.6455, allocations: 222.2 kB / 0.6065 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.6455, allocations: 4 kB / 0.6065 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.6456, allocations: 8 kB / 0.6065 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002878/0.6459, allocations: 146 kB / 0.6066 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.6463, allocations: 236.8 kB / 0.6069 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6463, allocations: 0 / 0.6069 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.6463, allocations: 0 / 0.6069 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.6464, allocations: 16 kB / 0.6069 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.6476, allocations: 0.7089 MB / 0.6076 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.648, allocations: 196.8 kB / 0.6078 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.6482, allocations: 65.97 kB / 0.6078 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.6482, allocations: 11.64 kB / 0.6078 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.6483, allocations: 38.59 kB / 0.6079 GB, free: 13.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.6483, allocations: 0 / 0.6079 GB, free: 13.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004181/0.6487, allocations: 163.3 kB / 0.608 GB, free: 13.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.6488, allocations: 102.8 kB / 0.6081 GB, free: 13.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.649, allocations: 167.5 kB / 0.6083 GB, free: 13.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.649, allocations: 25.7 kB / 0.6083 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.6491, allocations: 153.6 kB / 0.6084 GB, free: 13.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.6492, allocations: 42.61 kB / 0.6085 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.6492, allocations: 0 / 0.6085 GB, free: 13.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6494, allocations: 326.5 kB / 0.6088 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.6495, allocations: 54.52 kB / 0.6089 GB, free: 12.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.6496, allocations: 91.42 kB / 0.6089 GB, free: 12.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.6498, allocations: 78.36 kB / 0.609 GB, free: 12.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6498, allocations: 0 / 0.609 GB, free: 12.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000338/0.6501, allocations: 183.2 kB / 0.6092 GB, free: 12.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.6501, allocations: 15.89 kB / 0.6092 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.6502, allocations: 8 kB / 0.6092 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6502, allocations: 160 / 0.6092 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.6504, allocations: 47.2 kB / 0.6093 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.6504, allocations: 4 kB / 0.6093 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.6507, allocations: 27.83 kB / 0.6093 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.6507, allocations: 11.98 kB / 0.6093 GB, free: 12.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001086/0.6508, allocations: 112.9 kB / 0.6094 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003307/0.6511, allocations: 166.9 kB / 0.6096 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/0.6512, allocations: 15.77 kB / 0.6096 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.6516, allocations: 185.2 kB / 0.6098 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6516, allocations: 4 kB / 0.6098 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.6516, allocations: 0 / 0.6098 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.6516, allocations: 3.938 kB / 0.6098 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.652, allocations: 246 kB / 0.61 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/0.6521, allocations: 11.98 kB / 0.61 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.6522, allocations: 31.97 kB / 0.61 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6523, allocations: 0 / 0.61 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.6523, allocations: 11.94 kB / 0.6101 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.6523, allocations: 0 / 0.6101 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6523, allocations: 4 kB / 0.6101 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.6528, allocations: 443.7 kB / 0.6105 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.6528, allocations: 88.92 kB / 0.6106 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.6529, allocations: 0 / 0.6106 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.6532, allocations: 27.97 kB / 0.6106 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.85e-05/0.6533, allocations: 15.36 kB / 0.6106 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.6533, allocations: 4 kB / 0.6106 GB, free: 11.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.6534, allocations: 126.1 kB / 0.6107 GB, free: 11.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6534, allocations: 0 / 0.6107 GB, free: 11.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005757/0.654, allocations: 98.95 kB / 0.6108 GB, free: 10.95 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001263/0.6553, allocations: 1.176 MB / 0.612 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.6557, allocations: 227.2 kB / 0.6122 GB, free: 9.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6557, allocations: 0 / 0.6122 GB, free: 9.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.6559, allocations: 153.5 kB / 0.6123 GB, free: 9.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.6563, allocations: 19.42 kB / 0.6124 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.6573, allocations: 390.9 kB / 0.6127 GB, free: 8.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.6578, allocations: 0.7653 MB / 0.6135 GB, free: 8.172 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.6579, allocations: 32.73 kB / 0.6135 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.658, allocations: 62.22 kB / 0.6136 GB, free: 8.117 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.658, allocations: 0 / 0.6136 GB, free: 8.117 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.6859, allocations: 4.386 MB / 0.6178 GB, free: 3.773 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/0.6863, allocations: 188 kB / 0.618 GB, free: 3.582 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.42, allocations: 0 / 0.618 GB, free: 3.582 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat