Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.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.Advection.ScaledExperiments.AdvectionReaction_N_200,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_200",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.001026/0.001026, allocations: 181.2 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.225/1.225, allocations: 223.2 MB / 240.3 MB, free: 10.18 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.000879/0.0008791, allocations: 95.78 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6984/0.6984, allocations: 120.5 MB / 463 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 8 kB / 0.5434 GB, free: 42.33 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 82.85 MB / 0.6243 GB, free: 9.145 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6394/0.7756, allocations: 125.1 MB / 0.7465 GB, free: 8.84 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.7758, allocations: 62.81 kB / 0.7466 GB, free: 8.809 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.07929/0.8551, allocations: 19.98 MB / 0.7661 GB, free: 6.332 MB / 0.5263 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8552, allocations: 0 / 0.7661 GB, free: 6.332 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 3.298e-05/0.8552, allocations: 15.19 kB / 0.7661 GB, free: 6.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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.008287/0.8635, allocations: 2.42 MB / 0.7685 GB, free: 3.887 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.8636, allocations: 8.031 kB / 0.7685 GB, free: 3.879 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004563/0.864, allocations: 137.3 kB / 0.7686 GB, free: 3.785 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.8644, allocations: 75.25 kB / 0.7687 GB, free: 3.711 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.8747, allocations: 2.48 MB / 0.7711 GB, free: 1.203 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.8748, allocations: 59.5 kB / 0.7712 GB, free: 1.168 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008619/0.8757, allocations: 175.1 kB / 0.7713 GB, free: 1.043 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.8789, allocations: 1.696 MB / 0.773 GB, free: 15.67 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.879, allocations: 0 / 0.773 GB, free: 15.67 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.8791, allocations: 26.56 kB / 0.773 GB, free: 15.66 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.8792, allocations: 23.95 kB / 0.773 GB, free: 15.64 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.881, allocations: 1.096 MB / 0.7741 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.8848, allocations: 1.72 MB / 0.7758 GB, free: 13.2 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005281/0.8901, allocations: 3.667 MB / 0.7794 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.8903, allocations: 29.92 kB / 0.7794 GB, free: 10.46 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.8904, allocations: 55.62 kB / 0.7795 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=200): time 3.697e-06/0.8904, allocations: 0 / 0.7795 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of matching and sorting (n=200): time 0.005935/0.8963, allocations: 3.772 MB / 0.7831 GB, free: 7.551 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.8964, allocations: 77.39 kB / 0.7832 GB, free: 7.461 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.8965, allocations: 100.8 kB / 0.7833 GB, free: 7.359 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.8967, allocations: 57.02 kB / 0.7834 GB, free: 7.32 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.8968, allocations: 83.3 kB / 0.7834 GB, free: 7.234 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007393/0.8975, allocations: 0.934 MB / 0.7844 GB, free: 6.434 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.8977, allocations: 62.06 kB / 0.7844 GB, free: 6.422 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.8979, allocations: 442.8 kB / 0.7848 GB, free: 6.031 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.9005, allocations: 1.672 MB / 0.7865 GB, free: 4.758 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.9031, allocations: 1.886 MB / 0.7883 GB, free: 3.312 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.9057, allocations: 1.948 MB / 0.7902 GB, free: 1.918 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.9058, allocations: 0 / 0.7902 GB, free: 1.918 MB / 0.5419 GB Notification: Performance of matching and sorting (n=401) (initialization): time 0.005887/0.9117, allocations: 4.13 MB / 0.7942 GB, free: 14.8 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.9117, allocations: 6.656 kB / 0.7942 GB, free: 14.79 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.9117, allocations: 0 / 0.7942 GB, free: 14.79 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.856e-05/0.9118, allocations: 19.95 kB / 0.7943 GB, free: 14.77 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.9156, allocations: 0.7905 MB / 0.795 GB, free: 14.01 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.933e-05/0.9157, allocations: 12 kB / 0.7951 GB, free: 14 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.9176, allocations: 403.7 kB / 0.7954 GB, free: 13.65 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.9178, allocations: 87.25 kB / 0.7955 GB, free: 13.59 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 (401): * Single equations (assignments): 401 * 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.0006502/0.9185, allocations: 326.2 kB / 0.7958 GB, free: 13.33 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.9188, allocations: 79.16 kB / 0.7959 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009623/0.9197, allocations: 354.1 kB / 0.7962 GB, free: 13.24 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.9198, allocations: 20 kB / 0.7963 GB, free: 13.22 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.9198, allocations: 3.953 kB / 0.7963 GB, free: 13.21 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.9198, allocations: 7.969 kB / 0.7963 GB, free: 13.21 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.9222, allocations: 1.412 MB / 0.7977 GB, free: 11.91 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.9222, allocations: 4 kB / 0.7977 GB, free: 11.91 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00434/0.9266, allocations: 0.557 MB / 0.7982 GB, free: 11.38 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.29e-05/0.9266, allocations: 8 kB / 0.7982 GB, free: 11.37 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003336/0.9269, allocations: 126.8 kB / 0.7983 GB, free: 11.27 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.927, allocations: 8 kB / 0.7983 GB, free: 11.26 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.927, allocations: 0 / 0.7983 GB, free: 11.26 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00555/0.9325, allocations: 3.631 MB / 0.8019 GB, free: 8.449 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.9337, allocations: 415.5 kB / 0.8023 GB, free: 8.023 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/0.934, allocations: 115 kB / 0.8024 GB, free: 7.938 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.9359, allocations: 226.9 kB / 0.8026 GB, free: 7.738 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003485/0.9363, allocations: 125.4 kB / 0.8027 GB, free: 7.633 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/0.9365, allocations: 59.22 kB / 0.8028 GB, free: 7.586 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.9366, allocations: 87.16 kB / 0.8029 GB, free: 7.5 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9366, allocations: 0 / 0.8029 GB, free: 7.5 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.001179/0.9377, allocations: 0.5245 MB / 0.8034 GB, free: 7.051 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 200 (u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15],u[16],u[17],u[18],u[19],u[20],u[21],u[22],u[23],u[24],u[25],u[26],u[27],u[28],u[29],u[30],u[31],u[32],u[33],u[34],u[35],u[36],u[37],u[38],u[39],u[40],u[41],u[42],u[43],u[44],u[45],u[46],u[47],u[48],u[49],u[50],u[51],u[52],u[53],u[54],u[55],u[56],u[57],u[58],u[59],u[60],u[61],u[62],u[63],u[64],u[65],u[66],u[67],u[68],u[69],u[70],u[71],u[72],u[73],u[74],u[75],u[76],u[77],u[78],u[79],u[80],u[81],u[82],u[83],u[84],u[85],u[86],u[87],u[88],u[89],u[90],u[91],u[92],u[93],u[94],u[95],u[96],u[97],u[98],u[99],u[100],u[101],u[102],u[103],u[104],u[105],u[106],u[107],u[108],u[109],u[110],u[111],u[112],u[113],u[114],u[115],u[116],u[117],u[118],u[119],u[120],u[121],u[122],u[123],u[124],u[125],u[126],u[127],u[128],u[129],u[130],u[131],u[132],u[133],u[134],u[135],u[136],u[137],u[138],u[139],u[140],u[141],u[142],u[143],u[144],u[145],u[146],u[147],u[148],u[149],u[150],u[151],u[152],u[153],u[154],u[155],u[156],u[157],u[158],u[159],u[160],u[161],u[162],u[163],u[164],u[165],u[166],u[167],u[168],u[169],u[170],u[171],u[172],u[173],u[174],u[175],u[176],u[177],u[178],u[179],u[180],u[181],u[182],u[183],u[184],u[185],u[186],u[187],u[188],u[189],u[190],u[191],u[192],u[193],u[194],u[195],u[196],u[197],u[198],u[199],u[200]) * 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 (200): * Single equations (assignments): 200 * 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.00587/0.9436, allocations: 4.333 MB / 0.8076 GB, free: 3.562 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.005046/0.9487, allocations: 3.335 MB / 0.8109 GB, free: 0.9648 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.9487, allocations: 0 / 0.8109 GB, free: 0.9648 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.9507, allocations: 1.361 MB / 0.8122 GB, free: 15.89 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.9511, allocations: 43.11 kB / 0.8122 GB, free: 15.88 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.9673, allocations: 14.44 MB / 0.8263 GB, free: 2.977 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.9681, allocations: 1.175 MB / 0.8275 GB, free: 1.785 MB / 0.5732 GB Notification: Performance of simCode: alias equations: time 0.00333/0.9715, allocations: 1.017 MB / 0.8285 GB, free: 0.7617 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.9726, allocations: 386.9 kB / 0.8288 GB, free: 0.6367 MB / 0.5732 GB Notification: Performance of SimCode: time 1.322e-06/0.9726, allocations: 0 / 0.8288 GB, free: 0.6367 MB / 0.5732 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/1.024, allocations: 30.97 MB / 0.8591 GB, free: 1.848 MB / 0.6044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.024, allocations: 215.6 kB / 0.8593 GB, free: 1.602 MB / 0.6044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.57, allocations: 3.094 kB / 0.8593 GB, free: 1.602 MB / 0.6044 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_200_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_200.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200_res.mat does not exist to compare? outputFormat=mat