Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_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.CounterCurrentHeatExchangerEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_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.001285/0.001285, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.718/1.718, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.001123/0.001123, allocations: 98.17 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.577/1.577, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.519e-05, allocations: 0 / 0.5296 GB, free: 456 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7938, allocations: 82.84 MB / 0.6105 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.9965, allocations: 124.9 MB / 0.7325 GB, free: 52 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.9969, allocations: 51.97 kB / 0.7325 GB, free: 0 / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.8531/1.85, allocations: 21.23 MB / 0.7532 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.473e-06/1.85, allocations: 0.9062 kB / 0.7532 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 3.995e-05/1.85, allocations: 21.81 kB / 0.7533 GB, free: 129.4 MB / 0.5421 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.008246/1.858, allocations: 2.843 MB / 0.756 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.858, allocations: 9.969 kB / 0.756 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006687/1.859, allocations: 123.4 kB / 0.7562 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/1.861, allocations: 0.6616 MB / 0.7568 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/1.861, allocations: 36.28 kB / 0.7568 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/1.862, allocations: 143.7 kB / 0.757 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00205/1.864, allocations: 1.478 MB / 0.7584 GB, free: 128 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/1.866, allocations: 1.575 MB / 0.76 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/1.866, allocations: 0 / 0.76 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/1.866, allocations: 0 / 0.76 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/1.866, allocations: 32.16 kB / 0.76 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/1.877, allocations: 8.557 MB / 0.7683 GB, free: 121.5 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/1.879, allocations: 1.972 MB / 0.7703 GB, free: 120.5 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.88, allocations: 1.278 MB / 0.7715 GB, free: 119.3 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/1.88, allocations: 22 kB / 0.7715 GB, free: 119.3 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/1.88, allocations: 52.56 kB / 0.7716 GB, free: 119.2 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=199): time 3.437e-06/1.88, allocations: 0 / 0.7716 GB, free: 119.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=199): time 0.003132/1.884, allocations: 2.221 MB / 0.7738 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/1.884, allocations: 73.41 kB / 0.7738 GB, free: 117.2 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/1.884, allocations: 144.3 kB / 0.774 GB, free: 117.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001767/1.884, allocations: 29.7 kB / 0.774 GB, free: 117.1 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/1.884, allocations: 203.9 kB / 0.7742 GB, free: 116.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/1.885, allocations: 0.7927 MB / 0.775 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.885, allocations: 0 / 0.775 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/1.885, allocations: 419.6 kB / 0.7754 GB, free: 115.8 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/1.886, allocations: 1.083 MB / 0.7764 GB, free: 114.8 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.888, allocations: 1.241 MB / 0.7776 GB, free: 113.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/1.889, allocations: 1.261 MB / 0.7789 GB, free: 112.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.889, allocations: 3.953 kB / 0.7789 GB, free: 112.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003433/1.893, allocations: 2.699 MB / 0.7815 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.893, allocations: 4 kB / 0.7815 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.893, allocations: 11.92 kB / 0.7815 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/1.893, allocations: 8 kB / 0.7815 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/1.897, allocations: 1.077 MB / 0.7826 GB, free: 109 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.897, allocations: 12 kB / 0.7826 GB, free: 109 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.899, allocations: 202 kB / 0.7828 GB, free: 108.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/1.899, allocations: 78.67 kB / 0.7829 GB, free: 108.8 MB / 0.5421 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 () * 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.000448/1.899, allocations: 132.5 kB / 0.783 GB, free: 108.6 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003091/1.902, allocations: 2.219 MB / 0.7852 GB, free: 106.4 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/1.903, allocations: 71.25 kB / 0.7852 GB, free: 106.3 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/1.904, allocations: 271.5 kB / 0.7855 GB, free: 106 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.904, allocations: 20 kB / 0.7855 GB, free: 106 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/1.904, allocations: 0 / 0.7855 GB, free: 106 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.904, allocations: 7.969 kB / 0.7855 GB, free: 106 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/1.905, allocations: 1.352 MB / 0.7868 GB, free: 104.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.905, allocations: 4 kB / 0.7868 GB, free: 104.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005309/1.911, allocations: 1.077 MB / 0.7879 GB, free: 103.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.437e-05/1.911, allocations: 8 kB / 0.7879 GB, free: 103.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/1.911, allocations: 67.91 kB / 0.788 GB, free: 103.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-06/1.911, allocations: 8 kB / 0.788 GB, free: 103.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.911, allocations: 3.062 kB / 0.788 GB, free: 103.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/1.915, allocations: 3.702 MB / 0.7916 GB, free: 99.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/1.916, allocations: 163.8 kB / 0.7917 GB, free: 99.62 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/1.916, allocations: 51.94 kB / 0.7918 GB, free: 99.57 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/1.917, allocations: 107.5 kB / 0.7919 GB, free: 99.46 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.918, allocations: 109.8 kB / 0.792 GB, free: 99.35 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.918, allocations: 55.98 kB / 0.792 GB, free: 99.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.935e-05/1.918, allocations: 95.2 kB / 0.7921 GB, free: 99.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2e-07/1.918, allocations: 8 kB / 0.7921 GB, free: 99.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001055/1.919, allocations: 0.5348 MB / 0.7927 GB, free: 98.66 MB / 0.5421 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 () * 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.004555/1.923, allocations: 4.322 MB / 0.7969 GB, free: 94.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003074/1.927, allocations: 2.561 MB / 0.7994 GB, free: 91.75 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.927, allocations: 0 / 0.7994 GB, free: 91.75 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/1.928, allocations: 1.268 MB / 0.8006 GB, free: 90.48 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.929, allocations: 202.4 kB / 0.8008 GB, free: 90.28 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/1.941, allocations: 11.11 MB / 0.8117 GB, free: 79.14 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/1.942, allocations: 1.166 MB / 0.8128 GB, free: 77.95 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.00214/1.944, allocations: 0.8012 MB / 0.8136 GB, free: 77.14 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008875/1.945, allocations: 392.9 kB / 0.814 GB, free: 76.76 MB / 0.5421 GB Notification: Performance of SimCode: time 6.91e-07/1.945, allocations: 3.938 kB / 0.814 GB, free: 76.75 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4696/2.415, allocations: 30.28 MB / 0.8435 GB, free: 46.66 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/2.415, allocations: 201.4 kB / 0.8437 GB, free: 46.39 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.936/5.351, allocations: 0 / 0.8437 GB, free: 46.39 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40_res.mat does not exist to compare? outputFormat=mat