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.0009935/0.0009935, allocations: 196.2 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.255/1.255, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009064/0.0009068, allocations: 99.45 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1768/0.1768, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.052e-05, allocations: 4 kB / 460.5 MB, free: 69.88 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0948/0.09485, allocations: 63.24 MB / 0.5115 GB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4526, allocations: 101.1 MB / 0.6102 GB, free: 8.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4528, allocations: 95.19 kB / 0.6103 GB, free: 8.688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03202/0.4849, allocations: 11.69 MB / 0.6217 GB, free: 14.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4849, allocations: 4 kB / 0.6217 GB, free: 14.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.4849, allocations: 4 kB / 0.6217 GB, free: 14.45 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007018/0.4856, allocations: 0.5812 MB / 0.6223 GB, free: 13.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4857, allocations: 8.031 kB / 0.6223 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.651e-05/0.4858, allocations: 76.03 kB / 0.6223 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.4859, allocations: 43.48 kB / 0.6224 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.4862, allocations: 233.5 kB / 0.6226 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.4863, allocations: 23.53 kB / 0.6226 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.4863, allocations: 33.56 kB / 0.6226 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.487, allocations: 0.5559 MB / 0.6232 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.4871, allocations: 7.938 kB / 0.6232 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.4871, allocations: 21.19 kB / 0.6232 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.4871, allocations: 15.94 kB / 0.6232 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.4875, allocations: 303.1 kB / 0.6235 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.4902, allocations: 4.045 MB / 0.6275 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.4905, allocations: 88.84 kB / 0.6276 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.4906, allocations: 35 kB / 0.6276 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.4906, allocations: 11.31 kB / 0.6276 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.4907, allocations: 38.56 kB / 0.6276 GB, free: 8.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.684e-06/0.4907, allocations: 0 / 0.6276 GB, free: 8.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003061/0.491, allocations: 106.7 kB / 0.6277 GB, free: 8.266 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.491, allocations: 51.41 kB / 0.6278 GB, free: 8.203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.4914, allocations: 359.6 kB / 0.6281 GB, free: 7.906 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.4915, allocations: 25.7 kB / 0.6282 GB, free: 7.875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.4916, allocations: 253.2 kB / 0.6284 GB, free: 7.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.4917, allocations: 30.83 kB / 0.6284 GB, free: 7.656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.4917, allocations: 2.688 kB / 0.6284 GB, free: 7.656 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4918, allocations: 346.7 kB / 0.6288 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.4919, allocations: 43.41 kB / 0.6288 GB, free: 7.289 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.4921, allocations: 249.9 kB / 0.629 GB, free: 6.961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.4923, allocations: 84.91 kB / 0.6291 GB, free: 6.891 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4923, allocations: 3.953 kB / 0.6291 GB, free: 6.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004704/0.4927, allocations: 319.3 kB / 0.6294 GB, free: 6.605 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4928, allocations: 8 kB / 0.6294 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4928, allocations: 8 kB / 0.6294 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.4928, allocations: 15.94 kB / 0.6295 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.4932, allocations: 111.9 kB / 0.6296 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006901/0.4939, allocations: 1.224 MB / 0.6308 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.4942, allocations: 66.72 kB / 0.6308 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.4942, allocations: 19.38 kB / 0.6308 GB, free: 5.137 MB / 426.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 () * 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 9.71e-05/0.4943, allocations: 133.6 kB / 0.631 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.4944, allocations: 35.53 kB / 0.631 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.4947, allocations: 153.7 kB / 0.6312 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4947, allocations: 3.953 kB / 0.6312 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4947, allocations: 0 / 0.6312 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4947, allocations: 4 kB / 0.6312 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.495, allocations: 263.7 kB / 0.6314 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.495, allocations: 3.984 kB / 0.6314 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.4953, allocations: 55.91 kB / 0.6315 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4953, allocations: 4 kB / 0.6315 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4953, allocations: 4 kB / 0.6315 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006001/0.4959, allocations: 1.202 MB / 0.6327 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4959, allocations: 0 / 0.6327 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.4962, allocations: 218 kB / 0.6329 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.4963, allocations: 108.6 kB / 0.633 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.4963, allocations: 7.625 kB / 0.633 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.4965, allocations: 7.984 kB / 0.633 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.4965, allocations: 7.984 kB / 0.633 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.4966, allocations: 4 kB / 0.633 GB, free: 2.898 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002458/0.4968, allocations: 267.7 kB / 0.6332 GB, free: 2.688 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4968, allocations: 0 / 0.6332 GB, free: 2.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006071/0.4974, allocations: 142 kB / 0.6334 GB, free: 2.562 MB / 426.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 (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.0008483/0.4983, allocations: 0.9134 MB / 0.6343 GB, free: 1.637 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.4987, allocations: 165 kB / 0.6344 GB, free: 1.496 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4987, allocations: 0.5 kB / 0.6344 GB, free: 1.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.4989, allocations: 51.73 kB / 0.6345 GB, free: 1.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.4992, allocations: 38.52 kB / 0.6345 GB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008242/0.5, allocations: 397.8 kB / 0.6349 GB, free: 1.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.5004, allocations: 0.7758 MB / 0.6357 GB, free: 236 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.5005, allocations: 42.89 kB / 0.6357 GB, free: 196 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.5006, allocations: 102.6 kB / 0.6358 GB, free: 160 kB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5006, allocations: 0 / 0.6358 GB, free: 160 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.5244, allocations: 10.65 MB / 0.6462 GB, free: 5.777 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002664/0.5247, allocations: 231.7 kB / 0.6464 GB, free: 5.547 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.687, allocations: 4 kB / 0.6464 GB, free: 5.543 MB / 442.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