Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 180.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009157/0.0009159, allocations: 88.05 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2151/0.2151, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.72e-05/3.739e-05, allocations: 224 / 452 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.5774, allocations: 99.79 MB / 0.5993 GB, free: 5.418 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.5778, allocations: 99.92 kB / 0.5994 GB, free: 5.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03402/0.6118, allocations: 11.53 MB / 0.6106 GB, free: 9.758 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6119, allocations: 0 / 0.6106 GB, free: 9.758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.6119, allocations: 4 kB / 0.6106 GB, free: 9.754 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.0009433/0.6128, allocations: 0.5762 MB / 0.6112 GB, free: 9.133 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.6129, allocations: 8.031 kB / 0.6112 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.613, allocations: 78.52 kB / 0.6113 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.6131, allocations: 39.53 kB / 0.6113 GB, free: 9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.6135, allocations: 238.5 kB / 0.6116 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.6135, allocations: 32.73 kB / 0.6116 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.6136, allocations: 28 kB / 0.6116 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008016/0.6144, allocations: 0.5586 MB / 0.6122 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6144, allocations: 3.938 kB / 0.6122 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.6145, allocations: 16 kB / 0.6122 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.6145, allocations: 16 kB / 0.6122 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.615, allocations: 305.1 kB / 0.6125 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.6182, allocations: 4.039 MB / 0.6164 GB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.6186, allocations: 90.55 kB / 0.6165 GB, free: 3.305 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.65e-05/0.6187, allocations: 32.97 kB / 0.6165 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.6188, allocations: 0 / 0.6165 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6188, allocations: 34.52 kB / 0.6166 GB, free: 3.227 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.6188, allocations: 0 / 0.6166 GB, free: 3.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003708/0.6192, allocations: 113.2 kB / 0.6167 GB, free: 3.109 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.6193, allocations: 51.56 kB / 0.6167 GB, free: 3.047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.6197, allocations: 355 kB / 0.6171 GB, free: 2.691 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.6197, allocations: 29.7 kB / 0.6171 GB, free: 2.656 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.6199, allocations: 249.9 kB / 0.6173 GB, free: 2.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.62, allocations: 31.58 kB / 0.6174 GB, free: 2.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.62, allocations: 12 kB / 0.6174 GB, free: 2.367 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6201, allocations: 346.8 kB / 0.6177 GB, free: 2.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.6203, allocations: 40.66 kB / 0.6177 GB, free: 1.977 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.6205, allocations: 246.4 kB / 0.618 GB, free: 1.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.6207, allocations: 84.55 kB / 0.6181 GB, free: 1.551 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.6207, allocations: 4 kB / 0.6181 GB, free: 1.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000545/0.6212, allocations: 324.6 kB / 0.6184 GB, free: 1.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.6213, allocations: 8.938 kB / 0.6184 GB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.6213, allocations: 9 kB / 0.6184 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.6213, allocations: 11.95 kB / 0.6184 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.6218, allocations: 115.8 kB / 0.6185 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007763/0.6226, allocations: 1.219 MB / 0.6197 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.6229, allocations: 63.56 kB / 0.6198 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.623, allocations: 27.95 kB / 0.6198 GB, free: 15.73 MB / 442.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.0001242/0.6231, allocations: 130.8 kB / 0.6199 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.6232, allocations: 39.52 kB / 0.62 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.6236, allocations: 153 kB / 0.6201 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6236, allocations: 0 / 0.6201 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6236, allocations: 0 / 0.6201 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6236, allocations: 0 / 0.6201 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.624, allocations: 277.4 kB / 0.6204 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.624, allocations: 0 / 0.6204 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.6243, allocations: 63.95 kB / 0.6204 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.6243, allocations: 4 kB / 0.6204 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6243, allocations: 0 / 0.6204 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006871/0.625, allocations: 1.207 MB / 0.6216 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.625, allocations: 4.031 kB / 0.6216 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.6253, allocations: 203.1 kB / 0.6218 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.6254, allocations: 112.6 kB / 0.6219 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.6255, allocations: 0 / 0.6219 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.6256, allocations: 11.98 kB / 0.6219 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.6257, allocations: 19.91 kB / 0.6219 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.6257, allocations: 4.062 kB / 0.6219 GB, free: 13.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002686/0.626, allocations: 269.2 kB / 0.6222 GB, free: 13.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.626, allocations: 0 / 0.6222 GB, free: 13.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006967/0.6267, allocations: 123.9 kB / 0.6223 GB, free: 13 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 () * 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.001064/0.6278, allocations: 0.8829 MB / 0.6232 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000458/0.6283, allocations: 169.7 kB / 0.6233 GB, free: 11.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6283, allocations: 8.125 kB / 0.6234 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.6285, allocations: 56.06 kB / 0.6234 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.6288, allocations: 34.25 kB / 0.6234 GB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009988/0.6298, allocations: 398.1 kB / 0.6238 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.6302, allocations: 0.7797 MB / 0.6246 GB, free: 10.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.6303, allocations: 38.91 kB / 0.6246 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.6305, allocations: 107.3 kB / 0.6247 GB, free: 10.46 MB / 442.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6305, allocations: 0 / 0.6247 GB, free: 10.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.6599, allocations: 10.48 MB / 0.635 GB, free: 196 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.6602, allocations: 226.4 kB / 0.6352 GB, free: 15.97 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.126, allocations: 7.938 kB / 0.6352 GB, free: 15.96 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat