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_flatTube.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_flatTube,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009157/0.0009157, allocations: 96.25 kB / 267.1 MB, free: 9.285 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.4637/0.4637, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.579e-05, allocations: 0 / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1692, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4972/0.6664, allocations: 94.34 MB / 0.565 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.6668, allocations: 101.4 kB / 0.5651 GB, free: 11.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02035/0.6871, allocations: 7.874 MB / 0.5728 GB, free: 4.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6872, allocations: 0 / 0.5728 GB, free: 4.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.6872, allocations: 4 kB / 0.5728 GB, free: 4.418 MB / 394.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.0005606/0.6878, allocations: 474.3 kB / 0.5733 GB, free: 3.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.6878, allocations: 8.031 kB / 0.5733 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.6879, allocations: 59.59 kB / 0.5734 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.688, allocations: 23.16 kB / 0.5734 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.6882, allocations: 209.2 kB / 0.5736 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.6882, allocations: 11.75 kB / 0.5736 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.6882, allocations: 19.25 kB / 0.5736 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.6886, allocations: 190.7 kB / 0.5738 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.6886, allocations: 4 kB / 0.5738 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.6886, allocations: 13.12 kB / 0.5738 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.6887, allocations: 4 kB / 0.5738 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.6888, allocations: 113.5 kB / 0.5739 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.6897, allocations: 0.5876 MB / 0.5745 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.6899, allocations: 48.83 kB / 0.5745 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.69, allocations: 24.27 kB / 0.5746 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.69, allocations: 3.312 kB / 0.5746 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.69, allocations: 30.56 kB / 0.5746 GB, free: 2.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.69, allocations: 4 kB / 0.5746 GB, free: 2.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002567/0.6903, allocations: 81.5 kB / 0.5747 GB, free: 2.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.6904, allocations: 51.41 kB / 0.5747 GB, free: 2.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.6906, allocations: 225.1 kB / 0.5749 GB, free: 2.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.6907, allocations: 25.7 kB / 0.575 GB, free: 2.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.6908, allocations: 180.6 kB / 0.5751 GB, free: 2.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.6908, allocations: 11.81 kB / 0.5751 GB, free: 2.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.6908, allocations: 3.688 kB / 0.5752 GB, free: 2.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.6909, allocations: 336 kB / 0.5755 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.691, allocations: 22.88 kB / 0.5755 GB, free: 1.836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.6911, allocations: 115.1 kB / 0.5756 GB, free: 1.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.6912, allocations: 42.36 kB / 0.5756 GB, free: 1.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6912, allocations: 4 kB / 0.5756 GB, free: 1.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002722/0.6915, allocations: 179.6 kB / 0.5758 GB, free: 1.488 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.6915, allocations: 8 kB / 0.5758 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.6916, allocations: 12 kB / 0.5758 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.6916, allocations: 5.75 kB / 0.5758 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.6918, allocations: 35.92 kB / 0.5759 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.6918, allocations: 7.984 kB / 0.5759 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.6919, allocations: 31.69 kB / 0.5759 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.6919, allocations: 15.52 kB / 0.5759 GB, free: 1.379 MB / 394.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 6.984e-05/0.692, allocations: 115.9 kB / 0.576 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.6921, allocations: 15.81 kB / 0.5761 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.6924, allocations: 128.4 kB / 0.5762 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6924, allocations: 0 / 0.5762 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6924, allocations: 3.938 kB / 0.5762 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6924, allocations: 0 / 0.5762 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.6926, allocations: 226.1 kB / 0.5764 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.6927, allocations: 8 kB / 0.5764 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.6927, allocations: 11.98 kB / 0.5764 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6927, allocations: 0 / 0.5764 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.6928, allocations: 11.25 kB / 0.5764 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6928, allocations: 0 / 0.5764 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6928, allocations: 144 / 0.5764 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.693, allocations: 188.9 kB / 0.5766 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.693, allocations: 92.91 kB / 0.5767 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.693, allocations: 4 kB / 0.5767 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.6932, allocations: 7.984 kB / 0.5767 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.6932, allocations: 4 kB / 0.5767 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.6933, allocations: 4 kB / 0.5767 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.6934, allocations: 173.6 kB / 0.5769 GB, free: 396 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6934, allocations: 0 / 0.5769 GB, free: 396 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.6939, allocations: 86.67 kB / 0.577 GB, free: 316 kB / 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 (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.0007898/0.6947, allocations: 0.8168 MB / 0.5778 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.695, allocations: 141.3 kB / 0.5779 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.695, allocations: 0 / 0.5779 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.6952, allocations: 94.64 kB / 0.578 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.6955, allocations: 28.39 kB / 0.578 GB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.6963, allocations: 280.6 kB / 0.5783 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.6966, allocations: 0.7324 MB / 0.579 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.6967, allocations: 17.55 kB / 0.579 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.6968, allocations: 55.92 kB / 0.5791 GB, free: 14.13 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6968, allocations: 0 / 0.5791 GB, free: 14.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.719, allocations: 6.781 MB / 0.5857 GB, free: 7.461 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.7193, allocations: 226.2 kB / 0.5859 GB, free: 7.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.85, allocations: 0 / 0.5859 GB, free: 7.23 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_flatTube_res.mat does not exist to compare? outputFormat=mat