Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 97.28 kB / 16.3 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009272/0.0009273, allocations: 184 kB / 17.19 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 241.1 MB, free: 280 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8478/0.8478, allocations: 120.5 MB / 412.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002807, allocations: 8 kB / 0.4943 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4188, allocations: 82.83 MB / 0.5752 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.000463/0.4193, allocations: 242.4 kB / 0.5754 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001162/0.4194, allocations: 28.44 kB / 0.5754 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.4195, allocations: 3.938 kB / 0.5754 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.4195, allocations: 1.281 kB / 0.5754 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 1.395e-05/0.4195, allocations: 0 / 0.5754 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.4197, allocations: 10.39 kB / 0.5754 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.4202, allocations: 0.6454 MB / 0.5761 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.4202, allocations: 3.875 kB / 0.5761 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.4206, allocations: 416.7 kB / 0.5765 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.4211, allocations: 0.5068 MB / 0.5769 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.4212, allocations: 44 kB / 0.577 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.4213, allocations: 44 kB / 0.577 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.4215, allocations: 236.4 kB / 0.5773 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.4216, allocations: 81.12 kB / 0.5773 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.4219, allocations: 378.7 kB / 0.5777 GB, free: 40.37 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.4219, allocations: 0 / 0.5777 GB, free: 40.37 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4219, allocations: 0 / 0.5777 GB, free: 40.37 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.4219, allocations: 0 / 0.5777 GB, free: 40.37 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.005158/0.4271, allocations: 1.683 MB / 0.5793 GB, free: 39.34 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4271, allocations: 8.844 kB / 0.5793 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.4273, allocations: 82.08 kB / 0.5794 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.4274, allocations: 42.58 kB / 0.5795 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.428, allocations: 336 kB / 0.5798 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.428, allocations: 33.69 kB / 0.5798 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.4281, allocations: 82.08 kB / 0.5799 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.4293, allocations: 0.8672 MB / 0.5807 GB, free: 38.4 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4293, allocations: 4 kB / 0.5807 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/0.4294, allocations: 19.78 kB / 0.5808 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4294, allocations: 14.05 kB / 0.5808 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.4302, allocations: 0.5407 MB / 0.5813 GB, free: 38.14 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.4321, allocations: 1.116 MB / 0.5824 GB, free: 37.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.4345, allocations: 1.838 MB / 0.5842 GB, free: 36.54 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.991e-05/0.4346, allocations: 11.12 kB / 0.5842 GB, free: 36.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.4347, allocations: 43.34 kB / 0.5842 GB, free: 36.5 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 2.344e-06/0.4347, allocations: 0 / 0.5842 GB, free: 36.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.002506/0.4372, allocations: 1.911 MB / 0.5861 GB, free: 34.98 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.4372, allocations: 60.41 kB / 0.5862 GB, free: 34.91 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.9e-05/0.4373, allocations: 97.86 kB / 0.5863 GB, free: 34.8 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.4374, allocations: 45.7 kB / 0.5863 GB, free: 34.75 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.4374, allocations: 90.12 kB / 0.5864 GB, free: 34.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.4376, allocations: 473.3 kB / 0.5868 GB, free: 34.2 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.4377, allocations: 28 kB / 0.5869 GB, free: 34.17 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.4378, allocations: 378.8 kB / 0.5872 GB, free: 33.79 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000966/0.4388, allocations: 0.8353 MB / 0.588 GB, free: 32.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.4398, allocations: 0.9521 MB / 0.589 GB, free: 31.99 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.4408, allocations: 0.9818 MB / 0.5899 GB, free: 31.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4409, allocations: 0 / 0.5899 GB, free: 31.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.00238/0.4432, allocations: 2.097 MB / 0.592 GB, free: 28.91 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4433, allocations: 4 kB / 0.592 GB, free: 28.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4433, allocations: 0 / 0.592 GB, free: 28.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4433, allocations: 11.95 kB / 0.592 GB, free: 28.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.445, allocations: 407.5 kB / 0.5924 GB, free: 28.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.4451, allocations: 4 kB / 0.5924 GB, free: 28.49 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/0.446, allocations: 210.6 kB / 0.5926 GB, free: 28.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.4461, allocations: 44 kB / 0.5926 GB, free: 28.24 MB / 462.3 MB 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 (201): * Single equations (assignments): 201 * 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.0002778/0.4463, allocations: 213.5 kB / 0.5928 GB, free: 28.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.4465, allocations: 35.62 kB / 0.5929 GB, free: 27.99 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.4468, allocations: 179.6 kB / 0.593 GB, free: 27.81 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4468, allocations: 12 kB / 0.5931 GB, free: 27.8 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.4468, allocations: 3.953 kB / 0.5931 GB, free: 27.8 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4468, allocations: 11.92 kB / 0.5931 GB, free: 27.79 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.4479, allocations: 0.7941 MB / 0.5938 GB, free: 26.94 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4479, allocations: 0 / 0.5938 GB, free: 26.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/0.4498, allocations: 287.6 kB / 0.5941 GB, free: 26.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.4498, allocations: 4 kB / 0.5941 GB, free: 26.66 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.4499, allocations: 63.92 kB / 0.5942 GB, free: 26.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4499, allocations: 0 / 0.5942 GB, free: 26.59 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4499, allocations: 0 / 0.5942 GB, free: 26.59 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.4522, allocations: 1.913 MB / 0.5961 GB, free: 24.66 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.4527, allocations: 252.3 kB / 0.5963 GB, free: 24.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.4528, allocations: 59.94 kB / 0.5964 GB, free: 24.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009181/0.4537, allocations: 107.9 kB / 0.5965 GB, free: 24.23 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.4539, allocations: 60.91 kB / 0.5965 GB, free: 24.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.454, allocations: 31.98 kB / 0.5965 GB, free: 24.14 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.308e-05/0.454, allocations: 95.39 kB / 0.5966 GB, free: 24.05 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.454, allocations: 0 / 0.5966 GB, free: 24.05 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000555/0.4546, allocations: 264 kB / 0.5969 GB, free: 23.79 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (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]) * 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 (100): * Single equations (assignments): 100 * 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.002388/0.457, allocations: 2.527 MB / 0.5994 GB, free: 21.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.459, allocations: 1.673 MB / 0.601 GB, free: 19.56 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.459, allocations: 7.938 kB / 0.601 GB, free: 19.55 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.4598, allocations: 0.6731 MB / 0.6017 GB, free: 18.88 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.46, allocations: 16 kB / 0.6017 GB, free: 18.87 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0056/0.4656, allocations: 7.11 MB / 0.6086 GB, free: 11.68 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.4659, allocations: 0.9264 MB / 0.6095 GB, free: 10.72 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001362/0.4673, allocations: 0.5128 MB / 0.61 GB, free: 10.2 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/0.4677, allocations: 179.4 kB / 0.6102 GB, free: 10.03 MB / 462.3 MB Notification: Performance of SimCode: time 6.91e-07/0.4677, allocations: 4 kB / 0.6102 GB, free: 10.02 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.492, allocations: 15.79 MB / 0.6256 GB, free: 10.42 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.4923, allocations: 222.1 kB / 0.6258 GB, free: 10.18 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.23, allocations: 0 / 0.6258 GB, free: 10.18 MB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat does not exist to compare? outputFormat=mat