Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.002829/0.002829, allocations: 200.6 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009618/0.0009618, allocations: 96.98 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.781e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5762, allocations: 100.4 MB / 0.6025 GB, free: 2.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5765, allocations: 98.19 kB / 0.6026 GB, free: 2.031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03266/0.6092, allocations: 11.45 MB / 0.6138 GB, free: 8.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6092, allocations: 0 / 0.6138 GB, free: 8.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.6093, allocations: 7.938 kB / 0.6138 GB, free: 8.684 MB / 410.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.0006743/0.6099, allocations: 0.5748 MB / 0.6144 GB, free: 8.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.61, allocations: 12.03 kB / 0.6144 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.6101, allocations: 39.53 kB / 0.6144 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.6104, allocations: 245.2 kB / 0.6146 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.6104, allocations: 12 kB / 0.6147 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.6104, allocations: 20 kB / 0.6147 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003139/0.6107, allocations: 224 kB / 0.6149 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.6113, allocations: 0.5011 MB / 0.6154 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.6113, allocations: 3.938 kB / 0.6154 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.6113, allocations: 4 kB / 0.6154 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.6114, allocations: 19.94 kB / 0.6154 GB, free: 7.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.6138, allocations: 3.945 MB / 0.6193 GB, free: 3.027 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.6141, allocations: 91.88 kB / 0.6193 GB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.6142, allocations: 23.17 kB / 0.6194 GB, free: 2.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.6142, allocations: 0 / 0.6194 GB, free: 2.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.6143, allocations: 42.67 kB / 0.6194 GB, free: 2.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.6143, allocations: 0 / 0.6194 GB, free: 2.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002545/0.6145, allocations: 88.81 kB / 0.6195 GB, free: 2.781 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.6146, allocations: 51.41 kB / 0.6195 GB, free: 2.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.6148, allocations: 230.2 kB / 0.6198 GB, free: 2.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.6148, allocations: 25.7 kB / 0.6198 GB, free: 2.484 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.615, allocations: 269.9 kB / 0.62 GB, free: 2.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.615, allocations: 26.98 kB / 0.6201 GB, free: 2.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.615, allocations: 4 kB / 0.6201 GB, free: 2.227 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6152, allocations: 336.3 kB / 0.6204 GB, free: 1.898 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.6153, allocations: 38.95 kB / 0.6204 GB, free: 1.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.6155, allocations: 233.6 kB / 0.6206 GB, free: 1.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.6156, allocations: 82.2 kB / 0.6207 GB, free: 1.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6156, allocations: 4 kB / 0.6207 GB, free: 1.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004075/0.616, allocations: 267.7 kB / 0.621 GB, free: 1.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6161, allocations: 8 kB / 0.621 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6161, allocations: 8.906 kB / 0.621 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.6161, allocations: 12 kB / 0.621 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.6165, allocations: 115.8 kB / 0.6211 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00084/0.6174, allocations: 1.212 MB / 0.6223 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.6176, allocations: 47.8 kB / 0.6224 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.6177, allocations: 18.56 kB / 0.6224 GB, free: 15.79 MB / 426.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.0001071/0.6178, allocations: 119.3 kB / 0.6225 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001806/0.618, allocations: 96.58 kB / 0.6226 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.618, allocations: 23.72 kB / 0.6226 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.6183, allocations: 140.3 kB / 0.6227 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6183, allocations: 4 kB / 0.6227 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6183, allocations: 0 / 0.6227 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6184, allocations: 3.984 kB / 0.6227 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.6187, allocations: 247.6 kB / 0.623 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6187, allocations: 4 kB / 0.623 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.6189, allocations: 48.72 kB / 0.623 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6189, allocations: 4 kB / 0.623 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.619, allocations: 0 / 0.623 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006598/0.6196, allocations: 1.213 MB / 0.6242 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6196, allocations: 0 / 0.6242 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.6199, allocations: 192.5 kB / 0.6244 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.6199, allocations: 96.83 kB / 0.6245 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.62, allocations: 0 / 0.6245 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.6201, allocations: 12.08 kB / 0.6245 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.6202, allocations: 11.94 kB / 0.6245 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.6202, allocations: 1.5 kB / 0.6245 GB, free: 13.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.6203, allocations: 166.1 kB / 0.6247 GB, free: 13.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6203, allocations: 0 / 0.6247 GB, free: 13.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006581/0.621, allocations: 141.2 kB / 0.6248 GB, free: 13.28 MB / 426.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.0008652/0.6219, allocations: 0.8983 MB / 0.6257 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.6223, allocations: 155.1 kB / 0.6258 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6223, allocations: 3.938 kB / 0.6258 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.6225, allocations: 52.92 kB / 0.6259 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.6227, allocations: 19.45 kB / 0.6259 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.6235, allocations: 375.9 kB / 0.6263 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.6239, allocations: 0.775 MB / 0.627 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.624, allocations: 26.06 kB / 0.627 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.6241, allocations: 96.84 kB / 0.6271 GB, free: 10.93 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6241, allocations: 0 / 0.6271 GB, free: 10.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.653, allocations: 7.452 MB / 0.6344 GB, free: 3.508 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/0.6533, allocations: 184.6 kB / 0.6346 GB, free: 3.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.828, allocations: 3.938 kB / 0.6346 GB, free: 3.316 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat