Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 198.4 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.345/1.345, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009402/0.0009402, allocations: 101.9 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.352/0.352, allocations: 45.23 MB / 394.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 4 kB / 468.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3642, allocations: 63.25 MB / 0.5193 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.4913, allocations: 96.85 MB / 0.6139 GB, free: 6.543 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.4917, allocations: 103.9 kB / 0.614 GB, free: 6.445 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02265/0.5143, allocations: 8.219 MB / 0.622 GB, free: 14.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5144, allocations: 0 / 0.622 GB, free: 14.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.5144, allocations: 4 kB / 0.622 GB, free: 14.19 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006953/0.5151, allocations: 494.5 kB / 0.6225 GB, free: 13.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5151, allocations: 8.031 kB / 0.6225 GB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.954e-05/0.5152, allocations: 50.55 kB / 0.6225 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.5153, allocations: 27.7 kB / 0.6226 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.5155, allocations: 202.7 kB / 0.6228 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5155, allocations: 12 kB / 0.6228 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.5155, allocations: 16 kB / 0.6228 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.5159, allocations: 206.7 kB / 0.623 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.516, allocations: 3.938 kB / 0.623 GB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.516, allocations: 12 kB / 0.623 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.516, allocations: 8 kB / 0.623 GB, free: 13.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.5163, allocations: 164.1 kB / 0.6232 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.5173, allocations: 0.5753 MB / 0.6237 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.5175, allocations: 74.55 kB / 0.6238 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.5175, allocations: 3.984 kB / 0.6238 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.5175, allocations: 30.56 kB / 0.6238 GB, free: 12.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.5175, allocations: 0 / 0.6238 GB, free: 12.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005397/0.5181, allocations: 311.6 kB / 0.6241 GB, free: 11.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5181, allocations: 51.41 kB / 0.6242 GB, free: 11.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.5183, allocations: 221.9 kB / 0.6244 GB, free: 11.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.5184, allocations: 29.7 kB / 0.6244 GB, free: 11.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.5185, allocations: 159.7 kB / 0.6246 GB, free: 11.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.5185, allocations: 31.64 kB / 0.6246 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.5185, allocations: 7.938 kB / 0.6246 GB, free: 11.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5186, allocations: 334.8 kB / 0.6249 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.5188, allocations: 39.97 kB / 0.625 GB, free: 10.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.519, allocations: 135 kB / 0.6251 GB, free: 10.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.5191, allocations: 67.91 kB / 0.6251 GB, free: 10.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5191, allocations: 0 / 0.6251 GB, free: 10.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004017/0.5195, allocations: 209.2 kB / 0.6253 GB, free: 10.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5196, allocations: 4 kB / 0.6254 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.5196, allocations: 12 kB / 0.6254 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5196, allocations: 8 kB / 0.6254 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.5198, allocations: 27.98 kB / 0.6254 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.5198, allocations: 11.92 kB / 0.6254 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.5199, allocations: 39.91 kB / 0.6254 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.52, allocations: 12 kB / 0.6255 GB, free: 10.34 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001142/0.5201, allocations: 133.7 kB / 0.6256 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.5201, allocations: 15.81 kB / 0.6256 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.5206, allocations: 146.8 kB / 0.6257 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5206, allocations: 4.141 kB / 0.6257 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/0.5206, allocations: 0 / 0.6257 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5206, allocations: 11.97 kB / 0.6258 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.5208, allocations: 217.6 kB / 0.626 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.5209, allocations: 11.98 kB / 0.626 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.5209, allocations: 8 kB / 0.626 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.521, allocations: 192 / 0.626 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.521, allocations: 11.92 kB / 0.626 GB, free: 9.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.521, allocations: 4 kB / 0.626 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.521, allocations: 0 / 0.626 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.5213, allocations: 215.2 kB / 0.6262 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.5214, allocations: 100.8 kB / 0.6263 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.5214, allocations: 4 kB / 0.6263 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.5215, allocations: 4 kB / 0.6263 GB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.5216, allocations: 15.98 kB / 0.6263 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.5216, allocations: 7.938 kB / 0.6263 GB, free: 9.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.5218, allocations: 174 kB / 0.6265 GB, free: 9.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5218, allocations: 4 kB / 0.6265 GB, free: 9.176 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004582/0.5223, allocations: 75.94 kB / 0.6266 GB, free: 9.102 MB / 442.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009788/0.5232, allocations: 0.8525 MB / 0.6274 GB, free: 8.223 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.5237, allocations: 180.1 kB / 0.6276 GB, free: 8.035 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.5237, allocations: 0 / 0.6276 GB, free: 8.035 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.524, allocations: 107.4 kB / 0.6277 GB, free: 7.918 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5242, allocations: 29.78 kB / 0.6277 GB, free: 7.891 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.5273, allocations: 3.358 MB / 0.631 GB, free: 4.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.5276, allocations: 0.7401 MB / 0.6317 GB, free: 3.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.5277, allocations: 9.547 kB / 0.6317 GB, free: 3.648 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.5278, allocations: 55.42 kB / 0.6318 GB, free: 3.594 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5278, allocations: 0 / 0.6318 GB, free: 3.594 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.5487, allocations: 6.671 MB / 0.6383 GB, free: 13.18 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/0.549, allocations: 262.2 kB / 0.6385 GB, free: 12.84 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.568, allocations: 0 / 0.6385 GB, free: 12.84 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat