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_flatTube_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_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.001198/0.001199, allocations: 179.9 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.614/1.614, allocations: 221.3 MB / 236 MB, free: 2.941 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.0008938/0.0008939, allocations: 91.62 kB / 287 MB, free: 240 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.2187/0.2187, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.872e-05, allocations: 4.219 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1457, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.6077, allocations: 93.52 MB / 0.5931 GB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.608, allocations: 91.94 kB / 0.5932 GB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0187/0.6268, allocations: 7.001 MB / 0.6001 GB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6268, allocations: 0 / 0.6001 GB, free: 4.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.6268, allocations: 4 kB / 0.6001 GB, free: 4.637 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000529/0.6274, allocations: 474.2 kB / 0.6005 GB, free: 4.129 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.6274, allocations: 8.031 kB / 0.6005 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.247e-05/0.6275, allocations: 58.53 kB / 0.6006 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.6275, allocations: 23.72 kB / 0.6006 GB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.6278, allocations: 213.7 kB / 0.6008 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6278, allocations: 16.44 kB / 0.6008 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.6278, allocations: 23.95 kB / 0.6009 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.6282, allocations: 207.4 kB / 0.601 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6282, allocations: 0 / 0.601 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.6283, allocations: 8 kB / 0.6011 GB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.6283, allocations: 8 kB / 0.6011 GB, free: 3.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.6286, allocations: 221.7 kB / 0.6013 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009971/0.6296, allocations: 0.6158 MB / 0.6019 GB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.6299, allocations: 110.6 kB / 0.602 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.63, allocations: 28.86 kB / 0.602 GB, free: 2.488 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.6301, allocations: 7.984 kB / 0.602 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.6301, allocations: 30.56 kB / 0.602 GB, free: 2.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.6301, allocations: 0 / 0.602 GB, free: 2.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002987/0.6304, allocations: 109.5 kB / 0.6022 GB, free: 2.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.6305, allocations: 55.41 kB / 0.6022 GB, free: 2.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.6307, allocations: 235.3 kB / 0.6024 GB, free: 2.023 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.6307, allocations: 33.7 kB / 0.6025 GB, free: 1.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.6309, allocations: 171.3 kB / 0.6026 GB, free: 1.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.6309, allocations: 35.53 kB / 0.6027 GB, free: 1.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.6309, allocations: 4 kB / 0.6027 GB, free: 1.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6311, allocations: 334.8 kB / 0.603 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.6312, allocations: 36 kB / 0.603 GB, free: 1.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.6314, allocations: 132.8 kB / 0.6031 GB, free: 1.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.6315, allocations: 59.91 kB / 0.6032 GB, free: 1.168 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6315, allocations: 0 / 0.6032 GB, free: 1.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003979/0.6319, allocations: 213 kB / 0.6034 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.6319, allocations: 8 kB / 0.6034 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.632, allocations: 4 kB / 0.6034 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.632, allocations: 7.984 kB / 0.6034 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.6324, allocations: 88.33 kB / 0.6035 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007779/0.6332, allocations: 1.215 MB / 0.6047 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.6334, allocations: 39.86 kB / 0.6047 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.6334, allocations: 16 kB / 0.6047 GB, free: 15.53 MB / 426.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 (25): * Single equations (assignments): 23 * 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 9.113e-05/0.6335, allocations: 120.9 kB / 0.6049 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.6336, allocations: 23.72 kB / 0.6049 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.6339, allocations: 155.2 kB / 0.605 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.6339, allocations: 0 / 0.605 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6339, allocations: 0 / 0.605 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.634, allocations: 7.953 kB / 0.605 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.6345, allocations: 408.2 kB / 0.6054 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6345, allocations: 0 / 0.6054 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.6348, allocations: 71.95 kB / 0.6055 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.6348, allocations: 0 / 0.6055 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.6348, allocations: 7.953 kB / 0.6055 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007042/0.6355, allocations: 1.215 MB / 0.6067 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6355, allocations: 4.031 kB / 0.6067 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.6358, allocations: 240.4 kB / 0.6069 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/0.6359, allocations: 96.83 kB / 0.607 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.6359, allocations: 4.094 kB / 0.607 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.6361, allocations: 19.94 kB / 0.607 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.6362, allocations: 7.984 kB / 0.607 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.6362, allocations: 4 kB / 0.6071 GB, free: 12.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.6364, allocations: 179.1 kB / 0.6072 GB, free: 12.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6364, allocations: 0 / 0.6072 GB, free: 12.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004196/0.6368, allocations: 79.92 kB / 0.6073 GB, free: 12.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008383/0.6376, allocations: 0.9882 MB / 0.6083 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.6381, allocations: 132.8 kB / 0.6084 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6381, allocations: 3.938 kB / 0.6084 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.6383, allocations: 63.91 kB / 0.6085 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.6386, allocations: 21.89 kB / 0.6085 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.6394, allocations: 298.9 kB / 0.6088 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.6397, allocations: 0.7363 MB / 0.6095 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.195e-05/0.6398, allocations: 18.06 kB / 0.6095 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.6399, allocations: 68.97 kB / 0.6096 GB, free: 10.32 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6399, allocations: 0 / 0.6096 GB, free: 10.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.6599, allocations: 6.223 MB / 0.6156 GB, free: 4.316 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.6602, allocations: 230 kB / 0.6159 GB, free: 4.094 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.53, allocations: 4.062 kB / 0.6159 GB, free: 4.09 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC_res.mat does not exist to compare? outputFormat=mat