Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.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_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001137/0.001137, allocations: 198 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008756/0.0008756, allocations: 97.7 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3844/0.3844, allocations: 45.23 MB / 394.6 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002706, allocations: 4 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2738, allocations: 63.25 MB / 0.5193 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.386, allocations: 92.16 MB / 0.6093 GB, free: 11.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.3862, allocations: 103.9 kB / 0.6094 GB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.4049, allocations: 6.99 MB / 0.6162 GB, free: 4.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4049, allocations: 0 / 0.6162 GB, free: 4.109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.4049, allocations: 4 kB / 0.6162 GB, free: 4.105 MB / 426.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.0005213/0.4055, allocations: 439.1 kB / 0.6166 GB, free: 3.629 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4055, allocations: 16.03 kB / 0.6167 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.4056, allocations: 42.55 kB / 0.6167 GB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.4056, allocations: 15.81 kB / 0.6167 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.4058, allocations: 206.8 kB / 0.6169 GB, free: 3.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4059, allocations: 8 kB / 0.6169 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.4059, allocations: 4 kB / 0.6169 GB, free: 3.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.4062, allocations: 173.5 kB / 0.6171 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.4062, allocations: 4 kB / 0.6171 GB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.4062, allocations: 7.984 kB / 0.6171 GB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.4063, allocations: 8 kB / 0.6171 GB, free: 3.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.4066, allocations: 175.8 kB / 0.6173 GB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.4074, allocations: 0.4884 MB / 0.6178 GB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.4077, allocations: 158.4 kB / 0.6179 GB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.4078, allocations: 4 kB / 0.6179 GB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.4078, allocations: 34.56 kB / 0.6179 GB, free: 2.176 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4078, allocations: 0 / 0.6179 GB, free: 2.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006085/0.4084, allocations: 213.5 kB / 0.6181 GB, free: 1.961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.4085, allocations: 55.41 kB / 0.6182 GB, free: 1.895 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.4086, allocations: 182.7 kB / 0.6184 GB, free: 1.703 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.4087, allocations: 25.7 kB / 0.6184 GB, free: 1.672 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.4087, allocations: 115.9 kB / 0.6185 GB, free: 1.555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.4088, allocations: 35.55 kB / 0.6185 GB, free: 1.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.4088, allocations: 3.938 kB / 0.6185 GB, free: 1.516 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.4089, allocations: 334.8 kB / 0.6189 GB, free: 1.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.409, allocations: 47.95 kB / 0.6189 GB, free: 1.133 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.4092, allocations: 74.52 kB / 0.619 GB, free: 1.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.4093, allocations: 67.94 kB / 0.619 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4093, allocations: 0 / 0.619 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003495/0.4097, allocations: 177.7 kB / 0.6192 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4097, allocations: 8 kB / 0.6192 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4097, allocations: 0 / 0.6192 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.4097, allocations: 0 / 0.6192 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.41, allocations: 52.05 kB / 0.6193 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006155/0.4107, allocations: 1.227 MB / 0.6205 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4108, allocations: 19.88 kB / 0.6205 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4108, allocations: 4 kB / 0.6205 GB, free: 15.45 MB / 442.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 () * Number of clocked 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.0001126/0.4109, allocations: 129.8 kB / 0.6206 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.411, allocations: 15.86 kB / 0.6206 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.4114, allocations: 202.9 kB / 0.6208 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4114, allocations: 4 kB / 0.6208 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4114, allocations: 0 / 0.6208 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4114, allocations: 0 / 0.6208 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.4116, allocations: 221.6 kB / 0.621 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4117, allocations: 8 kB / 0.621 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4119, allocations: 47.89 kB / 0.6211 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4119, allocations: 4 kB / 0.6211 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4119, allocations: 3.953 kB / 0.6211 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005641/0.4125, allocations: 1.215 MB / 0.6223 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4125, allocations: 3.938 kB / 0.6223 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.4129, allocations: 263.4 kB / 0.6225 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.413, allocations: 92.91 kB / 0.6226 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.413, allocations: 4 kB / 0.6226 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4131, allocations: 11.98 kB / 0.6226 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.4132, allocations: 7.938 kB / 0.6227 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.4132, allocations: 4 kB / 0.6227 GB, free: 13.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.4133, allocations: 157.1 kB / 0.6228 GB, free: 12.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4133, allocations: 0 / 0.6228 GB, free: 12.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.4136, allocations: 51.92 kB / 0.6229 GB, free: 12.88 MB / 442.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 () * Number of clocked 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.0007082/0.4143, allocations: 0.8501 MB / 0.6237 GB, free: 12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.4148, allocations: 143.8 kB / 0.6238 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4148, allocations: 0 / 0.6238 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.4151, allocations: 87.98 kB / 0.6239 GB, free: 11.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.4153, allocations: 26.23 kB / 0.6239 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.417, allocations: 1.395 MB / 0.6253 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.4172, allocations: 0.7318 MB / 0.626 GB, free: 9.543 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.931e-05/0.4173, allocations: 29.06 kB / 0.626 GB, free: 9.516 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.4174, allocations: 41.53 kB / 0.6261 GB, free: 9.477 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4174, allocations: 0 / 0.6261 GB, free: 9.477 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.4329, allocations: 4.288 MB / 0.6303 GB, free: 5.453 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.4332, allocations: 253.5 kB / 0.6305 GB, free: 5.125 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.029, allocations: 2.406 kB / 0.6305 GB, free: 5.125 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat