Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 90.61 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2258/0.2258, allocations: 43.51 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.686e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5248/0.6752, allocations: 93.67 MB / 0.5575 GB, free: 1.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/0.6756, allocations: 106.5 kB / 0.5576 GB, free: 1.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02135/0.697, allocations: 7.713 MB / 0.5652 GB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.697, allocations: 0 / 0.5652 GB, free: 11.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.6971, allocations: 0 / 0.5652 GB, free: 11.46 MB / 378.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.0007483/0.6978, allocations: 476.4 kB / 0.5656 GB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.6979, allocations: 8.031 kB / 0.5656 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.698, allocations: 27.72 kB / 0.5656 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.6982, allocations: 210 kB / 0.5658 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.6983, allocations: 7.984 kB / 0.5659 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.6983, allocations: 12 kB / 0.5659 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002039/0.6985, allocations: 109.5 kB / 0.566 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.6988, allocations: 168.7 kB / 0.5661 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.6988, allocations: 0 / 0.5661 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.6988, allocations: 0 / 0.5661 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.6988, allocations: 4 kB / 0.5661 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.6997, allocations: 0.5226 MB / 0.5666 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.6998, allocations: 52.7 kB / 0.5667 GB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.6999, allocations: 20.42 kB / 0.5667 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.6999, allocations: 4.031 kB / 0.5667 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.7, allocations: 30.56 kB / 0.5667 GB, free: 9.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.7, allocations: 0 / 0.5667 GB, free: 9.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002555/0.7003, allocations: 79.94 kB / 0.5668 GB, free: 9.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.7003, allocations: 51.41 kB / 0.5669 GB, free: 9.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.7005, allocations: 162 kB / 0.567 GB, free: 9.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.7005, allocations: 25.7 kB / 0.567 GB, free: 9.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.7007, allocations: 177.4 kB / 0.5672 GB, free: 9.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.7007, allocations: 11.75 kB / 0.5672 GB, free: 9.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.7007, allocations: 0 / 0.5672 GB, free: 9.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.7009, allocations: 329.7 kB / 0.5675 GB, free: 9.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.701, allocations: 23.77 kB / 0.5676 GB, free: 9.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.7011, allocations: 117.7 kB / 0.5677 GB, free: 8.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.031e-05/0.7012, allocations: 34.36 kB / 0.5677 GB, free: 8.867 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7012, allocations: 4 kB / 0.5677 GB, free: 8.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002621/0.7015, allocations: 147.2 kB / 0.5679 GB, free: 8.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7015, allocations: 8 kB / 0.5679 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.7015, allocations: 12 kB / 0.5679 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7015, allocations: 4 kB / 0.5679 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.7017, allocations: 40.34 kB / 0.5679 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.7017, allocations: 11.94 kB / 0.5679 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.7018, allocations: 19.16 kB / 0.5679 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.7019, allocations: 15.98 kB / 0.568 GB, free: 8.621 MB / 378.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 () * 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 9.925e-05/0.702, allocations: 112.9 kB / 0.5681 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001317/0.7021, allocations: 76.53 kB / 0.5681 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.7022, allocations: 15.81 kB / 0.5682 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.7024, allocations: 112.7 kB / 0.5683 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7025, allocations: 0 / 0.5683 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.7025, allocations: 0 / 0.5683 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7025, allocations: 3.938 kB / 0.5683 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.7027, allocations: 203.4 kB / 0.5685 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.7027, allocations: 12 kB / 0.5685 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.7028, allocations: 11.98 kB / 0.5685 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7028, allocations: 0 / 0.5685 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.7028, allocations: 0 / 0.5685 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7028, allocations: 4 kB / 0.5685 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7028, allocations: 192 / 0.5685 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.7031, allocations: 181.6 kB / 0.5687 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.7031, allocations: 92.92 kB / 0.5688 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.7031, allocations: 0 / 0.5688 GB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.7033, allocations: 7.984 kB / 0.5688 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.7033, allocations: 4 kB / 0.5688 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.7033, allocations: 4 kB / 0.5688 GB, free: 7.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.984e-05/0.7034, allocations: 120.9 kB / 0.5689 GB, free: 7.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7034, allocations: 0 / 0.5689 GB, free: 7.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000466/0.7039, allocations: 78.84 kB / 0.569 GB, free: 7.57 MB / 378.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 (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.000787/0.7047, allocations: 0.8195 MB / 0.5698 GB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.7051, allocations: 140.8 kB / 0.5699 GB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7051, allocations: 0 / 0.5699 GB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.7052, allocations: 86.88 kB / 0.57 GB, free: 6.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.7054, allocations: 18.16 kB / 0.57 GB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.7062, allocations: 269 kB / 0.5702 GB, free: 6.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.7066, allocations: 0.7279 MB / 0.571 GB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.7066, allocations: 12.88 kB / 0.571 GB, free: 5.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.7067, allocations: 53.67 kB / 0.571 GB, free: 5.422 MB / 378.7 MB Notification: Performance of SimCode: time 2.304e-06/0.7067, allocations: 0 / 0.571 GB, free: 5.422 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.7326, allocations: 4.768 MB / 0.5757 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/0.733, allocations: 185.8 kB / 0.5759 GB, free: 476 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.596, allocations: 0 / 0.5759 GB, free: 476 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat