Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008629/0.0008629, allocations: 88.97 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1805/0.1805, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.891e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4042/0.5174, allocations: 100.4 MB / 0.6095 GB, free: 9.496 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/0.5179, allocations: 94.56 kB / 0.6096 GB, free: 9.441 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06138/0.5793, allocations: 21.94 MB / 0.6311 GB, free: 6.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5793, allocations: 0 / 0.6311 GB, free: 6.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.5794, allocations: 4 kB / 0.6311 GB, free: 6.406 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001459/0.5808, allocations: 0.7159 MB / 0.6318 GB, free: 5.672 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5809, allocations: 12.03 kB / 0.6318 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.5811, allocations: 100.3 kB / 0.6319 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004427/0.5815, allocations: 95.27 kB / 0.632 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.582, allocations: 304.8 kB / 0.6323 GB, free: 5.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.5821, allocations: 37.62 kB / 0.6323 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.5822, allocations: 44.94 kB / 0.6323 GB, free: 5.117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.5832, allocations: 0.6565 MB / 0.633 GB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5832, allocations: 0 / 0.633 GB, free: 4.617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.5833, allocations: 20.12 kB / 0.633 GB, free: 4.613 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.5833, allocations: 28.98 kB / 0.633 GB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.584, allocations: 446.2 kB / 0.6334 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.5866, allocations: 1.534 MB / 0.6349 GB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.5872, allocations: 293.1 kB / 0.6352 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.5874, allocations: 127.1 kB / 0.6353 GB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.366e-05/0.5875, allocations: 16.08 kB / 0.6354 GB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.5875, allocations: 41.88 kB / 0.6354 GB, free: 2.414 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.625e-06/0.5876, allocations: 0 / 0.6354 GB, free: 2.414 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007727/0.5883, allocations: 322.5 kB / 0.6357 GB, free: 2.121 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.5884, allocations: 106.8 kB / 0.6358 GB, free: 1.992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/0.5891, allocations: 0.4996 MB / 0.6363 GB, free: 1.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.5891, allocations: 29.77 kB / 0.6363 GB, free: 1.543 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.5893, allocations: 237.6 kB / 0.6365 GB, free: 1.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.5894, allocations: 73.53 kB / 0.6366 GB, free: 1.324 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.5894, allocations: 7.188 kB / 0.6366 GB, free: 1.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5895, allocations: 363.5 kB / 0.637 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.5898, allocations: 118.1 kB / 0.6371 GB, free: 0.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.59, allocations: 222.9 kB / 0.6373 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.5903, allocations: 156.5 kB / 0.6374 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5903, allocations: 4 kB / 0.6375 GB, free: 0.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007756/0.5911, allocations: 434.5 kB / 0.6379 GB, free: 120 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5912, allocations: 4 kB / 0.6379 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-05/0.5912, allocations: 39.97 kB / 0.6379 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.5913, allocations: 4 kB / 0.6379 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.5915, allocations: 43.72 kB / 0.638 GB, free: 32 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.5916, allocations: 19.86 kB / 0.638 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.592, allocations: 71.2 kB / 0.638 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.592, allocations: 19.98 kB / 0.6381 GB, free: 15.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001307/0.5922, allocations: 123.9 kB / 0.6382 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.5923, allocations: 51.14 kB / 0.6382 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008648/0.5932, allocations: 447 kB / 0.6387 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5932, allocations: 7.938 kB / 0.6387 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5932, allocations: 0 / 0.6387 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5932, allocations: 0 / 0.6387 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007756/0.594, allocations: 406.8 kB / 0.639 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.128e-05/0.5941, allocations: 39.97 kB / 0.6391 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.5943, allocations: 35.97 kB / 0.6391 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.5943, allocations: 0 / 0.6391 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.5943, allocations: 19.44 kB / 0.6391 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5943, allocations: 0 / 0.6391 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5943, allocations: 4 kB / 0.6391 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.5952, allocations: 0.5939 MB / 0.6397 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.5954, allocations: 128.5 kB / 0.6398 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.5955, allocations: 3.984 kB / 0.6398 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.5959, allocations: 27.73 kB / 0.6399 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.596, allocations: 27.47 kB / 0.6399 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.596, allocations: 11.98 kB / 0.6399 GB, free: 14.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005204/0.5966, allocations: 403.9 kB / 0.6403 GB, free: 13.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5966, allocations: 0 / 0.6403 GB, free: 13.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009735/0.5976, allocations: 203.2 kB / 0.6405 GB, free: 13.57 MB / 442.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001897/0.5995, allocations: 1.475 MB / 0.6419 GB, free: 12.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009461/0.6004, allocations: 0.6035 MB / 0.6425 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6004, allocations: 0 / 0.6425 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.6009, allocations: 465.2 kB / 0.643 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.6015, allocations: 97.78 kB / 0.6431 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.6037, allocations: 0.869 MB / 0.6439 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.6043, allocations: 0.8955 MB / 0.6448 GB, free: 9.129 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.6045, allocations: 83.33 kB / 0.6449 GB, free: 9.047 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.6047, allocations: 130.5 kB / 0.645 GB, free: 9.008 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6048, allocations: 0 / 0.645 GB, free: 9.008 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.6385, allocations: 13.7 MB / 0.6584 GB, free: 11.53 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/0.6388, allocations: 199.8 kB / 0.6586 GB, free: 11.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.745, allocations: 4.812 kB / 0.6586 GB, free: 11.3 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat does not exist to compare? outputFormat=mat