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_roundTube_KC.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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001606/0.001606, allocations: 180.9 kB / 8.006 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.75/1.75, 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.0008426/0.0008426, allocations: 86.62 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.2551/0.2551, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.014e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4442/0.5699, allocations: 97.96 MB / 0.5617 GB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5703, allocations: 101.1 kB / 0.5618 GB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03237/0.6027, allocations: 11.05 MB / 0.5726 GB, free: 4.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6027, allocations: 4 kB / 0.5726 GB, free: 4.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.6027, allocations: 4 kB / 0.5726 GB, free: 4.094 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006745/0.6034, allocations: 0.5752 MB / 0.5732 GB, free: 3.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6035, allocations: 8.031 kB / 0.5732 GB, free: 3.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.6035, allocations: 39.53 kB / 0.5732 GB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.6038, allocations: 241.7 kB / 0.5735 GB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.6038, allocations: 12 kB / 0.5735 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.6039, allocations: 24 kB / 0.5735 GB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003201/0.6042, allocations: 228.7 kB / 0.5737 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.6048, allocations: 0.4986 MB / 0.5742 GB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.6048, allocations: 7.938 kB / 0.5742 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.6048, allocations: 8 kB / 0.5742 GB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.6048, allocations: 12 kB / 0.5742 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.6073, allocations: 3.944 MB / 0.5781 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.6076, allocations: 90.19 kB / 0.5782 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.6077, allocations: 24.55 kB / 0.5782 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.6077, allocations: 7.891 kB / 0.5782 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.6077, allocations: 34.55 kB / 0.5782 GB, free: 14.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.6077, allocations: 0 / 0.5782 GB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002447/0.608, allocations: 92.91 kB / 0.5783 GB, free: 14.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.608, allocations: 51.41 kB / 0.5784 GB, free: 14.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.6082, allocations: 224.2 kB / 0.5786 GB, free: 13.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6083, allocations: 29.7 kB / 0.5786 GB, free: 13.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.6084, allocations: 272.9 kB / 0.5789 GB, free: 13.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.6085, allocations: 31.52 kB / 0.5789 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.6085, allocations: 0 / 0.5789 GB, free: 13.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6086, allocations: 334.4 kB / 0.5792 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.6087, allocations: 36.33 kB / 0.5792 GB, free: 13.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.6089, allocations: 237.3 kB / 0.5795 GB, free: 12.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.609, allocations: 80.05 kB / 0.5795 GB, free: 12.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.609, allocations: 4 kB / 0.5796 GB, free: 12.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004037/0.6095, allocations: 276.2 kB / 0.5798 GB, free: 12.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6095, allocations: 8 kB / 0.5798 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6095, allocations: 8 kB / 0.5798 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.6095, allocations: 12 kB / 0.5798 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.61, allocations: 111.8 kB / 0.5799 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007728/0.6107, allocations: 1.215 MB / 0.5811 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.611, allocations: 35.67 kB / 0.5812 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.611, allocations: 23.69 kB / 0.5812 GB, free: 11.21 MB / 394.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 0.0001008/0.6111, allocations: 118.2 kB / 0.5813 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001795/0.6113, allocations: 101 kB / 0.5814 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.6114, allocations: 27.81 kB / 0.5814 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.6117, allocations: 138.2 kB / 0.5816 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6117, allocations: 0 / 0.5816 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6117, allocations: 0 / 0.5816 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6117, allocations: 11.97 kB / 0.5816 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.612, allocations: 236.7 kB / 0.5818 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.612, allocations: 7.938 kB / 0.5818 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.6122, allocations: 51.84 kB / 0.5819 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6123, allocations: 0 / 0.5819 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.6123, allocations: 4 kB / 0.5819 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005728/0.6129, allocations: 1.21 MB / 0.583 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6129, allocations: 0 / 0.583 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.6131, allocations: 191.1 kB / 0.5832 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.6131, allocations: 108.6 kB / 0.5833 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.6132, allocations: 0 / 0.5833 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.6133, allocations: 11.92 kB / 0.5833 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.6134, allocations: 4 kB / 0.5833 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.6134, allocations: 8 kB / 0.5833 GB, free: 8.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.6135, allocations: 160.8 kB / 0.5835 GB, free: 8.812 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6135, allocations: 7.938 kB / 0.5835 GB, free: 8.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006484/0.6142, allocations: 122.7 kB / 0.5836 GB, free: 8.688 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 () * 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.0008304/0.615, allocations: 0.8858 MB / 0.5845 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.6154, allocations: 148.8 kB / 0.5846 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6154, allocations: 0 / 0.5846 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.6156, allocations: 58.59 kB / 0.5847 GB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.6158, allocations: 12.53 kB / 0.5847 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008113/0.6166, allocations: 363.8 kB / 0.585 GB, free: 7.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.617, allocations: 0.775 MB / 0.5858 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.6171, allocations: 33.94 kB / 0.5858 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.6172, allocations: 101.9 kB / 0.5859 GB, free: 6.363 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6172, allocations: 0 / 0.5859 GB, free: 6.363 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.6437, allocations: 7.28 MB / 0.593 GB, free: 15.08 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.644, allocations: 196.8 kB / 0.5932 GB, free: 14.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.717, allocations: 2.406 kB / 0.5932 GB, free: 14.88 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_roundTube_KC_res.mat does not exist to compare? outputFormat=mat