Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.001574/0.001573, 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.629/1.629, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 104.4 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 45.15 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.808e-05, allocations: 0 / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 63.25 MB / 0.5045 GB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/0.6314, allocations: 99.13 MB / 0.6013 GB, free: 3.113 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.6317, allocations: 94.88 kB / 0.6014 GB, free: 3.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05375/0.6855, allocations: 20.72 MB / 0.6216 GB, free: 1.621 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6855, allocations: 0 / 0.6216 GB, free: 1.621 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.6856, allocations: 4 kB / 0.6216 GB, free: 1.617 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001034/0.6866, allocations: 0.6662 MB / 0.6223 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6866, allocations: 16.03 kB / 0.6223 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.6867, allocations: 55.33 kB / 0.6223 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.6871, allocations: 305.9 kB / 0.6226 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.6872, allocations: 16 kB / 0.6226 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.6872, allocations: 32 kB / 0.6227 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007849/0.688, allocations: 0.6216 MB / 0.6233 GB, free: 44 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008294/0.6889, allocations: 0.5932 MB / 0.6238 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.6889, allocations: 0 / 0.6238 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.6889, allocations: 4 kB / 0.6238 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-05/0.689, allocations: 44.41 kB / 0.6239 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.691, allocations: 1.305 MB / 0.6252 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.6917, allocations: 0.5019 MB / 0.6257 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.6919, allocations: 175.5 kB / 0.6258 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.692, allocations: 4 kB / 0.6258 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.692, allocations: 34.38 kB / 0.6259 GB, free: 13.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 1.303e-06/0.692, allocations: 0 / 0.6259 GB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006788/0.6927, allocations: 402.5 kB / 0.6262 GB, free: 13.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.6927, allocations: 59.41 kB / 0.6263 GB, free: 13.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.6929, allocations: 201.5 kB / 0.6265 GB, free: 13.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.693, allocations: 25.7 kB / 0.6265 GB, free: 13.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.6931, allocations: 244.3 kB / 0.6267 GB, free: 12.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.73e-05/0.6932, allocations: 121.9 kB / 0.6269 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.6933, allocations: 0 / 0.6269 GB, free: 12.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6934, allocations: 340.9 kB / 0.6272 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.6936, allocations: 168.5 kB / 0.6274 GB, free: 12.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.694, allocations: 298.6 kB / 0.6276 GB, free: 11.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.6943, allocations: 228.7 kB / 0.6279 GB, free: 11.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6943, allocations: 4 kB / 0.6279 GB, free: 11.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000742/0.695, allocations: 0.5041 MB / 0.6284 GB, free: 11.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6951, allocations: 4 kB / 0.6284 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.6951, allocations: 8 kB / 0.6284 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6951, allocations: 4 kB / 0.6284 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.6961, allocations: 226.4 kB / 0.6286 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.6997, allocations: 7.344 MB / 0.6358 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.7, allocations: 31.67 kB / 0.6358 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.7001, allocations: 27.92 kB / 0.6358 GB, free: 3.441 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (55): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.7002, allocations: 133.4 kB / 0.6359 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006125/0.7009, allocations: 413.8 kB / 0.6363 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.7009, allocations: 23.72 kB / 0.6364 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009406/0.7019, allocations: 0.5387 MB / 0.6369 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.7019, allocations: 4 kB / 0.6369 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7019, allocations: 0 / 0.6369 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.7019, allocations: 4 kB / 0.6369 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.7025, allocations: 413.7 kB / 0.6373 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7025, allocations: 0 / 0.6373 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009019/0.7034, allocations: 203.6 kB / 0.6375 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/0.7035, allocations: 7.984 kB / 0.6375 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.7035, allocations: 4 kB / 0.6375 GB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004016/0.7075, allocations: 7.34 MB / 0.6447 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7075, allocations: 0 / 0.6447 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006985/0.7082, allocations: 0.4983 MB / 0.6451 GB, free: 9.797 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.7083, allocations: 104.8 kB / 0.6452 GB, free: 9.676 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.7084, allocations: 4.188 kB / 0.6452 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.7086, allocations: 11.98 kB / 0.6453 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.7087, allocations: 31.45 kB / 0.6453 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.7088, allocations: 11.69 kB / 0.6453 GB, free: 9.625 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.7089, allocations: 143 kB / 0.6454 GB, free: 9.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7089, allocations: 0 / 0.6454 GB, free: 9.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008756/0.7098, allocations: 202.7 kB / 0.6456 GB, free: 9.309 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/0.7113, allocations: 1.225 MB / 0.6468 GB, free: 8.105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.7126, allocations: 0.511 MB / 0.6473 GB, free: 7.641 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7126, allocations: 2.938 kB / 0.6473 GB, free: 7.641 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.7135, allocations: 309.9 kB / 0.6476 GB, free: 7.359 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.7138, allocations: 19.86 kB / 0.6476 GB, free: 7.344 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.7155, allocations: 0.8291 MB / 0.6485 GB, free: 6.516 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.716, allocations: 0.9106 MB / 0.6493 GB, free: 5.594 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.7163, allocations: 115.1 kB / 0.6495 GB, free: 5.484 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.7165, allocations: 135 kB / 0.6496 GB, free: 5.445 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7165, allocations: 0 / 0.6496 GB, free: 5.445 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.7474, allocations: 9.364 MB / 0.6587 GB, free: 12.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.7477, allocations: 187.5 kB / 0.6589 GB, free: 11.92 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.261/3.009, allocations: 0 / 0.6589 GB, free: 11.92 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat