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.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,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.5 MB / 230.7 MB, free: 7.547 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.0009363/0.0009364, allocations: 98.11 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.878e-05, allocations: 4 kB / 444.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 61.91 MB / 0.4948 GB, free: 1.113 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.6032, allocations: 94.86 MB / 0.5874 GB, free: 1.441 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.6035, allocations: 95.94 kB / 0.5875 GB, free: 1.348 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02096/0.6245, allocations: 7.91 MB / 0.5952 GB, free: 9.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6246, allocations: 0 / 0.5952 GB, free: 9.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.6246, allocations: 4 kB / 0.5952 GB, free: 9.422 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006333/0.6252, allocations: 461.9 kB / 0.5957 GB, free: 8.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.6253, allocations: 19.91 kB / 0.5957 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.6253, allocations: 23.72 kB / 0.5957 GB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.6256, allocations: 198.8 kB / 0.5959 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.6256, allocations: 4 kB / 0.5959 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.6256, allocations: 15.95 kB / 0.5959 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002036/0.6259, allocations: 116.3 kB / 0.596 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.6261, allocations: 158.7 kB / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6261, allocations: 0 / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.6262, allocations: 0 / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.6262, allocations: 4 kB / 0.5962 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/0.627, allocations: 0.5211 MB / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.6271, allocations: 46.56 kB / 0.5967 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.489e-05/0.6272, allocations: 20.92 kB / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.6272, allocations: 3.953 kB / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.6273, allocations: 30.56 kB / 0.5968 GB, free: 7.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.6273, allocations: 3.938 kB / 0.5968 GB, free: 7.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002187/0.6275, allocations: 81.48 kB / 0.5969 GB, free: 7.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.6275, allocations: 59.39 kB / 0.5969 GB, free: 7.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.6277, allocations: 157.8 kB / 0.5971 GB, free: 7.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.6277, allocations: 25.7 kB / 0.5971 GB, free: 7.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6278, allocations: 179.4 kB / 0.5973 GB, free: 7.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.6279, allocations: 11.81 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.6279, allocations: 0 / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.6281, allocations: 322.8 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.6281, allocations: 24 kB / 0.5976 GB, free: 6.777 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.6282, allocations: 112.8 kB / 0.5977 GB, free: 6.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.071e-05/0.6283, allocations: 43.97 kB / 0.5978 GB, free: 6.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.6283, allocations: 4 kB / 0.5978 GB, free: 6.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002373/0.6286, allocations: 149.2 kB / 0.5979 GB, free: 6.422 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.6286, allocations: 13.23 kB / 0.5979 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.6286, allocations: 12 kB / 0.5979 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6287, allocations: 4 kB / 0.598 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.6288, allocations: 36.36 kB / 0.598 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.6288, allocations: 11.98 kB / 0.598 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.629, allocations: 19.78 kB / 0.598 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.629, allocations: 12 kB / 0.598 GB, free: 6.316 MB / 410.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 (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 9.879e-05/0.6291, allocations: 112.9 kB / 0.5981 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001399/0.6292, allocations: 81.39 kB / 0.5982 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.6293, allocations: 15.89 kB / 0.5982 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.6295, allocations: 111.1 kB / 0.5983 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.6295, allocations: 0 / 0.5983 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6295, allocations: 0 / 0.5983 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6295, allocations: 0 / 0.5983 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.6298, allocations: 194.2 kB / 0.5985 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.6298, allocations: 12 kB / 0.5985 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.6299, allocations: 11.98 kB / 0.5985 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6299, allocations: 3.953 kB / 0.5985 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.6299, allocations: 3.938 kB / 0.5985 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.6299, allocations: 4 kB / 0.5986 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6299, allocations: 0 / 0.5986 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.6301, allocations: 179.3 kB / 0.5987 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.6302, allocations: 93.23 kB / 0.5988 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.6302, allocations: 3.953 kB / 0.5988 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.6303, allocations: 4 kB / 0.5988 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.6304, allocations: 11.97 kB / 0.5988 GB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.6304, allocations: 4 kB / 0.5988 GB, free: 5.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.49e-05/0.6305, allocations: 124 kB / 0.599 GB, free: 5.273 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6305, allocations: 0 / 0.599 GB, free: 5.273 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004451/0.6309, allocations: 79.77 kB / 0.599 GB, free: 5.195 MB / 410.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 (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.0007404/0.6317, allocations: 0.8137 MB / 0.5998 GB, free: 4.355 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.632, allocations: 140.1 kB / 0.6 GB, free: 4.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.632, allocations: 0 / 0.6 GB, free: 4.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.6322, allocations: 87.33 kB / 0.6 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.6324, allocations: 15.94 kB / 0.6001 GB, free: 4.094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007304/0.6331, allocations: 266.7 kB / 0.6003 GB, free: 3.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.6334, allocations: 0.7318 MB / 0.601 GB, free: 3.039 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.6335, allocations: 12.88 kB / 0.601 GB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.6335, allocations: 55.42 kB / 0.6011 GB, free: 2.969 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6335, allocations: 0 / 0.6011 GB, free: 2.969 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.6574, allocations: 4.77 MB / 0.6057 GB, free: 14.22 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.6577, allocations: 184.2 kB / 0.6059 GB, free: 14.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.363, allocations: 0 / 0.6059 GB, free: 14.03 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_res.mat does not exist to compare? outputFormat=mat