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.00117/0.00117, allocations: 183.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008598/0.0008598, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2136/0.2136, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4776, allocations: 94.44 MB / 0.5711 GB, free: 5.273 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.478, allocations: 98.19 kB / 0.5712 GB, free: 5.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02145/0.4994, allocations: 7.888 MB / 0.5789 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4995, allocations: 0 / 0.5789 GB, free: 14.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.4995, allocations: 4 kB / 0.5789 GB, free: 14.38 MB / 394.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.0006582/0.5002, allocations: 493.7 kB / 0.5794 GB, free: 13.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5002, allocations: 12.03 kB / 0.5794 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.769e-05/0.5003, allocations: 53.23 kB / 0.5794 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.5003, allocations: 23.72 kB / 0.5794 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.5006, allocations: 202.7 kB / 0.5796 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.5006, allocations: 15.56 kB / 0.5797 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.5006, allocations: 15.81 kB / 0.5797 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.501, allocations: 214 kB / 0.5799 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5011, allocations: 0 / 0.5799 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.5011, allocations: 10.56 kB / 0.5799 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.5011, allocations: 8 kB / 0.5799 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.5014, allocations: 149 kB / 0.58 GB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.5023, allocations: 0.5804 MB / 0.5806 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.5025, allocations: 68.59 kB / 0.5807 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.5025, allocations: 7.969 kB / 0.5807 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.5025, allocations: 38.56 kB / 0.5807 GB, free: 12.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.5025, allocations: 0 / 0.5807 GB, free: 12.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005588/0.5031, allocations: 305.6 kB / 0.581 GB, free: 12.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5032, allocations: 51.41 kB / 0.5811 GB, free: 12.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.5034, allocations: 227.9 kB / 0.5813 GB, free: 12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.5034, allocations: 33.64 kB / 0.5813 GB, free: 11.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.5035, allocations: 158.7 kB / 0.5815 GB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.5036, allocations: 22.77 kB / 0.5815 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/0.5036, allocations: 11.44 kB / 0.5815 GB, free: 11.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5037, allocations: 329.6 kB / 0.5818 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.5038, allocations: 43.09 kB / 0.5818 GB, free: 11.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.504, allocations: 138.5 kB / 0.582 GB, free: 11.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.5042, allocations: 59.16 kB / 0.582 GB, free: 11.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5042, allocations: 7.938 kB / 0.582 GB, free: 11.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00038/0.5046, allocations: 201.8 kB / 0.5822 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5046, allocations: 8.438 kB / 0.5822 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.613e-05/0.5046, allocations: 15.98 kB / 0.5823 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5046, allocations: 8 kB / 0.5823 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.5048, allocations: 31.92 kB / 0.5823 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.5048, allocations: 4 kB / 0.5823 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.5049, allocations: 42.95 kB / 0.5823 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.505, allocations: 8.188 kB / 0.5823 GB, free: 10.93 MB / 394.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.0001101/0.5051, allocations: 139.8 kB / 0.5825 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.5051, allocations: 23.81 kB / 0.5825 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.5055, allocations: 151.5 kB / 0.5826 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5055, allocations: 0 / 0.5826 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5055, allocations: 0 / 0.5826 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5055, allocations: 0 / 0.5826 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.5058, allocations: 224.3 kB / 0.5829 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.5058, allocations: 8 kB / 0.5829 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.724e-05/0.5059, allocations: 15.92 kB / 0.5829 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5059, allocations: 4 kB / 0.5829 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.5059, allocations: 4 kB / 0.5829 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5059, allocations: 0 / 0.5829 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5059, allocations: 0 / 0.5829 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.5062, allocations: 219.9 kB / 0.5831 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.5063, allocations: 92.83 kB / 0.5832 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.5063, allocations: 7.922 kB / 0.5832 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5065, allocations: 8 kB / 0.5832 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.5065, allocations: 3.984 kB / 0.5832 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.5065, allocations: 4 kB / 0.5832 GB, free: 10.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.5067, allocations: 176.4 kB / 0.5834 GB, free: 9.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5067, allocations: 4 kB / 0.5834 GB, free: 9.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004259/0.5071, allocations: 82.55 kB / 0.5835 GB, free: 9.781 MB / 394.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.0009258/0.5081, allocations: 0.853 MB / 0.5843 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004254/0.5085, allocations: 193.2 kB / 0.5845 GB, free: 8.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5085, allocations: 0 / 0.5845 GB, free: 8.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.5087, allocations: 109.6 kB / 0.5846 GB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.5089, allocations: 25.12 kB / 0.5846 GB, free: 8.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.5117, allocations: 3.346 MB / 0.5879 GB, free: 5.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.512, allocations: 0.74 MB / 0.5886 GB, free: 4.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.5121, allocations: 21.53 kB / 0.5886 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.5121, allocations: 56.42 kB / 0.5887 GB, free: 4.477 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5121, allocations: 0 / 0.5887 GB, free: 4.477 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.5326, allocations: 6.633 MB / 0.5951 GB, free: 13.92 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/0.533, allocations: 250.9 kB / 0.5954 GB, free: 13.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.513, allocations: 4 kB / 0.5954 GB, free: 13.58 MB / 410.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