Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_40",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.001038/0.001038, allocations: 181.9 kB / 16.39 MB, free: 5.762 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.198/1.198, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008369/0.0008368, allocations: 98.7 kB / 291.5 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.744/0.744, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.00026, allocations: 8 kB / 0.5447 GB, free: 41.12 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 82.86 MB / 0.6256 GB, free: 7.816 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.626/0.7488, allocations: 125.6 MB / 0.7482 GB, free: 8.234 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001153/0.749, allocations: 58.47 kB / 0.7483 GB, free: 8.207 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.06338/0.8124, allocations: 20.34 MB / 0.7682 GB, free: 5.348 MB / 0.5263 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8124, allocations: 0 / 0.7682 GB, free: 5.348 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.607e-05/0.8125, allocations: 28 kB / 0.7682 GB, free: 5.32 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.006693/0.8192, allocations: 2.864 MB / 0.771 GB, free: 2.465 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.8192, allocations: 8.031 kB / 0.771 GB, free: 2.457 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.8195, allocations: 178.4 kB / 0.7712 GB, free: 2.34 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.8197, allocations: 115 kB / 0.7713 GB, free: 2.227 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.8217, allocations: 0.6596 MB / 0.7719 GB, free: 1.527 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.8218, allocations: 111.8 kB / 0.772 GB, free: 1.465 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.8221, allocations: 201.2 kB / 0.7722 GB, free: 1.328 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.8245, allocations: 1.744 MB / 0.7739 GB, free: 15.98 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.8246, allocations: 4 kB / 0.7739 GB, free: 15.97 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.8247, allocations: 42.25 kB / 0.774 GB, free: 15.96 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.8248, allocations: 39.88 kB / 0.774 GB, free: 15.93 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.8269, allocations: 1.57 MB / 0.7755 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.8381, allocations: 8.779 MB / 0.7841 GB, free: 5.57 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.8407, allocations: 2.072 MB / 0.7861 GB, free: 4.191 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.8408, allocations: 25.94 kB / 0.7862 GB, free: 4.168 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.8409, allocations: 59.73 kB / 0.7862 GB, free: 4.113 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=199): time 2.975e-06/0.8409, allocations: 0 / 0.7862 GB, free: 4.113 MB / 0.5419 GB Notification: Performance of matching and sorting (n=199): time 0.005194/0.8461, allocations: 3.375 MB / 0.7895 GB, free: 1.625 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.8461, allocations: 73.41 kB / 0.7896 GB, free: 1.543 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.8463, allocations: 148.9 kB / 0.7897 GB, free: 1.41 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.8464, allocations: 76.39 kB / 0.7898 GB, free: 1.367 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.8466, allocations: 221.8 kB / 0.79 GB, free: 1.176 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/0.8471, allocations: 0.8156 MB / 0.7908 GB, free: 472 kB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.8472, allocations: 46.69 kB / 0.7908 GB, free: 464 kB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8474, allocations: 422.4 kB / 0.7912 GB, free: 76 kB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.849, allocations: 1.163 MB / 0.7924 GB, free: 15.23 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.8508, allocations: 1.338 MB / 0.7937 GB, free: 14.24 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.8526, allocations: 1.341 MB / 0.795 GB, free: 13.32 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8526, allocations: 0 / 0.795 GB, free: 13.32 MB / 0.5575 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004128/0.8567, allocations: 2.957 MB / 0.7979 GB, free: 11.14 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.8568, allocations: 8 kB / 0.7979 GB, free: 11.13 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8568, allocations: 4.812 kB / 0.7979 GB, free: 11.12 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.8568, allocations: 12 kB / 0.7979 GB, free: 11.11 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/0.8614, allocations: 1.073 MB / 0.799 GB, free: 10.06 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/0.8614, allocations: 8 kB / 0.799 GB, free: 10.05 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.863, allocations: 248.8 kB / 0.7992 GB, free: 9.844 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.8632, allocations: 75.12 kB / 0.7993 GB, free: 9.793 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0004966/0.8637, allocations: 342.4 kB / 0.7996 GB, free: 9.512 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.8639, allocations: 75.16 kB / 0.7997 GB, free: 9.438 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/0.8647, allocations: 296.3 kB / 0.8 GB, free: 9.41 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.8647, allocations: 20.88 kB / 0.8 GB, free: 9.391 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.8647, allocations: 0 / 0.8 GB, free: 9.391 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.8648, allocations: 7.969 kB / 0.8 GB, free: 9.383 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.8666, allocations: 1.506 MB / 0.8015 GB, free: 8.117 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8666, allocations: 0 / 0.8015 GB, free: 8.117 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005705/0.8723, allocations: 1.08 MB / 0.8025 GB, free: 7.055 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.8723, allocations: 16 kB / 0.8025 GB, free: 7.039 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/0.8725, allocations: 87.36 kB / 0.8026 GB, free: 6.98 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.8726, allocations: 4 kB / 0.8026 GB, free: 6.977 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8726, allocations: 0 / 0.8026 GB, free: 6.977 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005235/0.8778, allocations: 3.905 MB / 0.8064 GB, free: 4.145 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.878, allocations: 167.9 kB / 0.8066 GB, free: 3.961 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.8782, allocations: 78.5 kB / 0.8067 GB, free: 3.91 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.8798, allocations: 138.7 kB / 0.8068 GB, free: 3.797 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/0.8801, allocations: 113.5 kB / 0.8069 GB, free: 3.699 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.8803, allocations: 59.41 kB / 0.807 GB, free: 3.656 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 5.671e-05/0.8803, allocations: 102.4 kB / 0.8071 GB, free: 3.562 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8803, allocations: 0 / 0.8071 GB, free: 3.562 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.001084/0.8814, allocations: 0.618 MB / 0.8077 GB, free: 3.008 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TAtilde[10],TAtilde[11],TAtilde[12],TAtilde[13],TAtilde[14],TAtilde[15],TAtilde[16],TAtilde[17],TAtilde[18],TAtilde[19],TAtilde[20],TAtilde[21],TAtilde[22],TAtilde[23],TAtilde[24],TAtilde[25],TAtilde[26],TAtilde[27],TAtilde[28],TAtilde[29],TAtilde[30],TAtilde[31],TAtilde[32],TAtilde[33],TAtilde[34],TAtilde[35],TAtilde[36],TAtilde[37],TAtilde[38],TAtilde[39],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TBtilde[10],TBtilde[11],TBtilde[12],TBtilde[13],TBtilde[14],TBtilde[15],TBtilde[16],TBtilde[17],TBtilde[18],TBtilde[19],TBtilde[20],TBtilde[21],TBtilde[22],TBtilde[23],TBtilde[24],TBtilde[25],TBtilde[26],TBtilde[27],TBtilde[28],TBtilde[29],TBtilde[30],TBtilde[31],TBtilde[32],TBtilde[33],TBtilde[34],TBtilde[35],TBtilde[36],TBtilde[37],TBtilde[38],TBtilde[39],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.005577/0.887, allocations: 4.558 MB / 0.8121 GB, free: 15.54 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.003665/0.8907, allocations: 2.732 MB / 0.8148 GB, free: 13.52 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8907, allocations: 0 / 0.8148 GB, free: 13.52 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.8924, allocations: 1.346 MB / 0.8161 GB, free: 12.57 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.8933, allocations: 250.7 kB / 0.8163 GB, free: 12.38 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/0.9158, allocations: 19.29 MB / 0.8352 GB, free: 11.47 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.9165, allocations: 1.173 MB / 0.8363 GB, free: 10.27 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.002215/0.9187, allocations: 0.8051 MB / 0.8371 GB, free: 9.465 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/0.9196, allocations: 386 kB / 0.8375 GB, free: 9.344 MB / 0.5888 GB Notification: Performance of SimCode: time 4.789e-06/0.9196, allocations: 0 / 0.8375 GB, free: 9.344 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/0.9663, allocations: 31.46 MB / 0.8682 GB, free: 10.27 MB / 0.62 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/0.9666, allocations: 241.9 kB / 0.8684 GB, free: 10.02 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/3.776, allocations: 0 / 0.8684 GB, free: 10.02 MB / 0.62 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_40_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_40_res.mat does not exist to compare? outputFormat=mat