Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.001065/0.001065, allocations: 198.6 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.459/1.459, allocations: 227.2 MB / 245 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 105.6 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5236/0.5236, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003083, allocations: 4 kB / 468.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3849, allocations: 63.25 MB / 0.5193 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.5244, allocations: 101.1 MB / 0.618 GB, free: 2.266 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.5248, allocations: 103.9 kB / 0.6181 GB, free: 2.168 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03571/0.5605, allocations: 11.72 MB / 0.6296 GB, free: 6.398 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5605, allocations: 0 / 0.6296 GB, free: 6.398 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.5606, allocations: 4 kB / 0.6296 GB, free: 6.395 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007692/0.5613, allocations: 0.6004 MB / 0.6302 GB, free: 5.746 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5614, allocations: 8.031 kB / 0.6302 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.917e-05/0.5615, allocations: 78.52 kB / 0.6303 GB, free: 5.652 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.5616, allocations: 43.48 kB / 0.6303 GB, free: 5.609 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.5619, allocations: 230.5 kB / 0.6305 GB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.5619, allocations: 36.88 kB / 0.6306 GB, free: 5.309 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.562, allocations: 40 kB / 0.6306 GB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.5627, allocations: 0.5726 MB / 0.6312 GB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.5627, allocations: 3.938 kB / 0.6312 GB, free: 4.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.5627, allocations: 20 kB / 0.6312 GB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.5627, allocations: 12 kB / 0.6312 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005161/0.5633, allocations: 341 kB / 0.6315 GB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.5659, allocations: 4.047 MB / 0.6355 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.5663, allocations: 110.5 kB / 0.6356 GB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.5663, allocations: 3.938 kB / 0.6356 GB, free: 15.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5663, allocations: 42.69 kB / 0.6356 GB, free: 15.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.5663, allocations: 0 / 0.6356 GB, free: 15.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005304/0.5669, allocations: 181.3 kB / 0.6358 GB, free: 15.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.5669, allocations: 51.41 kB / 0.6358 GB, free: 15.53 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.5673, allocations: 361 kB / 0.6362 GB, free: 15.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.5673, allocations: 29.7 kB / 0.6362 GB, free: 15.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.5675, allocations: 243 kB / 0.6364 GB, free: 14.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.5675, allocations: 39.62 kB / 0.6365 GB, free: 14.85 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.5676, allocations: 8 kB / 0.6365 GB, free: 14.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5677, allocations: 346.8 kB / 0.6368 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.5679, allocations: 56.61 kB / 0.6369 GB, free: 14.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.5682, allocations: 270.4 kB / 0.6371 GB, free: 14.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.5684, allocations: 103.9 kB / 0.6372 GB, free: 13.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5684, allocations: 0 / 0.6372 GB, free: 13.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006053/0.569, allocations: 361.3 kB / 0.6376 GB, free: 13.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.569, allocations: 10.81 kB / 0.6376 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5691, allocations: 11.94 kB / 0.6376 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.5691, allocations: 8 kB / 0.6376 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.5695, allocations: 115.8 kB / 0.6377 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007536/0.5703, allocations: 1.219 MB / 0.6389 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.5706, allocations: 67.28 kB / 0.639 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.5706, allocations: 20 kB / 0.639 GB, free: 12.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001479/0.5708, allocations: 151.9 kB / 0.6391 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.5708, allocations: 35.53 kB / 0.6392 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.5713, allocations: 181 kB / 0.6393 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5713, allocations: 3.953 kB / 0.6393 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5713, allocations: 7.984 kB / 0.6393 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5713, allocations: 0 / 0.6393 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.5716, allocations: 273.5 kB / 0.6396 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5716, allocations: 0 / 0.6396 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.5719, allocations: 59.91 kB / 0.6397 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5719, allocations: 0 / 0.6397 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.572, allocations: 7.984 kB / 0.6397 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006688/0.5726, allocations: 1.203 MB / 0.6409 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5727, allocations: 4.062 kB / 0.6409 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.573, allocations: 247.4 kB / 0.6411 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.5731, allocations: 112.6 kB / 0.6412 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.5732, allocations: 4 kB / 0.6412 GB, free: 9.699 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.5734, allocations: 11.98 kB / 0.6412 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.5734, allocations: 4 kB / 0.6412 GB, free: 9.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.5734, allocations: 7.984 kB / 0.6412 GB, free: 9.676 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.5737, allocations: 267.2 kB / 0.6415 GB, free: 9.422 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5737, allocations: 0 / 0.6415 GB, free: 9.422 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000663/0.5744, allocations: 135.9 kB / 0.6416 GB, free: 9.289 MB / 458.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 (7): * Single equations (assignments): 5 * 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.001079/0.5755, allocations: 0.9444 MB / 0.6425 GB, free: 8.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.576, allocations: 205.4 kB / 0.6427 GB, free: 8.121 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5761, allocations: 0 / 0.6427 GB, free: 8.121 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.5763, allocations: 71.95 kB / 0.6428 GB, free: 8.051 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.5766, allocations: 43.61 kB / 0.6428 GB, free: 8.012 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.5811, allocations: 6.788 MB / 0.6495 GB, free: 1.027 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.5815, allocations: 0.7755 MB / 0.6502 GB, free: 232 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.5817, allocations: 42.95 kB / 0.6503 GB, free: 188 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.5818, allocations: 103.4 kB / 0.6504 GB, free: 84 kB / 458.7 MB Notification: Performance of SimCode: time 1.001e-06/0.5818, allocations: 0 / 0.6504 GB, free: 84 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.6094, allocations: 10.44 MB / 0.6606 GB, free: 5.895 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004179/0.6098, allocations: 263.7 kB / 0.6608 GB, free: 5.551 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.131, allocations: 3.438 kB / 0.6608 GB, free: 5.551 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat