Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.001076/0.001076, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008631/0.0008631, allocations: 94.08 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4345/0.4345, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003586, allocations: 8.219 kB / 468.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4969, allocations: 63.25 MB / 0.5193 GB, free: 44.07 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.6695, allocations: 94.75 MB / 0.6118 GB, free: 10.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004353/0.67, allocations: 103.9 kB / 0.6119 GB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02967/0.6997, allocations: 7.119 MB / 0.6189 GB, free: 3.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6998, allocations: 4 kB / 0.6189 GB, free: 3.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.6998, allocations: 0 / 0.6189 GB, free: 3.621 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008879/0.7007, allocations: 492.1 kB / 0.6193 GB, free: 3.094 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.7008, allocations: 12.03 kB / 0.6194 GB, free: 3.082 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.7009, allocations: 54.55 kB / 0.6194 GB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.701, allocations: 23.72 kB / 0.6194 GB, free: 2.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.7013, allocations: 223.6 kB / 0.6196 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.7014, allocations: 16.44 kB / 0.6197 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.7014, allocations: 24 kB / 0.6197 GB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.7021, allocations: 227.2 kB / 0.6199 GB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.7021, allocations: 0 / 0.6199 GB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.7022, allocations: 12 kB / 0.6199 GB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.7022, allocations: 4 kB / 0.6199 GB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.7029, allocations: 253.6 kB / 0.6202 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.7045, allocations: 0.6274 MB / 0.6208 GB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.7051, allocations: 126.6 kB / 0.6209 GB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.7052, allocations: 0 / 0.6209 GB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.7052, allocations: 42.56 kB / 0.6209 GB, free: 1.344 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.806e-06/0.7052, allocations: 0 / 0.6209 GB, free: 1.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.00096/0.7062, allocations: 185.5 kB / 0.6211 GB, free: 1.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.7063, allocations: 51.41 kB / 0.6212 GB, free: 1.094 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.7067, allocations: 234.1 kB / 0.6214 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.7068, allocations: 25.7 kB / 0.6214 GB, free: 0.832 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.707, allocations: 179.2 kB / 0.6216 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.707, allocations: 31.55 kB / 0.6216 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.7071, allocations: 4 kB / 0.6216 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.7073, allocations: 334.8 kB / 0.6219 GB, free: 288 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.7075, allocations: 59.97 kB / 0.622 GB, free: 228 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.7079, allocations: 148.8 kB / 0.6221 GB, free: 32 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.7083, allocations: 75.86 kB / 0.6222 GB, free: 15.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7083, allocations: 0 / 0.6222 GB, free: 15.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008641/0.7092, allocations: 241.1 kB / 0.6224 GB, free: 15.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.7092, allocations: 8.438 kB / 0.6224 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.7092, allocations: 4 kB / 0.6224 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.7093, allocations: 8 kB / 0.6224 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.7099, allocations: 83.89 kB / 0.6225 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.7111, allocations: 1.223 MB / 0.6237 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.7115, allocations: 35.69 kB / 0.6238 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.7116, allocations: 12 kB / 0.6238 GB, free: 14.3 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: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0002625/0.7119, allocations: 133.7 kB / 0.6239 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.712, allocations: 23.67 kB / 0.6239 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/0.7127, allocations: 195.6 kB / 0.6241 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.7128, allocations: 0 / 0.6241 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7128, allocations: 4 kB / 0.6241 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7128, allocations: 0 / 0.6241 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.7139, allocations: 464 kB / 0.6245 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7139, allocations: 0 / 0.6245 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.7143, allocations: 63.89 kB / 0.6246 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.7143, allocations: 3.984 kB / 0.6246 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.7144, allocations: 4 kB / 0.6246 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008974/0.7153, allocations: 1.211 MB / 0.6258 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7153, allocations: 0 / 0.6258 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.7159, allocations: 284.4 kB / 0.6261 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.716, allocations: 92.83 kB / 0.6262 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.7161, allocations: 0 / 0.6262 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.7164, allocations: 19.98 kB / 0.6262 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.7165, allocations: 7.984 kB / 0.6262 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.7165, allocations: 4 kB / 0.6262 GB, free: 11.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.7168, allocations: 186 kB / 0.6264 GB, free: 11.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7168, allocations: 0 / 0.6264 GB, free: 11.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006998/0.7175, allocations: 75.94 kB / 0.6264 GB, free: 11.38 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 () * 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.001426/0.7189, allocations: 1.031 MB / 0.6274 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007847/0.7197, allocations: 169.8 kB / 0.6276 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7198, allocations: 0 / 0.6276 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.7202, allocations: 83.88 kB / 0.6277 GB, free: 10.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.7206, allocations: 24.55 kB / 0.6277 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.7243, allocations: 3.488 MB / 0.6311 GB, free: 6.438 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.7247, allocations: 0.7365 MB / 0.6318 GB, free: 5.672 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.7248, allocations: 25.94 kB / 0.6319 GB, free: 5.645 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.725, allocations: 59.42 kB / 0.6319 GB, free: 5.59 MB / 442.7 MB Notification: Performance of SimCode: time 5.72e-07/0.725, allocations: 0 / 0.6319 GB, free: 5.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.7469, allocations: 6.112 MB / 0.6379 GB, free: 15.75 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.7472, allocations: 268.1 kB / 0.6381 GB, free: 15.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.719, allocations: 6.953 kB / 0.6381 GB, free: 15.41 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat