Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 199.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.2 MB / 245 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009091/0.0009091, allocations: 105.8 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4162/0.4162, allocations: 45.22 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004553, allocations: 8.219 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3849, allocations: 63.24 MB / 0.5193 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.5083, allocations: 95.49 MB / 0.6125 GB, free: 10.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5086, allocations: 99.91 kB / 0.6126 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03718/0.5458, allocations: 14.81 MB / 0.6271 GB, free: 11.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.959e-06/0.5459, allocations: 0 / 0.6271 GB, free: 11.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.5459, allocations: 11.94 kB / 0.6271 GB, free: 11.06 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001129/0.547, allocations: 0.641 MB / 0.6277 GB, free: 10.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.5471, allocations: 8.031 kB / 0.6277 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.5473, allocations: 106.4 kB / 0.6278 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.5474, allocations: 43.44 kB / 0.6279 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.5479, allocations: 296.7 kB / 0.6282 GB, free: 9.879 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.548, allocations: 37.31 kB / 0.6282 GB, free: 9.844 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.5481, allocations: 51.98 kB / 0.6282 GB, free: 9.793 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5492, allocations: 0.6271 MB / 0.6289 GB, free: 9.156 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5492, allocations: 0 / 0.6289 GB, free: 9.156 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.5492, allocations: 23.98 kB / 0.6289 GB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.367e-05/0.5493, allocations: 37.3 kB / 0.6289 GB, free: 9.098 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007822/0.5501, allocations: 0.5046 MB / 0.6294 GB, free: 8.594 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.5528, allocations: 1.445 MB / 0.6308 GB, free: 7.094 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008491/0.5537, allocations: 455.1 kB / 0.6313 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.5537, allocations: 11.97 kB / 0.6313 GB, free: 6.629 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.5538, allocations: 42.58 kB / 0.6313 GB, free: 6.578 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.5538, allocations: 0 / 0.6313 GB, free: 6.578 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009401/0.5547, allocations: 0.4893 MB / 0.6318 GB, free: 6.082 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.5548, allocations: 63.39 kB / 0.6318 GB, free: 6.008 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.5553, allocations: 496.9 kB / 0.6323 GB, free: 5.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.5554, allocations: 29.7 kB / 0.6323 GB, free: 5.484 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.5556, allocations: 224.1 kB / 0.6326 GB, free: 5.262 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/0.5557, allocations: 86.8 kB / 0.6326 GB, free: 5.176 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.5557, allocations: 7.938 kB / 0.6326 GB, free: 5.168 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5559, allocations: 358.8 kB / 0.633 GB, free: 4.809 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.5561, allocations: 156.2 kB / 0.6331 GB, free: 4.652 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.5564, allocations: 249.8 kB / 0.6334 GB, free: 4.367 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.5568, allocations: 197.2 kB / 0.6336 GB, free: 4.176 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5568, allocations: 0 / 0.6336 GB, free: 4.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008254/0.5576, allocations: 0.4947 MB / 0.6341 GB, free: 3.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5577, allocations: 8 kB / 0.6341 GB, free: 3.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.511e-05/0.5577, allocations: 43.92 kB / 0.6341 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.5578, allocations: 8 kB / 0.6341 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.558, allocations: 39.91 kB / 0.6341 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.558, allocations: 4 kB / 0.6341 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.5583, allocations: 55.69 kB / 0.6342 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.5584, allocations: 27.98 kB / 0.6342 GB, free: 3.492 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 29 * 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.0003368/0.5587, allocations: 225.9 kB / 0.6344 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.5588, allocations: 43.44 kB / 0.6345 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009831/0.5598, allocations: 0.5411 MB / 0.635 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.5598, allocations: 19.92 kB / 0.635 GB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5598, allocations: 0 / 0.635 GB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5598, allocations: 0 / 0.635 GB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.5605, allocations: 421.2 kB / 0.6354 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.825e-05/0.5605, allocations: 35.97 kB / 0.6355 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.5607, allocations: 31.92 kB / 0.6355 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.5608, allocations: 0 / 0.6355 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.5608, allocations: 12 kB / 0.6355 GB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5608, allocations: 0 / 0.6355 GB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5608, allocations: 3.953 kB / 0.6355 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.5619, allocations: 0.713 MB / 0.6362 GB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.5621, allocations: 128.5 kB / 0.6363 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.5621, allocations: 4 kB / 0.6363 GB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.5623, allocations: 8 kB / 0.6363 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.5624, allocations: 23.92 kB / 0.6364 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.5624, allocations: 19.98 kB / 0.6364 GB, free: 1.184 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004403/0.5629, allocations: 399 kB / 0.6368 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5629, allocations: 4.062 kB / 0.6368 GB, free: 0.793 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006227/0.5635, allocations: 155.9 kB / 0.6369 GB, free: 0.6406 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * 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.001759/0.5653, allocations: 1.367 MB / 0.6383 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007755/0.5661, allocations: 0.6683 MB / 0.6389 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5661, allocations: 0 / 0.6389 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.5665, allocations: 489 kB / 0.6394 GB, free: 13.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.5669, allocations: 87.62 kB / 0.6395 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/0.5726, allocations: 5.252 MB / 0.6446 GB, free: 8.504 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.5731, allocations: 0.8899 MB / 0.6455 GB, free: 7.586 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.5734, allocations: 112.2 kB / 0.6456 GB, free: 7.473 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.5736, allocations: 135.4 kB / 0.6457 GB, free: 7.34 MB / 458.7 MB Notification: Performance of SimCode: time 4.849e-06/0.5736, allocations: 0 / 0.6457 GB, free: 7.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.605, allocations: 12.58 MB / 0.658 GB, free: 10.99 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/0.6054, allocations: 237.6 kB / 0.6582 GB, free: 10.74 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.756, allocations: 0 / 0.6582 GB, free: 10.74 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat